Skip site navigation (1)Skip section navigation (2)
Date:      10 Aug 2001 10:51:51 +0100
From:      Wayne Pascoe <wayne.pascoe@realtime.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   problems building apache + mod_perl + mod_ssl on FreeBSD 4.3
Message-ID:  <86u1zgi6o8.fsf@pan.home.penguinpowered.org.uk>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86u1zgi6o8.fsf>