Building php4 module with midgard support failed on SuSE system
1. copied source from midgard-php4-1.4.2 to php4.0.6/ext/midgard/
2. changed every AC_ADD_LIBRARIES to PHP_ADD_LIBRARIES
in ext/midgard/config.m4 to avoid configure errors
3. ./mkall in ext/midgard [no errors]
4. ./configure without errors, debug.log is empty
5. make depend brings one warning
[snip]--------------------------------------------------------------------
make[4]: Leaving directory `/usr/src/lamp/php-4.0.6/ext/pcre/pcrelib'
/usr/src/lamp/php-4.0.6/ext/pcre/pcrelib/pcregrep.c:12: config.h:
No such file or directory
pcregrep.c:12: config.h: No such file or directory
[snip] -------------------------------------------------------------------
6. make brings errors:
[snip] -------------------------------------------------------------------
make[1]: Entering directory `/usr/src/lamp/php-4.0.6'
make[1]: *** No rule to make target `ext/midgard/libmidgard.la',
needed by `libphp4.la'. Stop.
make[1]: Leaving directory `/usr/src/lamp/php-4.0.6'
make: *** [all-recursive] Error 1
[snip] -------------------------------------------------------------------
What is libmidgard.la ?
Something went wrong through the changes in config.m4 ?
I used the sources:
midgard-lib-1.4.2.tar.bz2
midgard-data-1.4.2.tar.bz2
midgard-php4-1.4.2.tar.bz2
mod_midgard-1.4.2.tar.bz2
mod_midgard-preparse-1.4.2.tar.bz2
Any files missing ?
./configure was:
--prefix=/usr/local \
--with-mysql=/usr/local\
--with-expat=/usr/local \
--with-sysconfdir=/etc/httpd \
--with-midgard=/usr/local \
--with-zlib \
--with-gd \
--with-openssl=/usr/local \
--with-apxs \
--with-freetype \
--with-ttf \
--with-jpeg \
--with-xml \
--with-system-regex \
--enable-versioning \
--enable-track-vars \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sysvsem \
--enable-sysvshm \
--enable-thread-safety
--
Bernhard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]