Anyone have python 3.1.1 installed on Solaris 10 ? (sparc or x86)

D

Dave Crouse

Anyone have python 3.1.1 installed on Solaris 10 ? (sparc or x86)

I've tried several times on sparc, I keep getting:

gcc -lintl -o python \
Modules/python.o \
libpython3.1.a -lsocket -lnsl -lintl -lrt -ldl -lm
Undefined first referenced
symbol in file
libintl_bind_textdomain_codeset libpython3.1.a(_localemodule.o)
libintl_gettext libpython3.1.a(_localemodule.o)
libintl_textdomain libpython3.1.a(_localemodule.o)
libintl_dcgettext libpython3.1.a(_localemodule.o)
libintl_bindtextdomain libpython3.1.a(_localemodule.o)
libintl_dgettext libpython3.1.a(_localemodule.o)
ld: fatal: Symbol referencing errors. No output written to python
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `python'


Ideas ? (I'm not a c programmer....so bear with me ;) )
 
R

ryles

Anyone have python 3.1.1 installed on Solaris 10 ? (sparc or x86)

I've tried several times  on sparc, I keep getting:

gcc -lintl -o python \
Modules/python.o \
libpython3.1.a -lsocket -lnsl -lintl -lrt -ldl -lm
Undefined first referenced
symbol in file
libintl_bind_textdomain_codeset libpython3.1.a(_localemodule.o)
libintl_gettext libpython3.1.a(_localemodule.o)
libintl_textdomain libpython3.1.a(_localemodule.o)
libintl_dcgettext libpython3.1.a(_localemodule.o)
libintl_bindtextdomain libpython3.1.a(_localemodule.o)
libintl_dgettext libpython3.1.a(_localemodule.o)
ld: fatal: Symbol referencing errors. No output written to python
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `python'

Ideas ? (I'm not a c programmer....so bear with me ;)  )

Have you tried building with cc instead of gcc? I've seen a few
botched gcc installations on Solaris (though maybe it's just my own
environment). Try adding --without-gcc to the ./configure line, and
before that export CC=cc (or however you set environment variables
with your own shell).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,981
Messages
2,570,188
Members
46,731
Latest member
MarcyGipso

Latest Threads

Top