compiling apache 1.3.14 w/php 4.0.3 (longish)
Mike Rambo
mrambo@lsd.k12.mi.us
Thu, 30 Nov 2000 08:44:17 -0500
Mike Rambo wrote:
>
> Dpk wrote:
> >
> > On Tue, Nov 28, 2000 at 12:39:42PM -0500, Mike Rambo wrote:
> >
> > Dpk wrote:
> >
> > Try the following for the make command:
> >
> > env CPPFLAGS="-I /usr/local/include" LDFLAGS="-L /usr/local/lib" make
> >
> > I have never had to do it this way, could it be that you missed the
> > following option for the PHP ./configure ?
> >
> > --with-apache=../apache_1.3.14
> >
> > Dennis
> >
>
> I figured out part of the problem. The book I'm using is for
> php3 so I was trying to adjust for things as I went along.
> I made a wrong assumption.
>
> The --activate-module line has to be libphp4.a and not libmodphp4.a.
<snip>
>
> Looks like it whining about libmysqlclient.a to me. I am using a
> Linux binary I got from php.net. Should I do this from source too?
>
<update>
I finally got everything to compile last night - though I
haven't really done much to test it yet.
My first error, as I indicated, was the --activate-module item above.
The other problem was that libmysqlclient.so was missing. I ended
up getting mysql sources and going from scratch instead of using
the binaries mysql seems to recommend.
Anyway, it finally compiled without any errors. Hopefully it'll
work too ;-).
Thanks Dennis and Sean for the help.
--
Mike Rambo
mrambo@lsd.k12.mi.us