mod_perl won't compile

From: Mike Vanecek (MikeV99_at_privacy.net)
Date: 01/27/04

  • Next message: Dan: "Re: Seen this message? Can't connect to local MySQL server through socket '/tmp/mysql.sock'"
    Date: 26 Jan 2004 17:43:09 -0600
    
    

    I am trying to build mod_perl-1.99_08 on a RH 9 system. The make errors. Below
    is my attempt. Can anyone give me an idea of what is wrong and how to fix it?

    [x@mod_perl-1.99_08]$ perl Makefile.PL MP_APXS=/usr/sbin/apxs
    Reading Makefile.PL args from @ARGV
       MP_APXS = /usr/sbin/apxs
    Configuring Apache/2.0.40 mod_perl/1.99_08 Perl/v5.8.1
        generating script t/TEST
    Writing Makefile for Apache::Test
        generating script t/TEST
    Writing Makefile for ModPerl::Registry
    Writing Makefile for APR::Base64
    Writing Makefile for APR::Brigade
    Writing Makefile for APR::Bucket
    Writing Makefile for APR::Date
    Writing Makefile for APR::NetLib
    Writing Makefile for APR::OS
    Writing Makefile for APR::Pool
    Writing Makefile for APR::SockAddr
    Writing Makefile for APR::Socket
    Writing Makefile for APR::String
    Writing Makefile for APR::Table
    Writing Makefile for APR::ThreadMutex
    Writing Makefile for APR::URI
    Writing Makefile for APR::UUID
    Writing Makefile for APR::Util
    Writing Makefile for APR
    Writing Makefile for Apache::Access
    Writing Makefile for Apache::CmdParms
    Writing Makefile for Apache::Command
    Writing Makefile for Apache::Connection
    Writing Makefile for Apache::Directive
    Writing Makefile for Apache::Filter
    Writing Makefile for Apache::FilterRec
    Writing Makefile for Apache::HookRun
    Writing Makefile for Apache::Log
    Writing Makefile for Apache::Module
    Writing Makefile for Apache::Process
    Writing Makefile for Apache::RequestIO
    Writing Makefile for Apache::RequestRec
    Writing Makefile for Apache::RequestUtil
    Writing Makefile for Apache::Response
    Writing Makefile for Apache::Server
    Writing Makefile for Apache::ServerUtil
    Writing Makefile for Apache::SubProcess
    Writing Makefile for Apache::SubRequest
    Writing Makefile for Apache::URI
    Writing Makefile for Apache::Util
    Writing Makefile for Apache
    Writing Makefile for ModPerl::Global
    Writing Makefile for ModPerl::Util
    Writing Makefile for ModPerl
    Writing Makefile for ModPerl::WrapXS
    Writing Makefile for API
    Writing Makefile for APR
    Writing Makefile for APR::Const
    Writing Makefile for APR::PerlIO
    Writing Makefile for APR
    Writing Makefile for Apache::Const
    Writing Makefile for Apache
    Writing Makefile for ModPerl::Const
    Writing Makefile for ModPerl
    Writing Makefile for ModPerl::XS
    Writing Makefile for mod_perl
    *** 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
     
    [x@mod_perl-1.99_08]$ make
    cd "src/modules/perl" && make -f Makefile.modperl
    make[1]: Entering directory
    `/home/x/tmp/mod_perl-1.99_08/src/modules/perl'
    gcc -I/home/x/tmp/mod_perl-1.99_08/src/modules/perl
    -I/home/x/tmp/mod_perl-1.99_08/xs -I/usr/include/httpd -D_REENTRANT
    -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
    -I/usr/local/include -I/usr/include/gdbm
    -I/usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE -DMOD_PERL -O2 -g -pipe
    -march=i386 -mcpu=i686 -fPIC \
    -c mod_perl.c && mv mod_perl.o mod_perl.lo
    gcc -I/home/x/tmp/mod_perl-1.99_08/src/modules/perl
    -I/home/x/tmp/mod_perl-1.99_08/xs -I/usr/include/httpd -D_REENTRANT
    -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
    -I/usr/local/include -I/usr/include/gdbm
    -I/usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE -DMOD_PERL -O2 -g -pipe
    -march=i386 -mcpu=i686 -fPIC \
    -c modperl_interp.c && mv modperl_interp.o modperl_interp.lo
    modperl_interp.c: In function `modperl_interp_new':
    modperl_interp.c:70: structure has no member named `_crypt_struct'
    make[1]: *** [modperl_interp.lo] Error 1
    make[1]: Leaving directory
    `/home/x/tmp/mod_perl-1.99_08/src/modules/perl'
    make: *** [modperl_lib] Error 2

    -- 
      Thanks, Mike.
    

  • Next message: Dan: "Re: Seen this message? Can't connect to local MySQL server through socket '/tmp/mysql.sock'"

    Relevant Pages

    • Help with a Perl 5.8.4 Make Error Message
      ... I am pretty new to building and installing Perl. ... make: Entering directory ... Writing Makefile for threads::shared ... make: Leaving directory ...
      (comp.lang.perl)
    • Help with a Perl 5.8.4 Make Error Message
      ... I am pretty new to building and installing Perl. ... make: Entering directory ... Writing Makefile for threads::shared ... make: Leaving directory ...
      (comp.lang.perl)