Joshua D. Drake
jd at commandprompt.com
Mon Dec 5 17:32:50 EST 2005
Hello, I have a FC2 machine that is giving me some grief. gcc 3.3.3 python 242 libtool-1.5.16 Apache 2.0.52 Configure command: ./configure --with-apxs=/usr/local/apache2/bin/apxs --with-python=/usr/local/python242/bin/python Make result: *** Warning: linker path does not have real file for library -lm. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libm and none of the candidates passed a file format test *** using a file magic. Last file checked: /usr/local/lib/libpython2.4.so.1.0 *** Warning: libtool could not satisfy all declared inter-library *** dependencies of module mod_python. Therefore, libtool will create *** a static module, that should work as long as the dlopening *** application is linked with the -dlopen flag. make[2]: Leaving directory `/usr/local/src/mod_python-3.1.4/src' make[2]: Entering directory `/usr/local/src/mod_python-3.1.4/dist' make[3]: Entering directory `/usr/local/src/mod_python-3.1.4/src' make[3]: `psp_parser.c' is up to date. make[3]: Leaving directory `/usr/local/src/mod_python-3.1.4/src' /usr/local/python242/bin/python setup.py build running build running build_py running build_ext make[2]: Leaving directory `/usr/local/src/mod_python-3.1.4/dist' Now su and make install (or, if you only want to perform a partial install, you can use make install_dso and make install_py_lib) Performing DSO installation. /usr/bin/install -c -d /usr/local/apache2/modules /usr/bin/install -c src/mod_python.so /usr/local/apache2/modules /usr/bin/install: cannot stat `src/mod_python.so': No such file or directory make[1]: *** [install_dso] Error 1 make[1]: Leaving directory `/usr/local/src/mod_python-3.1.4' make: *** [install] Error 2 [root at hosting-two mod_python-3.1.4]# A quick look in src/.libs shows that mod_python.a is created but not the so? Sincerely Joshua D. Drake
|