From owner-freebsd-questions@FreeBSD.ORG Sun Oct 19 18:36:07 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 500AF16A4BF for ; Sun, 19 Oct 2003 18:36:07 -0700 (PDT) Received: from mail.speakeasy.net (mail10.speakeasy.net [216.254.0.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8519F43F75 for ; Sun, 19 Oct 2003 18:36:06 -0700 (PDT) (envelope-from bryn@bigtrouble.com) Received: (qmail 13080 invoked from network); 20 Oct 2003 01:36:03 -0000 Received: from unknown (HELO t20) ([66.92.188.251]) (envelope-sender ) by mail10.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 20 Oct 2003 01:36:04 -0000 From: "Bryn Dyment" To: Date: Sun, 19 Oct 2003 18:36:05 -0700 Message-ID: <000101c396aa$896f10f0$6401a8c0@t20> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <5.2.0.9.2.20030810230305.00a0bdd0@pop.voyager.net> Importance: Normal Subject: mod_perl, mod_ssl: fine in isolation, install woes when together X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 01:36:07 -0000 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=3D../apache_1.3.28 cd ../mod_perl-1.29 perl Makefile.PL APACHE_SRC=3D../apache_1.3.28/src \ EVERYTHING=3D1 PREP_HTTPD=3D1 USE_APACI=3D1 make make install cd ../apache_1.3.28 setenv SSL_BASE SYSTEM ./configure --with-layout=3DFreeBSD \ --activate-module=3Dsrc/modules/perl/libperl.a \ --enable-module=3Dssl make It's during the make that things go south. The make successfully = finishes both the ssl and perl sections (i.e., I see "<=3D=3D=3D src/modules/ssl" = and "<=3D=3D=3D src/modules/perl"). Immediately after, I get two successful 'gcc' = lines, then the following: --- gcc -funsigned-char -DMOD_SSL=3D208115 -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