Using flags with portinstall of apache?

Barry Byrne barry.byrne at wbtsystems.com
Wed Apr 16 16:39:23 UTC 2008


> > > > >
> > > > >Then i tried to add the flags i wanted:
> > > > ># portinstall -m "WITH_PROXY_MODULES=yes
> > > > >WITH_SSL_MODULES=yes" apache
> > WITHOUT_APACHE_OPTIONS=yes
> 
> I tried this too, and it doesnt help...
> 
> Whether in /etc/make.conf or passed with -m as an
> option to portinstall, it just doesnt want to build
> the proxy modules. I dont know why....
> 
> In my make output, I get:
> 
> ...
> checking whether to enable mod_setenvif... shared
> checking whether to enable mod_version... shared
> checking whether to enable mod_proxy... no
> checking whether to enable mod_proxy_connect... no
> checking whether to enable mod_proxy_ftp... no
> checking whether to enable mod_proxy_http... no
> checking whether to enable mod_proxy_ajp... no
> checking whether to enable mod_proxy_balancer... no
> ..
> 
> No matter what i do :-(
> 
> Jen

Are you sure you're working on apache22 rather than v13 or v20?

I never use portinstall, just run make directly in the port directory.

Maybe something like:

 cd /usr/ports/www/apache22
 make clean
 make WITH_PROXY_MODULES=yes WITH_SSL_MODULES=yes WITHOUT_APACHE_OPTIONS=yes
install clean

Alternatively, 

 cd /usr/ports/www/apache22
 make clean
 make config
 make install clean

Should allow you to select the appropriate options.

 - barry



More information about the freebsd-questions mailing list