> Hello,
>
> I must use the CVS PHP4 version (some new features) and the CVS midgard
> version of 20.03.2001
>
> Now for the compilation of lib and mod no problems.
>
> But when I want to compile PHP4 with midgard with :
>
> ../configure --enable-track-vars --with-gd --with-cpdflib --with-mysql --with
> -apxs --with-tiff --with-png --with-jpeg --with-zlib --with-midgard
> I always the same error :
>
> Failed to start apache : Starting httpd: Syntax error on line 256 of
> /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/libphp4.so into
> server: undefined symbol: __setjmp [FAILED]
> But if I compile PHP4 without midgard it's ok
>
> ../configure --enable-track-vars --with-gd --with-cpdflib --with-mysql --with
> -apxs --with-tiff --with-png --with-jpeg --with-zlib
>
> I get PHP4 but sniff... without the best.
>
> After if I try to run ./mkall ind /php4/ext/midgard the result is :
>
> make: *** [install-recursive] Error 1
>
> So, a other try to compile with midgard :
>
> ../configure --enable-track-vars --with-gd --with-cpdflib --with-mysql --with
> -apxs --with-tiff --with-png --with-jpeg --with-zlib --with-midgard
>
> and after ./mkall
>
> now I have the midgard.so, I save it and recompile PHP4 without midgard.
>
> Apache start successfully, but the error log give this:
>
> PHP Warning: Invalid library (maybe not a PHP library) 'midgard.so' in
> Unknown on line 0
> PHP Warning: Invalid library (maybe not a PHP library) 'midgard.so' in
> Unknown on line 0
> [Tue Mar 20 20:21:48 2001] [notice] Apache/1.3.12 (Unix) (Red Hat/Linux)
> Midgard/1.4.1-dev/SG mod_ssl/2.6.6 OpenSSL/0.9.5a PHP/4.0.5-dev
> mod_perl/1.24 configured -- resuming normal operations
> [Tue Mar 20 20:22:14 2001] [warn] [client 0.0.0.0] Midgard: failed to open
> midgard for midgard
>
> Very strange no !!!
Try to compile Midgard as a self contain extension (once you've compiled and installed
PHP --without-midgard):
cd ext/midgard/
/mkall
then add extension=midgard.so in your php.ini
Does it do the same ?
> thank you to clarify the procedure of this installation.
>
> Regard's,
--
David
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]