Re: Trouble with Makefile.PL

Fred Moyer <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAHrynWA8FSP3BDG+cL4r6CEfqwQ+9CdZC-S1c_NEL4HJeFAdsw@mail.gmail.com>
You might want to give 2.0.6 a go, which was released a few weeks ago.
However, you'll need Apache 2.2.x, as 2.4 compatibility isn't working
yet.

On Mon, May 14, 2012 at 2:18 PM, Furst, Carl <[email protected]> wrote:
> Hello all,
>
> I'm having a lot of trouble trying to statically build mod_perl and apache
> on Solaris 10 Sparc. I get the following error when I try and build
> statically:
>
> Configuring Apache/2.4.2 mod_perl/2.0.5 Perl/v5.12.3
> [  error] Failed to obtain the MPM name. Please specify
> MP_APXS=/full/path/to/apxs to solve this problem.
>
>
> Here is the command I am using:
>
> CC=`which gcc` CPP="`which gcc` -E" perl Makefile.PL
> MP_AP_PREFIX=$HOME/httpd-2.4.2 MP_USE_STATIC=1 MP_AP_CONFIGURE=" \
> --prefix=/cms/usr/local/www \
> --with-ssl=/opt/mlb \
> --enable-static-support \
> --enable-mods-shared='most' --with-mpm=prefork \
> --enable-mods-static='perl ssl so prefork cgi' \
>
> `which gcc` yields: /usr/local/bin/gcc
> It's version :
> Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
> Configured with: ../configure --with-as=/usr/ccs/bin/as
> --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
> Thread model: posix
> gcc version 3.4.6
>
> Perl –V compiler section:
> Compiler:
>     cc='gcc -B/usr/ccs/bin/', ccflags ='-fno-strict-aliasing -pipe
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
>     optimize='-O',
>     cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
>     ccversion='', gccversion='3.4.6', gccosandvers='solaris2.10'
>     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
>     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
>     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
> lseeksize=8
>     alignbytes=8, prototype=define
>
>
> Any ideas? I don't have apache currently installed and the docs said I
> didn't need it. However this would indicate that I would.
>
> Many thanks in advance.
>
> Carl Furst
>
>
>
>
>
>
> **********************************************************
>
> MLB.com: Where Baseball is Always On
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.