Comment 3 for bug 570343

Revision history for this message
Anton Norup Sørensen (anton-norup) wrote :

While I am happily using pyephem on a 32bit ubuntu system, I cannot install it on 64 bit:
Linux version 2.6.32-26-generic
Ubuntu 10.04 LTS
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2

sudo easy_install pyephem
Searching for pyephem
Reading http://pypi.python.org/simple/pyephem/
Reading http://rhodesmill.org/pyephem/
Best match: pyephem 3.7.3.4
Downloading http://pypi.python.org/packages/source/p/pyephem/pyephem-3.7.3.4.tar.gz
Processing pyephem-3.7.3.4.tar.gz
Running pyephem-3.7.3.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-mkgjwd/pyephem-3.7.3.4/egg-dist-tmp-B1T9R_
Then a LOT of errors races over the screen - my xterm buffer cannot hold it all. Here is the top and bottom of the buffered content:
extensions/_libastro.c:1046: error: expected ‘)’ before ‘*’ token
extensions/_libastro.c:1053: error: expected declaration specifiers or ‘...’ before ‘PyObject’
extensions/_libastro.c:1053: error: expected declaration specifiers or ‘...’ before ‘PyObject’
extensions/_libastro.c: In function ‘Planet_setup’:
<lots more>
extensions/_libastro.c:2825: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extensions/_libastro.c:2892: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘libastro_methods’
extensions/_libastro.c:2952: warning: return type defaults to ‘int’
extensions/_libastro.c: In function ‘DL_EXPORT’:
extensions/_libastro.c:2952: error: expected declaration specifiers before ‘init_libastro’
extensions/_libastro.c:3041: error: expected ‘{’ at end of input
error: Setup script exited with error: command 'gcc' failed with exit status 1

I hope you can help, thanks, Anton