Error ./build mod_perl

ditto

Verified User
Joined
Apr 27, 2009
Messages
2,348
I am running custombuild 2.0 on all my servers. When installing a brand new server, I notice I get error when doing ./build mod_perl:

Code:
[root@server custombuild]# ./build mod_perl
File already exists:    mod_perl-2.0.4.tar.gz
MD5 Checksum on mod_perl-2.0.4.tar.gz passed.
Found /usr/local/directadmin/custombuild/mod_perl-2.0.4.tar.gz
Extracting ...
Done.
Configuring mod_perl-2.0.4...
Reading Makefile.PL args from @ARGV
   MP_APXS = /usr/sbin/apxs
no conflicting prior mod_perl version found - good.
************* WARNING *************

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


************* WARNING *************
Configuring Apache/2.4.4 mod_perl/2.0.4 Perl/v5.10.1
[  error] '/usr/sbin/apxs -q MPM_NAME' failed:
[  error] apxs:Error: Invalid query string `MPM_NAME'.
[  error] Failed to obtain the MPM name.

Done. Making mod_perl-2.0.4...
Trying to make mod_perl...
make: *** No targets specified and no makefile found.  Stop.

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

Then I tested my other servers wich already is in production, and when doing ./build mod_perl on those, they all give the samme error.

So first question is, do I need to install mod_perl in custombuild? If so, what can I do to fix the problem?
 
Update: This is strange. Suddenly mod_perl does not seem to exist in custombuild 2.0. ./build mod_perl just show me the list of the available custombuild commands, and mod_perl is not listed there. I am running custombuild 2.0.0-RC4 - maybe it was removed recently because it's not needed?
 
Yes, you are right. It does not work well with apache 2.4.
 
Back
Top