httpd 1 to 2, php 4 to 5 upgrade last 2 steps error.

neorder

Verified User
Joined
Oct 1, 2003
Messages
346
./build mod_frontpage_ap2
./build mod_perl_ap2



[root@nagios customapache]# ./build mod_perl_ap2
Found /usr/local/directadmin/customapache/mod_perl-2.0-current.tar.gz
Extracting ...
Done.
Configuring modperl-2.0...
Reading Makefile.PL args from @ARGV
MP_APXS = /usr/sbin/apxs
MP_INST_APACHE2 = 1
mod_perl/1.29 installation detected...ok (installing relative to Apache2/)
************* WARNING *************

Your Perl is configured to link against libgdbm,
but libgdbm.so was not found.
You could just symlink it to /usr/lib/libgdbm.so.2.0.0


************* WARNING *************
Configuring Apache/2.2.0*/ mod_perl/1.99_17-dev Perl/v5.8.5
[ error] can't find 'apr-config', please pass MP_APR_CONFIG=/full/path/to/apr-config to 'perl Makefile.PL'
Done. Making modperl-2.0...
Trying to make mod_perl-2.0...
make: *** No targets specified and no makefile found. Stop.

*** The make has failed, do you want to try to make again? (y,n):
n


in that case i have to command out

#LoadModule frontpage_module /usr/lib/apache/mod_frontpage.so
#LoadModule perl_module /usr/lib/apache/mod_perl.so

in httpd.conf

or else httpd will fail.

any suggestion?
 
Last edited:
Did you get an answer?

Did you ever get an answer to this? Getting a similar error. First part about the libgdbm is the same. After that it says:
Code:
chmod 644 PerlIO.bs
chmod: cannot access `PerlIO.bs': No such file or directory
make[3]: *** [PerlIO.bs] Error 1
make[3]: Leaving directory `/usr/local/directadmin/customapache/mod_perl-2.0.3/xs/APR/PerlIO'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory `/usr/local/directadmin/customapache/mod_perl-2.0.3/xs/APR'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/usr/local/directadmin/customapache/mod_perl-2.0.3/xs'
make: *** [subdirs] Error 2

*** The make has failed, do you want to try to make again? (y,n):
 
I have no idea if this will work or not but try installing perl-IO-Socket-SSL with yum install perl-IO-Socket-SSL and try then. If it doesnt work can always yum remove perl-IO-Socket-SSL if you dont want it installed. I haven't tried this, haven't had this happen to me so I have no idea if it will work but it seems to be related to PerlIO.bs so it might work!
 
Back
Top