> I did a cvs checkout of midgard, got the whole thing.
>
> 1) the cvs lib configured, made and installed.
> 2) the cvs mod would not configure as there is no configure file.
Run autoconf in that directory and it'll create it for you.
> 3) the cvs php configured, made and installed but apache still will
> not compile. viz.
>
> gcc -c -I../../os/unix -I../../include -DLINUX=2 -DMOD_SSL=206102
> -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../../lib/expat-lite `../../apaci`
> mod_php3.c mod_php3.c:49: php.h: No such file or directory make[4]:
> *** [mod_php3.o] Error 1 make[3]: *** [all] Error 1 make[2]: ***
> [subdirs] Error 1 make[2]: Leaving directory
> `/usr/local/src/apache_1.3.12/src'
>
> To get past this, I had to copy *.h from cvs/midgard/php to
> /usr/include. I also had to copy the /cvs/midgard/php/regex
> directory to /usr/include/regex.
You could also have copied them to apache_1.3.12/src/modules/php3. I
have
seen this problem before BTW but do not know what causes it.
> After that, apache compilation proceeded a bit farther on, till:
>
> gcc -DLINUX=2 -DMOD_SSL=206102 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT
> -I./lib/expat-lite
> `./apaci` -L/usr/local/ssl/lib -rdynamic \
> -o httpd buildmark.o modules.o modules/standard/libstandard.a
> modules/ssl/libssl.a modules/php3/libphp3.a main/libmain.a
> ./os/unix/libos.a ap/libap.a regex/libregex.a
> lib/expat-lite/libexpat.a -Wl,-rpath,/usr/include/postgresql/lib
> -lmysqlclient -L/usr/include/postgresql/lib -lpq -Lmodules/php3
> -L../modules/php3 -L../../modules/php3 -lmodphp3
> -lpam -lm -ldl -lcrypt -lresolv -lm -lcrypt -lssl -lcrypto -ldb
> -ldl
> modules/php3/libphp3.a(midgard.o): In function `php3_midgard_rcfg':
> /root/cvs/midgard/php/functions/midgard.c:68: undefined reference to
> `mgd_lib_match'
[.... I got the picture after the first 100 lines or so ....]
> to `mgd_tree_find'
> collect2: ld returned 1 exit status
> make[2]: *** [target_static] Error 1
> make[2]: Leaving directory `/usr/local/src/apache_1.3.12/src'
> make[1]: *** [build-std] Error 2
> make[1]: Leaving directory `/usr/local/src/apache_1.3.12'
> make: *** [build] Error 2
>
> This seems to be the exact same problem that I encountered
> yesterday with Midgard 1.2.5.
>From the looks of it you're not linking in libmidgard.
If you want to build the midgard modules into apache (which is
what it looks like you're doing), have a look at the specfile of
the monster package, which does just that.
Emile
--
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]