You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Sam Park <sa...@excitehome.net> on 2000/06/16 22:48:42 UTC

modperl1.24 with apache1.3.12

Do you know how I can install mod-perl.1.24 with the apache1.3.12?
I following the instruction but it's giving me this error?
If I run the make... then I get this error..
cd ../apache_1.3.12/src &&  make CC="cc";)
===> os/unix
cc -c  -I../../os/unix -I../../include   -DSOLARIS2=260 -DMOD_PERL
-DUSE_EXPAT -
I../../lib/expat-lite -DNO_DL_NEEDED -DMOD_PERL os.c
/usr/ucb/cc:  language optional software package not installed
*** Error code 1
make: Fatal error: Command failed for target `os.o'
Current working directory /excite/adm/sam/apache_1.3.12/src/os/unix
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /excite/adm/sam/apache_1.3.12/src
*** Error code 1
make: Fatal error: Command failed for target `apache_httpd'




Re: modperl1.24 with apache1.3.12

Posted by dr...@smartt.com.
Sam Park wrote:
> 
> Do you know how I can install mod-perl.1.24 with the apache1.3.12?
> I following the instruction but it's giving me this error?
> If I run the make... then I get this error..
> cd ../apache_1.3.12/src &&  make CC="cc";)
> ===> os/unix
> cc -c  -I../../os/unix -I../../include   -DSOLARIS2=260 -DMOD_PERL
> -DUSE_EXPAT -
> I../../lib/expat-lite -DNO_DL_NEEDED -DMOD_PERL os.c
> /usr/ucb/cc:  language optional software package not installed
> *** Error code 1
> make: Fatal error: Command failed for target `os.o'
> Current working directory /excite/adm/sam/apache_1.3.12/src/os/unix
> *** Error code 1
> make: Fatal error: Command failed for target `subdirs'
> Current working directory /excite/adm/sam/apache_1.3.12/src
> *** Error code 1
> make: Fatal error: Command failed for target `apache_httpd'

heres how i did it on redhat 6.2 , after uninstalling the apache rpms,


modssl and apache dso
first setup rsa
#tar xvf rsaref.tar
         #cp -rp install/unix temp
         #cd temp
         #make
         #mv rsaref.a librsaref.a
        
then openssl
perl util/perlpath.pl /usr/bin/perl
./config -L`pwd`/../rsa/temp -fPIC
make 
cp drfrogs config.layout into apache src

then modssl
./configure --with-apache=../apache_1.3.12
--with-ssl=../openssl-0.9.5a    --with-rsa=../rsa/temp




apache 
export SSL_BASE=../openssl-0.9.5a 


./configure  --enable-module=ssl --enable-rule=SHARED_CORE
--enable-module=rewrite --enable-module=so --prefix=/home/www

$ make 
    $ make certificate
    $ make install








then install other modules

using apxs
modperl

perl Makefile.PL       USE_APXS=1   WITH_APXS=/usr/local/apache/bin/apxs
EVERYTHING=1

php3

./configure  --with-apxs=/usr/local/apache/bin/apxs --with-pgsql
--with-xml

then edit httpd.conf make sure php3 handlers in

mod_layout

make sure Makefile is pointing to apxs
type make