Re: Problem building 64-bit python 2.6.2 on Solaris 10

2009-06-02 Thread John Center
Hi Martin, I was able to compile ctypes with gcc4sparc without many changes to the CFLAGS, etc. I had another weird error, but upgrading to the latest gcc4sparc fixed it. One thing I'm not clear about is how extensions are built. I noticed that my CFLAGS are not being passed to gcc when buildin

Re: Problem building 64-bit python 2.6.2 on Solaris 10

2009-06-01 Thread John Center
On May 29, 7:13 pm, "Martin v. Löwis" wrote: > > Ah, too much text - I was confused by you reporting two issues in a > single email message. That has exhausted my capacity for quick message > scanning. > Sorry about that. I have a tendency to over document... > So this is a ctypes problem. You'l

Re: Problem building 64-bit python 2.6.2 on Solaris 10

2009-05-29 Thread John Center
On May 28, 6:03 pm, "Martin v. Löwis" wrote: > > I think the problem is it should be built with v9.S for 64-bit, not > > v8.S.  Is that correct?  If so, how do I get it to use the right one? > > The Solaris dynamic loader can't find it. Set LD_LIBRARY_PATH or > LD_RUN_PATH appropriately, or use cr

Problem building 64-bit python 2.6.2 on Solaris 10

2009-05-28 Thread John Center
Hi, I'm trying to build python 2.6.2 on Solaris 10 (SPARC 64), using Sun Studio 12, but I'm having a few problems getting a clean build. The python configure options are: with_gcc=no with_universal_archs=64-bit with_cxx_main="CC -m64" The first problem I'm having is _ssl.so not building: cc -m