My guess about Charlie's problem is that we are giving him the Python header files from our 64-bit Alpha machine. Perhaps the pyconfig.h you attached will cure this ill. --Eric On Oct 25, 2005, at 10:31 AM, Greg Couch wrote:
There are lots of special requirements for building chimera. A lot of the work we do is to get chimera running on a variety of platforms. For instance, the Linux chimera is built on Red Hat 7.1 using gcc 3.3.3. We build on an ancient version of Linux so chimera will run on most, if not all, of the current versions of Linux. I've attached the pyconfig.h file from our Linux build, which is probably different than the chimera/include/python2.4/pyconfig.h that you have. For compiler flags, we always pass in "-ansi -pthread -fPIC -malign-double" to gcc.
- Greg
On Tue, 25 Oct 2005, Charlie Moad wrote:
Date: Tue, 25 Oct 2005 11:55:55 -0500 From: Charlie Moad <cwmoad@gmail.com> To: Thomas Goddard <goddard@cgl.ucsf.edu> Cc: chimera-users@cgl.ucsf.edu Subject: Re: [Chimera-users] new version available
Thanks for posting these. Unfortunately I am hitting a weird error on any cpython module I try to build.
In file included from /usr/local/chimera/include/python2.4/Python.h:55, /usr/local/chimera/include/python2.4/pyport.h:612:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." error: command 'gcc' failed with exit status 1
There a lot of google hits referencing this error, but nothing recent or helpful. For some reason the architecture is incorrectly identified as 64-bit. I should note that the stock python does not generate this error. Are there any special requirements for build with chimera?
- Charlie
On 10/24/05, Thomas Goddard <goddard@cgl.ucsf.edu> wrote:
Hi Charlie,
You're right, the header files I pointed you to in the previous email only inluded Chimera headers, not Python headers. Sorry about that.
Here are the Chimera 2181 (same as 2180) headers for Chimera and Python.
https://www.cgl.ucsf.edu/cgi-bin/chimera-get.py?file=source/chimera -1.2181-headers.tar.gz
These will be shown on the Chimera source code page
http://www.cgl.ucsf.edu/chimera/sourcecode.html
when our web pages are updated tonight.
Tom
_______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users <pyconfig.h>_______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users