On Oct 12, 2006, at 4:42 PM, Martijn de Munnik wrote:

Hi,

I want to compile python on my solaris 10 system (amd 64 bit).

Zoals eerder gezegd spreken we hier nederlands. Cross-posting wordt trouwens i.h.a. als onbeleefd gezien, zeker als de twee lijsten een heel ander publiek aanspreken.

Probeer het eens met --without-gcc tussen de argumenten voor configure, gezien de foutmeldingen hieronder lijkt het alsof je gcc en sun's compiler door elkaar heen gebruikt.

Ronald

P.S. Stuur je bewust twee keer hetzelfde mailtje (vorige d.d. 12 oktober) of is hier iets raars aan de hand?


I did the following:

./configure --prefix=/opt/64/python
make

which resulted in this error:
"Include/pyport.h", line 730: #error: "LONG_BIT definition appears
wrong for platform (bad gcc/glibc config?)."

so I edited the file and removed the error line and did a configure
and make again after a make distclean.

after a new make I get this error complaining about 32 and 64 bit.

ld: fatal: file Parser/acceler.o: wrong ELF class: ELFCLASS32

when I look to the cc statements none of my CFLAGS are passed while
these are in my environment;

CC=cc
CFLAGS=-xO3 -mt -fsimple=1 -ftrap=%none -nofstore -xbuiltin=%all -
xlibmil -xlibmopt -xtarget=opteron -xarch=amd64 -xregs=no%frameptr
CXX=CC
CXXFLAGS=-xO3 -mt -fsimple=1 -ftrap=%none -nofstore -xbuiltin=%all -
xlibmil -xlibmopt -xtarget=opteron -xarch=amd64 -xregs=no%frameptr
LDFLAGS=-xtarget=opteron -xarch=amd64


anybody succesfully compiled python on solaris?

thanks,
martijn
_______________________________________________
Python-nl mailing list
Python-nl@python.org
http://mail.python.org/mailman/listinfo/python-nl

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Python-nl mailing list
Python-nl@python.org
http://mail.python.org/mailman/listinfo/python-nl

Antwoord per e-mail aan