static build link errors: Python 2.3.2, mod_python 2.7.8, Apache 1.3.29
Hi... posted this on the mod_python list, with no bites... trying here... --- I'm getting link errors when building Apache with mod_python (static). (I've successfully built mod_perl and PHP statically, so I'm somewhat familiar with the process.) Ideas? Versions: Python: 2.3.2 mod_python: 2.7.8 Apache: 1.3.29 First, I built Python with: ./configure --enable-shared make make install Next, mod_python with: ./configure --with-apache=../apache_1.3.29 make static make install Then, Apache with: ./configure --with-layout=FreeBSD --activate-module=src/modules/python/libpython.a make Here's where things went south: --- gcc -funsigned-char -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -Wl,--export-dynamic-o httpd buildmark.o modules.o modules/standard/libstandard.a modules/python/libpython.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -lcrypt -lm /usr/local/lib/python2.3/config/libpython2.3.a-lutil -lm /usr/local/lib/python2.3/config/libpython2.3.a(posixmodule.o): In function `posix_tmpnam': /usr/local/src/Python-2.3.2/./Modules/posixmodule.c:5785: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/local/lib/python2.3/config/libpython2.3.a(posixmodule.o): In function `posix_tempnam': /usr/local/src/Python-2.3.2/./Modules/posixmodule.c:5738: warning: tempnam() possibly used unsafely; consider using mkstemp() /usr/local/lib/python2.3/config/libpython2.3.a(thread.o): In function `find_key': /usr/local/src/Python-2.3.2/Python/thread_pthread.h:279: undefined reference to `pthread_self' /usr/local/src/Python-2.3.2/Python/thread_pthread.h:391: undefined reference to `sem_wait' /usr/local/src/Python-2.3.2/Python/thread_pthread.h:432: undefined reference to `sem_post' /usr/local/lib/python2.3/config/libpython2.3.a(thread.o): In function `PyThread_delete_key': /usr/local/src/Python-2.3.2/Python/thread_pthread.h:391: undefined reference to `sem_wait' /usr/local/src/Python-2.3.2/Python/thread_pthread.h:432: undefined reference to `sem_post' /usr/local/lib/python2.3/config/libpython2.3.a(thread.o): In function `PyThread_delete_key_value': /usr/local/src/Python-2.3.2/Python/thread_pthread.h:279: undefined reference to `pthread_self' /usr/local/src/Python-2.3.2/Python/thread_pthread.h:391: undefined reference to `sem_wait' /usr/local/src/Python-2.3.2/Python/thread_pthread.h:432: undefined reference to `sem_post' . . . --- Here are the results of ./configure --with-layout=FreeBSD --activate-module=src/modules/python/libpython.a: --- Configuring for Apache, Version 1.3.29 + using installation path layout: FreeBSD (config.layout) + activated python module (modules/python/libpython.a) Creating Makefile Creating Configuration.apaci in src Creating Makefile in src + configured for FreeBSD 4.9 platform + setting C compiler to gcc + setting C pre-processor to gcc -E + using tr [a-z] [A-Z] to uppercase + checking for system header files + adding selected modules o python_module uses ConfigStart/End + using builtin Expat + checking sizeof various data types + doing sanity check on compiler and options Creating Makefile in src/support Creating Makefile in src/os/unix Creating Makefile in src/ap Creating Makefile in src/main Creating Makefile in src/lib/expat-lite Creating Makefile in src/modules/standard Creating Makefile in src/modules/python --- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mod_perl, mod_ssl: fine in isolation, install woes when together
I've isolated this pretty well... hope someone has some insight: After a fresh* install of FreeBSD 4.8, I can build Apache with mod_ssl, and (separately) Apache with mod_perl (static). However, I'm getting link errors when trying to install both together. Here are my steps: tar -xzf apache_1.3.28.tar.gz tar -xzf mod_ssl-2.8.15-1.3.28.tar.gz tar -xzf mod_perl-1.29.tar.gz cd mod_ssl-2.8.15-1.3.28 ./configure --with-apache=../apache_1.3.28 cd ../mod_perl-1.29 perl Makefile.PL APACHE_SRC=../apache_1.3.28/src \ EVERYTHING=1 PREP_HTTPD=1 USE_APACI=1 make make install cd ../apache_1.3.28 setenv SSL_BASE SYSTEM ./configure --with-layout=FreeBSD \ --activate-module=src/modules/perl/libperl.a \ --enable-module=ssl make It's during the make that things go south. The make successfully finishes both the ssl and perl sections (i.e., I see === src/modules/ssl and === src/modules/perl). Immediately after, I get two successful 'gcc' lines, then the following: --- gcc -funsigned-char -DMOD_SSL=208115 -DMOD_PERL -DUSE_PERL_SSI -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -DEAPI -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -L/usr/lib-o httpd buildmark.o modules.o modules/standard/libstandard.a modules/ssl/libssl.a modules/perl/libperl.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -lcrypt -lssl -lcrypto -Wl,-E /usr/local/lib/perl5/5.8.1/i386-freebsd/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE -lperl -lm -lcrypt -lutil -lc modules/perl/libperl.a(mod_perl.o): In function `perl_restart_handler': mod_perl.o(.text+0x23b): undefined reference to `Perl_get_sv' modules/perl/libperl.a(mod_perl.o): In function `perl_restart': mod_perl.o(.text+0x2c7): undefined reference to `Perl_get_sv' mod_perl.o(.text+0x2fe): undefined reference to `Perl_eval_pv' mod_perl.o(.text+0x31a): undefined reference to `Perl_sv_setsv_flags' modules/perl/libperl.a(mod_perl.o): In function `mod_perl_set_cwd': mod_perl.o(.text+0x3c0): undefined reference to `Perl_eval_pv' mod_perl.o(.text+0x3d0): undefined reference to `Perl_sv_setsv_flags' [pages and pages more of similar errors...] Ideas? ___ *no packages, upgraded to Perl 5.8.1, installed Bundle::LWP via CPAN utility ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SSH: failed password after fresh install
I've installed two FreeBSD boxes on my LAN. On the first box, the only thing I did after the install process was edit /etc/ssh/sshd_config, setting PermitRootLogin to yes, then issuing killall -1 sshd. After this change, I could successfully connect to this box via my SSH client. I did the same thing with the second box, but I cannot login via my SSH client. I get an invalid password error, and Failed password also appears on the server in /var/log/auth.log. I have rebooted, and also reinstalled, to no avail. Any idea as to what could be causing this error? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]