Dear All,

I've been tasked with setting up a mod_perl apache.  I've complied my own
perl etc ... in my own home dir, as I need to test our code against it,
before passing it off to the addmins for pkg'ing and rolling out to other
servers.

perl + modules pass all tests.

mod_perl appears to build ok, but fails its test (see below for ouput).
Appart from that it appears fine (in that it works).

I think this is a local solaris (2.8) / my env and not a mod_perl issue, but
I am lost as to why this is not working, as I've done this loads of times
before on Linux and Solaris - I must be missing something stupid.

Enlightenment required!

Thanks

Greg Cope
Intranet Support Group
01304642040 


### mod perl configure:

perl Makefile.PL APACHE_SRC=../apache_1.3.22/src DO_HTTPD=1 USE_APACI=1
EVERYTHING=1 APACHE_PREFIX=/home/copeg/apache-32

### test ouput

cp t/conf/mod_perl_srm.conf t/conf/srm.conf
../apache_1.3.22/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...done
/home/copeg/test-perl-32/bin/perl t/TEST 0
Can't locate object method "new" via package "URI::URL" (perhaps you forgot
to load "URI::URL"?) at ../blib/lib/Apache/test.pm line 252.
*** Error code 255
make: Fatal error: Command failed for target `run_tests'


##### mod perl configure line

perl Makefile.PL APACHE_SRC=../apache_1.3.22/src DO_HTTPD=1 USE_APACI=1
EVERYTHING=1 APACHE_PREFIX=/home/copeg/apache-32

make && make test

#### perl -V ouput

[14:11:29 copeg@tiger mod_perl-1.26]$ perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris
    uname='sunos tiger 5.8 generic_108528-10 sun4u sparc
sunw,ultra-enterprise '
    config_args='-des -Dprefix=/home/copeg/test-perl-32'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='cc', ccflags ='-I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
    optimize='-O',
    cppflags='-I/usr/local/include'
    ccversion='WorkShop Compilers 5.0 98/12/15 C 5.0', gccversion='',
gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib -L/opt/SUNWspro/SC5.0/lib '
    libpth=/usr/local/lib /opt/SUNWspro/SC5.0/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc
    perllibs=-lsocket -lnsl -ldl -lm -lc
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib
-L/opt/SUNWspro/SC5.0/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under solaris
  Compiled at Nov 23 2001 10:23:17
  @INC:
    /home/copeg/test-perl-32/lib/5.6.1/sun4-solaris
    /home/copeg/test-perl-32/lib/5.6.1
    /home/copeg/test-perl-32/lib/site_perl/5.6.1/sun4-solaris
    /home/copeg/test-perl-32/lib/site_perl/5.6.1
    /home/copeg/test-perl-32/lib/site_perl
    .
[14:11:39 copeg@tiger mod_perl-1.26]$ 

Greg Cope
Intranet Support Group
01304642040 


PFIZER GLOBAL RESEARCH AND DEVELOPMENT
----------------------------------------------------------------
This message and any attachment has been virus checked by the 
PGRD Sandwich Data Centre.
----------------------------------------------------------------

Reply via email to