Can't compile

L

Layne Meier

I am having a problem trying to get Python 2.4.2 to compile on my Sun
Solaris 10 system. I've even tried adding CC=gcc to the configure file
or even tried running the command ./configure --with-gcc

This is what is happening:

MAILBOT:root:8:python-2.4.2:# ./configure
checking MACHDEP... sunos5
checking EXTRAPLATDIR...
checking for --without-gcc... no
checking for --with-cxx=<compiler>... no
checking for c++... c++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... configure: error: cannot run
C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.


Any and all help would be greatly appreciated.

Thank you,
Layne Meier
Atlanta, GA
 
?

=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

Layne said:
checking whether the C++ compiler works... configure: error: cannot run
C++ compiled programs. [...]
Any and all help would be greatly appreciated.

Just pass "--without-cxx" to configure.

Regards,
Martin
 
L

llothar

Here i jump into this thread.
With this option the configure script runs well.
But then i get a compile error in complexobject.

I'm using Solaris in 32-Bit Mode on my AthlonX2.
 
F

Fredrik Lundh

llothar said:
Here i jump into this thread.
With this option the configure script runs well.
But then i get a compile error in complexobject.

so what did the compiler say ?

have you tried googling for relevant portions of the error message ?

could this be the problem you're seeing ?

http://www.python.org/sf/1276509

(see the comments for a workaround)

</F>
 

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,772
Messages
2,569,588
Members
45,100
Latest member
MelodeeFaj
Top