Open GoogleCodeExporter opened 9 years ago
Trying to use python setup.py install in plfit: $ python setup.py install To create cplfit.so (for importing), call command: python setup.py build_ext --inplace If this fails, make sure c_numpy.pxd is in the path somewhere (e.g. this directory) /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.p y:267: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) running install running build running build_py running build_ext skipping 'cplfit.c' Cython extension (up-to-date) running install_lib running install_egg_info Removing /Users/adam/virtual-python/lib/python2.7/site-packages/plfit-1.0-py2.7.egg-info Writing /Users/adam/virtual-python/lib/python2.7/site-packages/plfit-1.0-py2.7.egg-info running install running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building extension "fplfit" sources f2py options: [] adding 'build/src.macosx-10.6-intel-2.7/fortranobject.c' to sources. adding 'build/src.macosx-10.6-intel-2.7' to include_dirs. build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize NAGFCompiler Could not locate executable f95 customize AbsoftFCompiler Could not locate executable f90 Could not locate executable f77 customize IBMFCompiler Could not locate executable xlf90 Could not locate executable xlf customize IntelFCompiler Could not locate executable ifort Could not locate executable ifc customize GnuFCompiler Found executable /usr/local/bin/g77 gnu: no Fortran 90 compiler found gnu: no Fortran 90 compiler found customize GnuFCompiler gnu: no Fortran 90 compiler found gnu: no Fortran 90 compiler found customize GnuFCompiler using build_ext building 'fplfit' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -O2 -DNDEBUG -g -O3 compile options: '-Ibuild/src.macosx-10.6-intel-2.7 -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ numpy/core/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c' gcc-4.2: build/src.macosx-10.6-intel-2.7/fortranobject.c gcc-4.2: build/src.macosx-10.6-intel-2.7/fplfitmodule.c compiling Fortran sources Fortran f77 compiler: /usr/local/bin/g77 -g -Wall -fno-second-underscore -fPIC -O3 -funroll-loops compile options: '-Ibuild/src.macosx-10.6-intel-2.7 -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ numpy/core/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c' g77:f77: fplfit.f /usr/local/bin/g77 -g -Wall -g -Wall -undefined dynamic_lookup -bundle build/temp.macosx-10.6-intel-2.7/build/src.macosx-10.6-intel-2.7/fplfitmodule.o build/temp.macosx-10.6-intel-2.7/build/src.macosx-10.6-intel-2.7/fortranobject.o build/temp.macosx-10.6-intel-2.7/fplfit.o -L/usr/local/lib/gcc/i686-apple-darwin8.8.1/3.4.0 -lg2c -lcc_dynamic -o build/lib.macosx-10.6-intel-2.7/fplfit.so ld: library not found for -lcc_dynamic collect2: ld returned 1 exit status ld: library not found for -lcc_dynamic collect2: ld returned 1 exit status error: Command "/usr/local/bin/g77 -g -Wall -g -Wall -undefined dynamic_lookup -bundle build/temp.macosx-10.6-intel-2.7/build/src.macosx-10.6-intel-2.7/fplfitmodule.o build/temp.macosx-10.6-intel-2.7/build/src.macosx-10.6-intel-2.7/fortranobject.o build/temp.macosx-10.6-intel-2.7/fplfit.o -L/usr/local/lib/gcc/i686-apple-darwin8.8.1/3.4.0 -lg2c -lcc_dynamic -o build/lib.macosx-10.6-intel-2.7/fplfit.so" failed with exit status 1
Original issue reported on code.google.com by keflavich on 20 Nov 2012 at 9:40
keflavich
Original issue reported on code.google.com by
keflavich
on 20 Nov 2012 at 9:40