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