Hello Cython folks, This message (see below) is the second report I've gotten of a very strange build problem with a cython module. I'm just using the standard 'from Cython.Distutils import build_ext', 'cmdclass = {"build_ext": build_ext}' incantation, but for some reason setup.py is attempting to just run gcc directly without calling cython first to generate the .c file.
You can see the setup.py here: https://code.google.com/p/scikits-sparse/source/browse/setup.py?name=scikits.sparse-0.1 Anyone have any ideas? -- Nathaniel On Tue, Jun 14, 2011 at 6:21 AM, Bastiaan van de Weerd <bastiaan.van-de-we...@arup.com> wrote: > Hello Nathaniel, > > I'm interested in using your SciKits.Sparse library, but the install fails on > me. The detailed logs are found in below in the email. From what I can > gather, the problem seems to revolve around a 'cholmod.c' file that doesn't > seem to exist where it is supposed to, which is the 'scikits/sparse/' > directory in the repository. However, browsing the code on the Google Code > page, it isn't there either. I'm not quite sure how to proceed here. > > Now, for what it's worth, I did separately install the entire SuiteSparse > package without any obvious errors. Would that change matters? > > I hope to hear from you, > > > Bastiaan Marinus van de Weerd > Structural Engineer > > Naritaweg 118 1043 CA Amsterdam the Netherlands > t +31 20 752 3191 m +31 6 3810 3503 > www.arup.com<http://www.arup.com> > > Logs: > running install > running bdist_egg > running egg_info > writing requirements to scikits.sparse.egg-info/requires.txt > writing scikits.sparse.egg-info/PKG-INFO > writing namespace_packages to scikits.sparse.egg-info/namespace_packages.txt > writing top-level names to scikits.sparse.egg-info/top_level.txt > writing dependency_links to scikits.sparse.egg-info/dependency_links.txt > reading manifest file 'scikits.sparse.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > no previously-included directories found matching 'doc/_build' > warning: no previously-included files matching '*~' found anywhere in > distribution > warning: no previously-included files matching '*.so' found anywhere in > distribution > warning: no previously-included files matching '*.pyc' found anywhere in > distribution > writing manifest file 'scikits.sparse.egg-info/SOURCES.txt' > installing library code to build/bdist.macosx-10.6-x86_64/egg > running install_lib > running build_py > running build_ext > building 'scikits.sparse.cholmod' extension > gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -g -O2 > -DNDEBUG -g -O3 > -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c > scikits/sparse/cholmod.c -o > build/temp.macosx-10.6-x86_64-2.7/scikits/sparse/cholmod.o > i686-apple-darwin10-gcc-4.2.1: scikits/sparse/cholmod.c: No such file or > directory > i686-apple-darwin10-gcc-4.2.1: no input files > error: command 'gcc-4.2' failed with exit status 1 > ____________________________________________________________ > Electronic mail messages entering and leaving Arup business > systems are scanned for acceptability of content and viruses > > _______________________________________________ Cython-dev mailing list Cython-dev@codespeak.net http://codespeak.net/mailman/listinfo/cython-dev