February 22nd, 2002, 01:24 PM
I have mod_perl and apache from ports
I need to build mod_perl into apache not as DSO
February 22nd, 2002, 02:33 PM
Then run make extract in /usr/ports/www/mod_perl and cd to the work/mod_perl-1.26 directory and read the INSTALL file. You can remove BUILD_DEPENDS, RUN_DEPENDS and change USE_APXS to 0 and so on from the Makefile at /usr/ports/www/mod_perl. Just read the INSTALL file.
Don't forget, you also need to make extract your apache13 src and rebuild it statically.
Why you need to build mod_perl statically? If you don't have a valid reason, just don't do it. Perl is a very critical utility in FreeBSD, a slight misconfiguration to mod_perl can break your entire OS.
Last edited by freebsd; February 22nd, 2002 at 02:39 PM.
February 22nd, 2002, 03:12 PM
sorry very tired
but mod_perl is not recommended to be run as dso
cause of tons of bugs
thanks for your answer
but you say rebuild apache statically ?
February 22nd, 2002, 03:46 PM
>> but mod_perl is not recommended to be run as dso cause of tons of bugs
Who told you that? And that's why you should install mod_perl from the ports collection as patches and installation procedures and all the hard works are already done by that port maintainer for you.
It's your choice if you choose the other way. So don't ask for help but yourself if you choose to do it differently.
February 22nd, 2002, 04:00 PM
thats why I asked
I will keep my current.
and investigate later.
February 23rd, 2002, 04:43 AM
httpd -l <<that shows the statically linked modules?
ie: for me returns
and if mod_perl was static it would be there