Using flags with portinstall of apache?

Derek Ragona derek at computinginnovations.com
Wed Apr 16 16:38:33 UTC 2008


At 11:16 AM 4/16/2008, Dr. Jennifer Nussbaum wrote:

>--- Barry Byrne <barry.byrne at wbtsystems.com> wrote:
>
> >
> >
> > > -----Original Message-----
> > > From: owner-freebsd-questions at freebsd.org
> > > [mailto:owner-freebsd-questions at freebsd.org] On
> > Behalf Of Dr.
> > > Jennifer Nussbaum
> >
> > > --- Derek Ragona <derek at computinginnovations.com>
> > > wrote:
> > >
> > > > At 10:09 AM 4/16/2008, Dr. Jennifer Nussbaum
> > wrote:
> > > > >Hi,
> > > > >
> > > > >Im having trouble doing a simple Apache22
> > install.
> > > > >
> > > > >I first installed it just using "portinstall
> > > > apache".
> > > > >Then i saw that i needed to specify "flags"
> > during
> > > > hte
> > > > >process, to get the modules i wan't, but i cant
> > > > figure
> > > > >out how to do it.
> > > > >
> > > > >I first did a pkg_delete of apache to start
> > over
> > > > from
> > > > >scratch.
> > > > >
> > > > >Then i tried to add the flags i wanted:
> > > > ># portinstall -m "WITH_PROXY_MODULES=yes
> > > > >WITH_SSL_MODULES=yes" apache
> > > > >
> > > > >But this didnt work--it didnt build the proxy
> > > > modules.
> > > > >
> > > > >I tried again putting those flags in
> > /etc/make.conf
> > > > >but its STILL not building the proxy modules.
> > > > >
> > > > >How am I supposted to do this?!?
> > > >
> > > > If you want SSL, you need to install that port
> > > > first.  Also be sure you
> > > > close your double quotes.
> > >
> > > Well thats just the thing- i somehow got SSL
> > installed
> > > the first time, and it installs now, but its the
> > > proxy modules that arent installing now.
> > >
> > > Jen
> >
> > You might want to try adding the following to your
> > options:
> >
> > 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

Did you try:
cd /usr/ports/www/apache22
make config

and choose the options you want?

Then do:
make install

         -Derek

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the freebsd-questions mailing list