You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Ian Chilton <ia...@ichilton.co.uk> on 2001/05/31 13:42:35 UTC

Compile Problem with Apache + mod_ssl + mod_perl

Hello,
 
Please reply to ian@ichilton.co.uk as I am not on the list!!!

I am having a problem compiling Apache with mod_perl and mod_ssl.

I am using a Sun Sparcstation 5 running Linux.
The userland, bind and postfix all compiled fine.


This is what I get:

----------------------------------------------------------------------
[root@pingu:~/server/mod_perl-1.25]# cd ../apache_1.3.20
[root@pingu:~/server/apache_1.3.20]# EAPI_MM=SYSTEM ./configure
--prefix=/opt/apache \
>     --enable-module=all \
>     --enable-shared=max \
>     --disable-module=proxy \
>     --disable-module=usertrack \
>     --disable-module=auth_anon \
>     --disable-module=auth_db \
>     --disable-module=auth_dbm \
>     --activate-module=src/modules/perl/libperl.a
Configuring for Apache, Version 1.3.20
 + using installation path layout: Apache (config.layout)
 + activated perl module (modules/perl/libperl.a)
Creating Makefile
Creating Configuration.apaci in src
Error: Cannot find SSL binaries under /usr/local/ssl
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
    o rewrite_module uses ConfigStart/End
      disabling DBM support for mod_rewrite
      (perhaps you need to add -ldbm, -lndbm or -lgdbm to EXTRA_LIBS)
    o ssl_module uses ConfigStart/End
      + SSL interface: mod_ssl/2.8.4
      + SSL interface build type: DSO
      + SSL interface compatibility: enabled
      + SSL interface experimental code: disabled
      + SSL interface conservative code: disabled
      + SSL interface vendor extensions: disabled
      + SSL interface plugin: Built-in SDBM
      + SSL library path: /usr/local/ssl

[root@pingu:~/server/apache_1.3.20]# make
===> src
make[1]: Entering directory `/root/server/apache_1.3.20'
make[2]: Entering directory `/root/server/apache_1.3.20/src'
make[2]: *** No rule to make target `all'.  Stop.
make[2]: Leaving directory `/root/server/apache_1.3.20/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/root/server/apache_1.3.20'
make: *** [build] Error 2
[root@pingu:~/server/apache_1.3.20]#
----------------------------------------------------------------------

This is how I was compiling it.
I used the same Apache+Perl+SSL method on some x86 boxes and it seemed
to work fine.

---------------------------------------------------------------------
tar yxf sources/apache_1.3.20.tar.bz2
tar yxf sources/mod_ssl-2.8.4-1.3.20.tar.bz2
tar yxf sources/mod_perl-1.25.tar.bz2

cd mod_ssl-2.8.4-1.3.20/
./configure --with-apache=../apache_1.3.20/ --with-mm

cd ../mod_perl-1.25/
perl Makefile.PL \
            APACHE_SRC=../apache_1.3.20/src \
            USE_APACI=1 \
            PERL_MARK_WHERE=1 \
            EVERYTHING=1 \
            PREP_HTTPD=1 \
            DO_HTTPD=1
make
make install

cd ../apache_1.3.20/

sed 's/#define PLATFORM "Unix"/#define PLATFORM "LinuxFromScratch"/'
src/os/unix/os.h >src/os/unix/os.h~
mv src/os/unix/os.h~ src/os/unix/os.h

EAPI_MM=SYSTEM ./configure --prefix=/usr/apache \
    --enable-module=all \
    --enable-shared=max \
    --disable-module=proxy \
    --disable-module=usertrack \
    --disable-module=auth_anon \
    --disable-module=auth_db \
    --disable-module=auth_dbm \
    --activate-module=src/modules/perl/libperl.a

make
make certificate TYPE=dummy
make install
---------------------------------------------------------------------

Any ideas?


Thanks!


Bye for Now,

Ian


                                  \|||/ 
                                  (o o)
 /-----------------------------ooO-(_)-Ooo----------------------------\
 |  Ian Chilton                    E-Mail: ian@ichilton.co.uk         |
 |  IRC Nick: GadgetMan            Backup: ichilton@www.linux.org.uk  |
 |  ICQ: 16007717 / 104665842      Web   : http://www.ichilton.co.uk  |
 |--------------------------------------------------------------------|
 |       For people who like peace and quiet: a phoneless cord        |
 \--------------------------------------------------------------------/


Re: Compile Problem with Apache + mod_ssl + mod_perl

Posted by Ged Haywood <ge...@www2.jubileegroup.co.uk>.
Hi there,

On Thu, 31 May 2001, Ian Chilton wrote:

> Please reply to ian@ichilton.co.uk as I am not on the list!!!

(Why not?! :)

> This is what I get:
[snip]
> Creating Makefile
> Creating Configuration.apaci in src
> Error: Cannot find SSL binaries under /usr/local/ssl

Is that a clue?

73,
GEd.