I've seen several make problems posted, so maybe someone has the answer to
this one.

mod_perl fails during the 'make' with an unsatisfied symbol; first a
little background.  I'm building on an HP J2240 running HP-UX 10.20.
In the commands below:
$SITE_DIR = /hfs/d1/development/built
$APAC     = apache_1.3.12

I've built Perl 5.005.03 statically (that is using 'make static' for all
modules that handle it).  I have included a number of modules,
among them all the prerequisites for LWP, including Digest-MD5-2.09.


=============================================================
# $SITE_DIR/sperl5i/bin/perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=hpux, osvers=10.20, archname=PA-RISC2.0
    uname='hp-ux nirvana b.10.20 a 9000782 2016768586 two-user license '
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O +Onolimit', gccversion=
    cppflags='-D_HPUX_SOURCE -Aa -I/usr/local/include -I/opt/BerkeleyDB.3.0/include'
    ccflags ='-D_HPUX_SOURCE -Aa -I/usr/local/include -I/opt/BerkeleyDB.3.0/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=undef, longlongsize=, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib -L/opt/BerkeleyDB.3.0/lib'
    libpth=/usr/local/lib /lib/pa1.1 /lib /usr/lib /usr/ccs/lib /opt/BerkeleyDB.3.0/lib
    libs=-lnsl_s -lndbm -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec -ldb
    libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef, ccdlflags=''
    cccdlflags='', lddlflags=''


Characteristics of this binary (from libperl):
  Built under hpux
  Compiled at Mar 21 2000 13:55:47
  %ENV:
    PERL_DIST_DIR="/hfs/d1/development/source/perl"
    PERL_VER="perl5.005_03"
  @INC:
    /hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0
    /hfs/d1/development/built/sperl5i/lib/5.00503
    /hfs/d1/development/built/sperl5i/lib/site_perl/5.005/PA-RISC2.0
    /hfs/d1/development/built/sperl5i/lib/site_perl/5.005
    .
=============================================================

(the file MD5.a is found in

/hfs/d1/development/built/sperl5i/lib/site_perl/5.005/PA-RISC2.0/auto/Digest/MD5/MD5.a

)

Apache 1.3.12 builds fine (I can run httpd and view pages) using this
Perl to create it.  Here's the Apache configure command - it's fairly
standard ($SITE_DIR and $APAC are defined paths):

# export CCOPTS=+e
# ./configure --prefix=$SITE_DIR/apache --enable-module=rewrite 
--add-module=mod_frontpage.c --with-perl=$SITE_DIR/sperl5i/bin/perl


Mod_perl configures OK, no reported errors, using the following command:

# perl Makefile.PL APACHE_PREFIX=$SITE_DIR/apache APACHE_SRC=$SITE_DIR/$APAC/src 
DO_HTTPD=1 EVERYTHING=1 PERL_CHILD_INIT=1 PERL_STACKED_HANDLERS=1 USE_APACI=1

However, when I attempt to 'make', here's the tail end of the make output
(some artificial line breaks included for legibility):

=============================================================
<=== src/modules/perl
<=== src/modules
        cc -c -I. -I/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/CORE  
-I./os/unix -I./include   -DHPUX10 -Aa -Ae -D_HPUX_SOURCE -DMOD_PERL -DUSE_PERL_SSI 
-D_HPUX_SOURCE -Aa -I/usr/local/include -I/opt/BerkeleyDB.3.0/include -DUSE_HSREGEX 
-DNO_DL_NEEDED `./apaci` modules.c
        cc -c -I. -I/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/CORE  
-I./os/unix -I./include   -DHPUX10 -Aa -Ae -D_HPUX_SOURCE -DMOD_PERL -DUSE_PERL_SSI 
-D_HPUX_SOURCE -Aa -I/usr/local/include -I/opt/BerkeleyDB.3.0/include -DUSE_HSREGEX 
-DNO_DL_NEEDED `./apaci` buildmark.c
        cc  -DHPUX10 -Aa -Ae -D_HPUX_SOURCE -DMOD_PERL -DUSE_PERL_SSI -D_HPUX_SOURCE 
-Aa -I/usr/local/include -I/opt/BerkeleyDB.3.0/include -DUSE_HSREGEX -DNO_D
L_NEEDED `./apaci`    \
              -o httpd buildmark.o modules.o  modules/perl/libperl.a 
modules/standard/libstandard.a  main/libmain.a  ./os/unix/libos.a  ap/libap.a
regex/libregex.a   -L/usr/local/lib -L/opt/BerkeleyDB.3.0/lib
/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/auto/DynaLoader/DynaLoader.a
/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/auto/B/B.a
/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/auto/DBI/DBI.a
/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/auto/DBI/DBI.a
/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/auto/Data/Dumper/Dumper.a
/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/auto/Fcntl/Fcntl.a
/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/auto/IO/IO.a
/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/auto/IPC/SysV/SysV.a
/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/auto/NDBM_File/NDBM_File.a
/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/auto/ODBM_File/ODBM_File.a
/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/auto/Opcode/Opcode.a
/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/auto/POSIX/POSIX.a
/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/auto/SDBM_File/SDBM_File.a
/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/auto/Socket/Socket.a
/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/auto/attrs/attrs.a
/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/auto/re/re.a
-L/hfs/d1/development/built/sperl5i/lib/5.00503/PA-RISC2.0/CORE -lperl
-lnsl_s -lndbm -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec -ldb -L/usr/local/lib
-lndbm -ldbm -lm
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (buildmark.o) was detected. 
The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Unsatisfied symbols:
   boot_MD5 (code)
*** Error exit code 1

top.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
=============================================================

I'm guessing that for some reason the make can't locate the necessary
MD5 file in the 'site_perl' area, but I don't understand why, and I'm
concerned that once I get past this, that every other library in that
area will fail as well.

Any suggestions?

Thanks,

hugh

-- 

 Hugh Williams                  "More men are killed by overwork than the
 [EMAIL PROTECTED]       importance of the world justifies."
 Agilent Technologies                           - Rudyard Kipling
 Santa Rosa 2LS-R                             "The Phantom Rickshaw", 1888
 (707)-577-4941         

Reply via email to