ugh! mod_perl install problem

2003-05-29 Thread Reed, Jonathan S.
Hello,
I am having a problem installing mod_perl.  I have used this same install procedure on 
other boxes successfully but am having trouble with this one.  The error is at the 
bottom of this message.  System specs are as follows.  I apologize in advance if this 
is not the correct forum for this, however, I am rather frustrated with this and 
appreciate any assistance.

Sun Ultra-25 running Solaris 5.8
patch level Generic_108528-17

I am running these installs as root from Bourne shell (I got the same error in C shell 
and Bash)

##
##Install GCC
##
Installed gcc 3.1 from  www.sunfreeware.com using 'pkgadd -d'

##
##Install Perl
##
# rm -f config.sh Policy.sh

# ./Configure -des -Dusethreads -Dcc='gcc -B/usr/ccs/bin/'
## According to the mod_perl doc in 
/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/docs/user/install/install.pod
## we need to use -Dusethreads.  According to the perl doc 
/opt/d00/install.d/perl.d/perl-5.8.0/README.solaris we need to use -Dcc='gcc 
-B/usr/ccs/bin/'
## the -des are
-d : use defaults for all answers.
-e : go on without questioning past the production of config.sh.
-s : silent mode, only echoes questions and essential information.
# make
# make test
# make install


#
##Build Apache 2.0.45
#
configure Apache using
./configure --prefix=/opt/d00/apache/internal  --with-mpm=prefork \
--enable-so \
--enable-proxy \
--disable-ipv6

## removed for clarity

# make
## removed for clarity
# make install
## removed for clarity

### This installed successfully



install mod_perl 1.9_07#


# cd mod_perl-1.99_07
# perl Makefile.PL MP_AP_PREFIX=/opt/d00/apache/internal
Reading Makefile.PL args from @ARGV
   MP_AP_PREFIX = /opt/d00/apache/internal
Configuring Apache/2.0.45 mod_perl/1.99_07 Perl/v5.8.0
Checking if your kit is complete...
Looks good
generating script t/TEST
Checking if your kit is complete...
Looks good
Writing Makefile for Apache::Test
generating script t/TEST
Checking if your kit is complete...
Looks good

## removed for clarity

Note (probably harmless): No library found for -lapr
Note (probably harmless): No library found for -laprutil

## removed for clarity

*** mod_perl dso library will be built as mod_perl.so
*** mod_perl static library will be built as mod_perl.a
*** You'll need to add the following to httpd.conf:
***  LoadModule perl_module modules/mod_perl.so

# make
cd src/modules/perl  make -f Makefile.modperl
mksh: Warning: newline is not last character in file Makefile.modperl
Current working directory 
/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c mod_perl.c  mv mod_perl.o mod_perl.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_interp.c  mv modperl_interp.o modperl_interp.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_tipool.c  mv modperl_tipool.o modperl_tipool.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_log.c  mv modperl_log.o modperl_log.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_config.c  mv modperl_config.o modperl_config.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_cmd.c  mv modperl_cmd.o modperl_cmd.lo
gcc -B/usr/ccs/bin/ 

Re: ugh! mod_perl install problem

2003-05-29 Thread Stas Bekman
Reed, Jonathan S. wrote:
Hello,
I am having a problem installing mod_perl.  I have used this same install procedure on 
other boxes successfully but am having trouble with this one.  The error is at the 
bottom of this message.  System specs are as follows.  I apologize in advance if this 
is not the correct forum for this, however, I am rather frustrated with this and 
appreciate any assistance.
Please use the latest release: 1.99_09.
http://perl.apache.org/download/index.html
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


RE: ugh! mod_perl install problem

2003-05-29 Thread Reed, Jonathan S.
That did it.  Thank you very much.

Jon Reed


-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 8:08 PM
To: Reed, Jonathan S.
Cc: [EMAIL PROTECTED]
Subject: Re: ugh! mod_perl install problem


Reed, Jonathan S. wrote:
 Hello,
 I am having a problem installing mod_perl.  I have used this same install procedure 
 on other boxes successfully but am having trouble with this one.  The error is at 
 the bottom of this message.  System specs are as follows.  I apologize in advance if 
 this is not the correct forum for this, however, I am rather frustrated with this 
 and appreciate any assistance.

Please use the latest release: 1.99_09.
http://perl.apache.org/download/index.html


__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com