468,132 Members | 1,515 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,132 developers. It's quick & easy.

building Python on solaris

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
Jul 18 '05 #1
2 1596
Thomas Heller wrote:
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?


Perhaps the --without-cxx configure option will work for you? I build on
Solaris with the native Sun Pro C compiler so I can't be sure.

Cheers,
Trent

--
Trent Mick
tr****@activestate.com
Jul 18 '05 #2
Trent Mick <tr****@ActiveState.com> writes:
Thomas Heller wrote:
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?


Perhaps the --without-cxx configure option will work for you? I build
on Solaris with the native Sun Pro C compiler so I can't be sure.


Thanks, that worked.

Thomas
Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Dave Harrison | last post: by
1 post views Thread by Mark Nelson | last post: by
1 post views Thread by Ed | last post: by
4 posts views Thread by Martijn de Munnik | last post: by
15 posts views Thread by kyosohma | last post: by
27 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.