Re: Adding an extra Apache DSO module after 'make install'



On Wed, 31 May 2006 11:08:33 +0200
David Landgren <david@xxxxxxxxxxxx> wrote:

Having built an Apache 2.0.58 from ports and watching it run, I realise
that I forgot to include mod_negotiation. Is it possible to return the
the ports directory, rebuild the package,

it comes installed by default.in the precompiled package, in case you havent
done any tweaking of the build params

this time with the addition
module, and simply take the built mod_negotation.so and add it to the
libexec/apache2 directory?

as root, edit /var/db/ports/apache20/options, set to true the one you want (or
add it if not there). If you cant figure which one it is, delete that dir
in /var/db/ports and run make config in the port dir. Then :

cd /usr/ports/www/apache20
make
apachectl stop
make deinstall
make reinstall
apachectl start


Either that, or is there a more general method within the ports
framework of taking a mod_*.c file and converting it to a DSO for
inclusion with httpd after the fact?

there may be if building apache from source outside of ports. For me it's not
worth the effort of trying to figure it out each time.

I.e, if possible I would like to
avoid reinstalling the httpd world, but on the other hand, I don't want
the new .so file to cause a segfault because of some sort of API mismatch.

you'd only have to build apache again (not that bad)... there are actually 116
different mod_ ported individually... it would be cool to have the default ones
that come w/apache too :)

Beto
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: CLARITY re: challenge: end of life for 6.2 is prematurewithbuggy 6.3
    ... If the new php package works fine on your build box, ... For most of the ports this works, ... Even debian has no plus point there (at least in our environment at ... I've had a disk down of course it was in gmirror and the situation ...
    (freebsd-stable)
  • Re: CLARITY re: challenge: end of life for 6.2 is prematurewithbuggy 6.3
    ... If the new php package works fine on your build box, ... For most of the ports this works, ... just my effort with debian is much smaller than fbsd ports. ... I've had a disk down of course it was in gmirror and the situation ...
    (freebsd-stable)
  • Re: YAPIB (was: Drawing graphics on terminal)
    ... > the whole install gets rolled back, and you have to start again ... > package sources without having to go bug the "Official FreeBSD FTP Package ... database, a remote database maintained by FBSD folks, a smaller footprint ... ports where you could specify FROM_PACKAGES or FROM_SOURCE either on the ...
    (freebsd-hackers)
  • Re: Need to build some systems this week. Snapshots?
    ... I then brought in the "freebsd-update" package to update the system, ... So, I changed /etc/rc.conf, rebooted, and ran freebsd-update again. ... wanted to bring in as ports, ... You see, because no updated binary package was available, and I had to ...
    (freebsd-stable)
  • Re: Base packaging
    ... > generate the package list, then we could make it a lot easier to do ... Anything you can do with ports I hope ... you can convert any makefile to understand ports just by adding PORTNAME ... basically if you do make install with one of these modified Makefiles ...
    (freebsd-current)