configuring apache 2.2 statically

configuring apache 2.2 statically

am 10.07.2007 05:58:24 von dave

Hello,
I'm trying to configure apache 2.2.4 on FreeBSD. I have unique
requirements for this box so i'm not using the port. I need to compile
everything statically so nothing uses shared libraries. On the configure
line i've tried:

--enable-static-support
--enable-static-support=yes

i've also tried the above with variants of --enable-static-programname
htpasswd, htdigest, etc. The problem is everything configures and builds,
but when i check the installation the executables are all dynamically
linked.
Any suggestions appreciated.
Thanks.
Dave.

Re: configuring apache 2.2 statically

am 10.07.2007 12:26:45 von Warren Oates

In article <469303e0$0$16601$4c368faf@roadrunner.com>,
"Dave" wrote:

> i've also tried the above with variants of --enable-static-programname
> htpasswd, htdigest, etc. The problem is everything configures and builds,
> but when i check the installation the executables are all dynamically
> linked.
> Any suggestions appreciated.

Don't you have to explicitly _disable_ shared libraries

../configure --with-whatever --disable-shared

like that? Although, I'd guess you tried that.
--
W. Oates

Re: configuring apache 2.2 statically

am 10.07.2007 22:13:06 von dave

Hello,
Yes. I did:

../configure --prefix=location --disable-shared --enable-static-support

and the original variants. I keep getting dynamic executables.
Thanks.
Dave.

"Warren Oates" wrote in message
news:46935f52$0$26860$c3e8da3@news.astraweb.com...
> In article <469303e0$0$16601$4c368faf@roadrunner.com>,
> "Dave" wrote:
>
>> i've also tried the above with variants of --enable-static-programname
>> htpasswd, htdigest, etc. The problem is everything configures and builds,
>> but when i check the installation the executables are all dynamically
>> linked.
>> Any suggestions appreciated.
>
> Don't you have to explicitly _disable_ shared libraries
>
> ./configure --with-whatever --disable-shared
>
> like that? Although, I'd guess you tried that.
> --
> W. Oates