You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by William Rico <wi...@giftme.com> on 2000/10/24 00:35:47 UTC

cannot install mod_perl-1.24_01/mod_ssl-2.7.1/apache_1.3.14/perl-5.6.0

I've been trying to install the following combination without any luck:
mod_perl-1.24_01
mod_ssl-2.7.1
openssl-0.9.6
apache_1.3.14
perl-5.6.0
...on FreeBSD 2.2.8

Error when making mod_perl:
bash-2.02# make
...successful steps cut out...
<=== src/modules/perl
<=== src/modules
cc -c -I. -I/usr/local/lib/perl5/5.6.0/i386-freebsd/CORE -I./os/unix -I./inc
lude   -f
unsigned-char -DMOD_SSL=207101 -DMOD_PERL -DUSE_PERL_SSI -I/usr/local/includ
e -DEAPI
-DNO_DL_NEEDED -I/usr/local/include `./apaci` modules.c
cc -c -I. -I/usr/local/lib/perl5/5.6.0/i386-freebsd/CORE -I./os/unix -I./inc
lude   -f
unsigned-char -DMOD_SSL=207101 -DMOD_PERL -DUSE_PERL_SSI -I/usr/local/includ
e -DEAPI
-DNO_DL_NEEDED -I/usr/local/include `./apaci` buildmark.c
cc  -funsigned-char -DMOD_SSL=207101 -DMOD_PERL -DUSE_PERL_SSI -I/usr/local/
include -
DEAPI -DNO_DL_NEEDED -I/usr/local/include `./apaci` -L/opt/ssl/lib    -o
httpd buildm
ark.o modules.o  modules/standard/libstandard.a  modules/ssl/libssl.a
modules/perl/l
ibperl.a  main/libmain.a  ./os/unix/libos.a
 ap/libap.a    -lcrypt   -lssl -lcrypto
  -L/usr/local/lib
/usr/local/lib/perl5/5.6.0/i386-freebsd/auto/DynaLoader/DynaLoader
.a -L/usr/local/lib/perl5/5.6.0/i386-freebsd/CORE -lperl -lm -lc -lcrypt
DynaLoader.o: Undefined symbol `_Perl_vmess' referenced from text segment
*** Error code 1

Stop.

What is _Perl_vmess?  Could the above error be related to my installation of
perl-5.6.0?  I was able to compile this version of mod_perl when I had Perl
5.00503.  Should I blow 5.6 away and try with 5.00503 again?  I appreciate
your time and help.

Thanks!!!

-Will
william.rico@giftme.com

P.S. Here are more specifics on steps  I took:

(1) I installed perl-5.6.0 without trouble.  I chose all the defaults.  As
it was installing, I didn't see any error messages or instances where the
defaults weren't good.
* I wasn't sure whether to override the use "vfork" (?) which was one of the
prompts so I went with the default (use "vfork").
* I did not build a shared libperl.so.
* I did choose dynamic loading.
I'm mentioning the above b/c I'm not really too clear on the implications so
they remain suspects in the mystery to me.

(2) I installed openssl-0.9.6 as per the instructions.  No problems there.

(3) I followed the mod_perl instructions in INSTALL.simple.mod_ssl:

ash-2.02# cd ../mod_ssl-2.7.1-1.3.14
bash-2.02# ./configure --with-apache=../apache_1.3.14
Configuring mod_ssl/2.7.1 for Apache/1.3.14
 + Apache location: ../apache_1.3.14 (Version 1.3.14)
 + Auxiliary patch tool: ./etc/patch/patch (local)
 + Applying packages to Apache source tree:
   o Extended API (EAPI)
   o Distribution Documents
   o SSL Module Source
   o SSL Support
   o SSL Configuration Additions
   o SSL Module Documentation
   o Addons
Done: source extension and patches successfully applied.

bash-2.02# perl Makefile.PL USE_APACI=1 EVERYTHING=1 SSL_BASE=/opt/ssl
APACHE_PREFIX=
/opt/apache APACI_ARGS=--enable-module=ssl,--enable-module=rewrite

bash-2.02# cd ../mod_perl-1.24_01

bash-2.02# perl Makefile.PL USE_APACI=1 EVERYTHING=1 SSL_BASE=/opt/ssl
APACHE_PREFIX=
/opt/apache APACI_ARGS=--enable-module=ssl,--enable-module=rewrite
Will configure via APACI
Configure mod_perl with ../apache_1.3.14/src ? [y]
Shall I build httpd in ../apache_1.3.14/src for you? [y]
cp apaci/Makefile.libdir ../apache_1.3.14/src/modules/perl/Makefile.libdir
cp apaci/Makefile.tmpl ../apache_1.3.14/src/modules/perl/Makefile.tmpl
cp apaci/README ../apache_1.3.14/src/modules/perl/README
cp apaci/configure ../apache_1.3.14/src/modules/perl/configure
cp apaci/libperl.module ../apache_1.3.14/src/modules/perl/libperl.module
cp apaci/mod_perl.config.sh
../apache_1.3.14/src/modules/perl/mod_perl.config.sh
cp apaci/load_modules.pl.PL
../apache_1.3.14/src/modules/perl/load_modules.pl.PL
cp apaci/find_source.PL ../apache_1.3.14/src/modules/perl/find_source.PL
cp apaci/apxs_cflags.PL ../apache_1.3.14/src/modules/perl/apxs_cflags.PL
cp apaci/mod_perl.exp ../apache_1.3.14/src/modules/perl/mod_perl.exp
PerlDispatchHandler.........enabled
PerlChildInitHandler........enabled
PerlChildExitHandler........enabled
PerlPostReadRequestHandler..enabled
PerlTransHandler............enabled
PerlHeaderParserHandler.....enabled
PerlAccessHandler...........enabled
PerlAuthenHandler...........enabled
PerlAuthzHandler............enabled
PerlTypeHandler.............enabled
PerlFixupHandler............enabled
PerlHandler.................enabled
PerlLogHandler..............enabled
PerlInitHandler.............enabled
PerlCleanupHandler..........enabled
PerlRestartHandler..........enabled
PerlStackedHandlers.........enabled
PerlMethodHandlers..........enabled
PerlDirectiveHandlers.......enabled
PerlTableApi................enabled
PerlLogApi..................enabled
PerlUriApi..................enabled
PerlUtilApi.................enabled
PerlFileApi.................enabled
PerlConnectionApi...........enabled
PerlServerApi...............enabled
PerlSections................enabled
PerlSSI.....................enabled
Will run tests as User: 'nobody' Group: 'wheel'
(cd ../apache_1.3.14 && CC="cc" CFLAGS="-I/usr/local/include"
./configure --activate-
module=src/modules/perl/libperl.a --disable-rule=EXPAT --enable-module=ssl -
-enable-m
odule=rewrite --prefix=/opt/apache)
Configuring for Apache, Version 1.3.14
 + using installation path layout: Apache (config.layout)
 + activated perl module (modules/perl/libperl.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for FreeBSD 2.2.8 platform
 + setting C pre-processor to cc -E
 + checking for system header files
 + adding selected modules
    o rewrite_module uses ConfigStart/End
      enabling DBM support for mod_rewrite
    o ssl_module uses ConfigStart/End
      + SSL interface: mod_ssl/2.7.1
      + SSL interface build type: OBJ
      + SSL interface compatibility: enabled
      + SSL interface experimental code: disabled
      + SSL interface conservative code: disabled
      + SSL interface vendor extensions: disabled
      + SSL interface plugin: Vendor DBM (libc)
      + SSL library path: /opt/ssl
      + SSL library version: OpenSSL 0.9.6 24 Sep 2000
      + SSL library type: installed package (stand-alone)
    o perl_module uses ConfigStart/End
      + mod_perl build type: OBJ
      + id: mod_perl/1.24_01
      + id: Perl/v5.6.0 (freebsd) [perl]
      + setting up mod_perl build environment
      + adjusting Apache build environment
      + enabling Perl support for SSI (mod_include)
 + enabling Extended API (EAPI)
 + 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/modules/standard
Creating Makefile in src/modules/ssl
Creating Makefile in src/modules/perl
Checking CGI.pm VERSION..........ok
Checking for LWP::UserAgent......ok
Checking for HTML::HeadParser....ok
Checking if your kit is complete...
Looks good
Writing Makefile for Apache
Writing Makefile for Apache::Connection
Writing Makefile for Apache::Constants
Writing Makefile for Apache::File
Writing Makefile for Apache::Leak
Writing Makefile for Apache::Log
Writing Makefile for Apache::ModuleConfig
Writing Makefile for Apache::PerlRunXS
Writing Makefile for Apache::Server
Writing Makefile for Apache::Symbol
Writing Makefile for Apache::Table
Writing Makefile for Apache::URI
Writing Makefile for Apache::Util
Writing Makefile for mod_perl

bash-2.02# make     [this leads to the offending error message at the top]