From owner-freebsd-questions Fri Aug 10 2:52:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clientmail.realtime.co.uk (simian.ehsrealtime.com [213.52.146.137]) by hub.freebsd.org (Postfix) with ESMTP id 5207B37B401 for ; Fri, 10 Aug 2001 02:52:42 -0700 (PDT) (envelope-from wayne@penguinpowered.org.uk) Received: from madadmin.demon.co.uk ([193.237.103.251] helo=marvin.penguinpowered.org.uk) by clientmail.realtime.co.uk with esmtp (Exim 3.20 #1) id 15V8yA-0007X5-01 for freebsd-questions@freebsd.org; Fri, 10 Aug 2001 10:52:43 +0100 Received: from [192.168.10.11] (helo=pan.realtime.co.uk) by marvin.penguinpowered.org.uk with esmtp (Exim 3.22 #1) id 15V8sq-0006lB-00 for freebsd-questions@freebsd.org; Fri, 10 Aug 2001 10:47:12 +0100 Received: from waynep by pan.realtime.co.uk with local (Exim 3.22 #1) id 15V8xM-0006r1-00 for freebsd-questions@freebsd.org; Fri, 10 Aug 2001 10:51:52 +0100 From: Wayne Pascoe To: freebsd-questions@freebsd.org Subject: problems building apache + mod_perl + mod_ssl on FreeBSD 4.3 Reply-To: wayne.pascoe@realtime.co.uk Date: 10 Aug 2001 10:51:51 +0100 Message-ID: <86u1zgi6o8.fsf@pan.home.penguinpowered.org.uk> Lines: 48 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I am trying to build mod_perl-1.26 for Apache 1.3.20 with mod_ssl 2.8.4 on FreeBSD. The version of perl that I have installed on this machine is 5.6.1 If I build just mod_perl and Apache, the build goes fine. The problem only exists if I add mod_ssl to the mix. To configure Apache, I have used the following command : ./configure --prefix=/usr/apache_admin --enable-module=all \ --enable-shared=max --enable-module=ssl \ --activate-module=src/modules/perl/libperl.a --enable-module=perl \ --disable-shared=ssl --disable-shared=perl I am using the mod_ssl installation instructions as follows : cd mod_ssl-2.8.4-1.3.20 ./configure --with-apache=../apache_1.3.20 cd ../mod_perl-1.26 perl Makefile.pl EVERYTHING=1 APACHE_SRC=../apache_1.3.20/src \ USE_APACI=1 PREP_HTTPD=1 DO_HTTPD=1 && make && make install cd ../apache_1.3.20 then I use the configure line described above. The configure goes fine in the Apache directory. The make breaks with the following error though : gcc -funsigned-char -DMOD_SSL=208104 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include -DEAPI -DUSE_EXPAT -I./lib/expat-lite `./apaci` -L/usr/lib -Wl,-E -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 -L/usr/local/lib /usr/local/lib/perl5/5.6.1/i386-freebsd/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.6.1/i386-freebsd/CORE -lperl -lm -lc -lcrypt -liconv -lutil /usr/local/lib/perl5/5.6.1/i386-freebsd/auto/DynaLoader/DynaLoader.a(DynaLoader.o): In function `SaveError': DynaLoader.o(.text+0x159): undefined reference to `Perl_vmess' *** Error code 1 Stop in /home/waynep/src/apache_1.3.20/src. *** Error code 1 I'm pretty sure that this worked with apache 1.3.19 and the previous version of mod_ssl. Like I say, this only happens if mod_ssl is included in the mix. If I just do mod_perl and Apache, it works ok. Any assistance would be much appreciated! TIA, -- - Wayne Pascoe E-mail: wayne.pascoe@realtime.co.uk Phone : +44 (0) 20 7544 4668 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message