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

ryles rylesny at gmail.com
Tue Oct 20 22:22:56 EDT 2009


On Oct 19, 1:00 pm, Dave Crouse <dc... at crouse.us> wrote:
> 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).



More information about the Python-list mailing list