On Wed, Mar 21, 2001 at 09:29:56AM +0100, Erwin LEUBAZ wrote:
> 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
Do this:
export CFLAGS="-DHAVE_MIDGARD=1 -DCOMPILE_DL_MIDGARD=1"
and then run ./mkall
There is a bug in PHP4 build environment which effectively prevents
all external extensions (which use phpize script to set up their build
environment) from proper compiling.
> 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 !!!
>
> thank you to clarify the procedure of this installation.
--
Sincerely yours, Alexander Bokovoy
The Midgard Project | www.midgard-project.org | Aurora R&D team
Minsk Linux Users Group | www.minsk-lug.net | www.aurora-linux.com
ALT Linux Team | www.alt-linux.org | Architecte Open Source
-- An idealist is one who helps the other fellow to make a profit.
-- Henry Ford
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]