Installation of PyEphem version 3.7.3.4 fails for Python 2.5.x under Mac OS X version 10.4.11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyEphem |
Invalid
|
Medium
|
Brandon Rhodes |
Bug Description
Attempting to install PyEphem-3.7.3.4 on a PPC Mac running Mac OS X 10.4.11 for Mac Python ver. 2.5.x. I ran the installer script as follows:
dsl092-
running install
running bdist_egg
running egg_info
writing src/pyephem.
writing top-level names to src/pyephem.
writing dependency_links to src/pyephem.
reading manifest file 'src/pyephem.
reading manifest template 'MANIFEST.in'
writing manifest file 'src/pyephem.
installing library code to build/bdist.
running install_lib
running build_py
running build_ext
building 'ephem._libastro' extension
creating build/temp.
creating build/temp.
creating build/temp.
creating build/temp.
gcc -arch ppc -arch i386 -isysroot /Developer/
gcc: unrecognized option '-no-cpp-precomp'
cc1: error: unrecognized command line option "-arch"
cc1: error: unrecognized command line option "-arch"
cc1: error: unrecognized command line option "-Wno-long-double"
error: command 'gcc' failed with exit status 1
dsl092-
I'm a bit at a loss about what to do with this bug! Those "gcc" options that Python's trying to use are not ones that I mention anywhere in my code, so it must be part of Python, distutils, or setuptools that's pulling them in instead. Are you using a Python you compiled yourself, or one that came from something like MacPorts?
It looks like your version of "gcc" might have been upgraded beyond the version that your Python was compiled with. Doing a Google search for those errors, I can see it has to do with old versions of Python that use those "--" options, but I can't tell exactly which component you need to switch out or upgrade for this to work.