Vincent Bruijnes wrote:
>
> Dear mod_perl users.
>
> Is it possible to have an apache with --enable-shared=max and mod_perl
> statically linked?
> If yes please tell me how to do, i need mod_perl statically cause otherwise
> my Apache::ASP won't work.
>
Vincent,
Its would seem to me that the standard build procedure at
http://perl.apache.org/guide/install.html would result in
you statically linked mod_perl + apache, but I don't know
about --enable-shared=max ? If you have problems getting this
to work, you might want to post the errors you are getting?
Standard build [ from guide ]:
% cd /usr/src
% lwp-download http://www.apache.org/dist/apache_x.x.x.tar.gz
% lwp-download http://perl.apache.org/dist/mod_perl-x.xx.tar.gz
% tar xzvf apache_x.x.x.tar.gz
% tar xzvf mod_perl-x.xx.tar.gz
% cd mod_perl-x.xx
% perl Makefile.PL APACHE_SRC=../apache_x.x.x/src \
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
% make && make test && make install
% cd ../apache_x.x.x
% make install
Note that with USE_APACI=1 set, you may pass in extra apache
build arguments: [ from guide again, I'm on a roll ]
% perl Makefile.PL USE_APACI=1 \
APACI_ARGS='--sbindir=/usr/local/sbin/httpd_perl, \
--sysconfdir=/usr/local/etc/httpd_perl, \
--localstatedir=/usr/local/var/httpd_perl, \
--runtimedir=/usr/local/var/httpd_perl/run, \
--logfiledir=/usr/local/var/httpd_perl/logs, \
--proxycachedir=/usr/local/var/httpd_perl/proxy'
Sorry if this was less than helpful, but noone else picked
up this post on the list, so I thought I'd give it a shot :)
-- Joshua
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks >> free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051