Gregory (Grisha) Trubetskoy
grisha at modpython.org
Thu Dec 12 21:13:22 EST 2002
You don't need without-threads when compiling python. I don't know if its the cause of the problem, but it's a start. Also, make sure you have libtool 1.4.x. Lastly, if you compiled your own apache, try recompiling it by first running ./buildconf, then ./configure, etc. On Thu, 12 Dec 2002, bvr wrote: > > Hi, > > Same problem here, tried several installations with RH 7.3. > > tried installing these: > python2-2.2-16.i386.rpm > python2-devel-2.2-16.i386.rpm > python2-docs-2.2-16.i386.rpm > > and: > untar Python-2.2.2.tgz > configure --without-threads > make && make install > > both with no errors, cli interpreter works fine > > compiled mod python 3.0.1 like this: > > configure --with-apxs=/usr/local/apache2/bin/apxs > --with-python=/usr/local/bin/python2 > make > > everything looks fine untill I get these warnings at the end: > > /usr/local/apache/build/libtool --silent --mode=link gcc -o > mod_python.la -I/store/install/mod_python-3.0.1/src/include > -I/usr/local/apache/include -I/usr/local/include/python2.2 -rpath > /usr/local/apache/modules -module -avoid-version hlistobject.lo > hlist.lo filterobject.lo connobject.lo serverobject.lo util.lo > tableobject.lo requestobject.lo _apachemodule.lo mod_python.lo > -L/usr/local/lib/python2.2/config -Xlinker -export-dynamic -lm > -lpython2.2 -ldl -lutil -lm > > *** Warning: This library needs some functionality provided by -lpython2.2. > *** 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. > > *** 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. > > afterwards it appears src/mod_python.so has not been created. > > my best guess is that i need a libpython2.2.so but i can't figure how > to get it ?? > > > please help! > > bvr. > > > Zoper wrote: > > Hi All! > > > > After making my mod_python I try to make install but... > > > > ...............CUT.................... > > Performing DSO installation. > > > > /usr/bin/install -c src/mod_python.so /usr/local/apache2/modules > > /usr/bin/install: src/mod_python.so: No such file or directory > > make[1]: *** [install_dso] Error 1 > > make[1]: Leaving directory `/usr/src/mod_python-3.0.1' > > make: *** [install] Error 2 > > .......................................... > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://www.modpython.org/mailman/listinfo/mod_python >
|