Thought since I had so much trouble compiling 1.4beta5a with my PHP4 that I
should get beta5b and recompile. I encountered the following errors while
compiling mod_midgard. This issue only occurs when I compile midgard-lib
with pagelinks:

> make distclean
>
./configure --prefix=/usr --with-apache=/usr --with-midgard=/usr --with-mysq
l=/usr --with-expat=/usr
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking for apxs... /usr/sbin/apxs
checking for gcc... gcc
checking whether the C compiler (gcc  -I/usr/lib/glib/include ) works... yes
checking whether the C compiler (gcc  -I/usr/lib/glib/include ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for /etc/mandrake-release... yes
Linux Mandrake release 6.1 (Helios) found - using special setup
checking for mgd_connect in -lmidgard... yes
checking for mgd_init in -lmidgard... yes
checking for mgd_select_parser in -lmidgard... yes
checking how to run the C preprocessor... gcc -E
checking for midgard.h... yes
checking for working const... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
> make
/usr/sbin/apxs -c -DHAVE_MANDRAKE=1 -DHAVE_LIBMIDGARD=1 -DHAVE_MIDGARD_INIT=
1 -DHAVE_MIDGARD_PARSER=1 -DHAVE_MIDGARD_H=1  -I/usr/include  -L/usr/lib -L/
usr/lib/mysql -L/usr/lib -L/usr/lib -lglib -lmidgard mgd_apache.c
gcc -DLINUX=2 -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/i
nclude/apache -I/usr/include -DHAVE_MANDRAKE=1 -DHAVE_LIBMIDGARD=1 -DHAVE_MI
DGARD_INIT=1 -DHAVE_MIDGARD_PARSER=1 -DHAVE_MIDGARD_H=1  -c mgd_apache.c
gcc -shared -o mgd_apache.so
mgd_apache.o -L/usr/lib -L/usr/lib/mysql -L/usr/lib -L/usr/lib -lglib -lmidg
ard
/usr/sbin/apxs -c -DHAVE_MANDRAKE=1 -DHAVE_LIBMIDGARD=1 -DHAVE_MIDGARD_INIT=
1 -DHAVE_MIDGARD_PARSER=1 -DHAVE_MIDGARD_H=1  -I/usr/include  -L/usr/lib -L/
usr/lib/mysql -L/usr/lib -L/usr/lib -lglib -lmidgard mod_midgard.c
mgd_apache.o
gcc -DLINUX=2 -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/i
nclude/apache -I/usr/include -DHAVE_MANDRAKE=1 -DHAVE_LIBMIDGARD=1 -DHAVE_MI
DGARD_INIT=1 -DHAVE_MIDGARD_PARSER=1 -DHAVE_MIDGARD_H=1  -c mod_midgard.c
mod_midgard.c: In function `midgard_find_pathelement':
mod_midgard.c:711: structure has no member named `page'
mod_midgard.c:711: `tok' undeclared (first use in this function)
mod_midgard.c:711: (Each undeclared identifier is reported only once
mod_midgard.c:711: for each function it appears in.)
apxs:Break: Command failed with rc=65536
make: *** [mod_midgard.so] Error 1

Hope this is a known bug. FYI... I have come up with a usually successful
means of getting Midgard 1.4beta5 and PHP 4.0.2 to work together, although
PHP4 requires a static module build into Apache and leaves alot of mess
behind which makes building a subsequent Midgard difficult. I have not
successfully found a way to get Midgard and PHP4.0.2 to work with dynamic
modules (which I'd like to see if someone has done it). I believe this is a
known issue. If anyone is having problems or desires to get both working,
let me know, and I will post my recommendations.

Fred Hirsch
Dark Hart Design


--
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]

Reply via email to