On 17-Mar-2000 Alexander Bokovoy wrote:
>> Configuring for Apache, Version 1.3.12
>> + using installation path layout: Apache (config.layout)
>> + activated php3 module (modules/php3/libphp3.a)
>> configure:Error: invalid option '--with-midgard'
> Configure script from Apache was absolutely right because
> --with-midgard
> is the option for PHP's configure script. You should add
> --with-midgard
> into bunch of options you've provided to PHP's configure.
Ah, I misunderstood your previous post. I had thought you were
suggesting that I also configure Apache with Midgard. I had already
done so on the cvs version of php.
This is how I configured php:
../configure --with-mysql \
--with-pgsql=/usr/include/postgresql \
--with-apache=/usr/local/src/apache_1.3.12 \
--enable-trackvars \
--with-ftp \
--with-ttf \
--with-zlib-dir \
--with-jpeg-dir \
--with-tiff-dir \
--with-midgard \
--with-midgard-sitegroups \
--enable-safe-mode \
--with-versioning \
--with-x
As I said, this configured, made and installed fine. So did the
midgard libs. The above is a cut 'n paste from the config.status
file in cvs/midgard/php.
However, following the advice I received on this mailing list, i.e.
to manually add the path to the midgard libs into the actual Apache
makefile and to use the install.sh file from the midgard-lib source
to the mod_midgard source, I managed to get both Apache and
mod_midgard to compile and install.
I do want to emphasize that I did a complete cvs checkout today, I
did configure, make and install the midgard libs first. I did
configure (using the --with-midgard option), make and install php.
Both of those were uneventful. I had read the INSTALL documentation
for all of the packages.
> Our Apache module mod_midgard uses regular apxs script so you'll
> either just run
> configure && make && make install && make conf
The cvs version of mod_midgard included neither a configure
file nor install.sh file, unfortunately.
Thanks for your help, it's greatly appreciated. I'm glad to have
Midgard up and running now so I can get on with learning how to use
it.
Cheers,
Rob
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]