building Python on solaris
Thomas Heller
theller at python.net
Thu Oct 21 07:18:54 EDT 2004
I'm trying to build Python on the sourceforge compile farm's solaris
platform. ./configure fails with this error message:
x86-solaris1:~/python/dist/src$ ./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.
And config.log has this:
configure:1804: checking whether the C++ compiler works
configure:1810: ./a.out
ld.so.1: ./a.out: fatal: libstdc++.so.5: open failed: No such file or directory
./configure: line 1: 29455 Killed ./$ac_file
configure:1813: $? = 137
configure:1822: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
So, it seems a c++ library is missing. I assume the C++ compiler isn't
really needed to build Python - can I somehow run configure so that this
test is skipped?
Thanks,
Thomas
More information about the Python-list
mailing list