Re: PHP 4.0.1 -> GD compile error

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: PHP 4.0.1 -> GD compile error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-3852@lists.php.net to get a copy of this message
Hi ! >Did you 'rm config.cache' in between trying different versions of GD? And >do your gd header files match your gd library? Solved the php-4.0.1 compile problem ! Now for the next problem : I'm trying to use both php-3.0.16 and php-4.0.1 as static modules in Apache 1.3.12 and this is how I tries to get it to work : ./configure --activate-module=src/modules/php3/libphp3.a --activate-module=src/modules/php4/libphp4.a --enable-module=expires --enable-module=ssl But when I compile I get bunch of error messages : modules/php4/libphp4.a(configuration-parser.o): In function `cfg_get_long': /home/php/php4/php-4.0.1/main/configuration-parser.y:76: multiple definition of `cfg_get_long' modules/php3/libphp3.a(configuration-parser.tab.o):/usr/src/php-3.0.16/configuration-parser.y:68: first defined here modules/php4/libphp4.a(configuration-parser.o): In function `cfg_get_double': /home/php/php4/php-4.0.1/main/configuration-parser.y:92: multiple definition of `cfg_get_double' modules/php3/libphp3.a(configuration-parser.tab.o):/usr/src/php-3.0.16/configuration-parser.y:84: first defined here modules/php4/libphp4.a(configuration-parser.o): In function `cfg_get_string': /home/php/php4/php-4.0.1/main/configuration-parser.y:108: multiple definition of `cfg_get_string' modules/php3/libphp3.a(configuration-parser.tab.o):/usr/src/php-3.0.16/configuration-parser.y:100: first defined here modules/php4/libphp4.a(configuration-parser.o): In function `cfgparse': /usr/lib/bison.simple:249: multiple definition of `cfgparse' modules/php3/libphp3.a(configuration-parser.tab.o):/usr/local/share/bison.simple:249: first defined here I've tried to use the apxs when I compile the php, but then I got error messages telling me that somethin is wrong whith the apxs. Vennligst hilsen / Regards \\|// (O-O) -----------------------------------------------------oOO--(_)--OOo------ Roar Pettersen Phone: (47) 55304600 Technical Support Fax: (47) 55304601 Heath Comm A/S, Norway E-mail: roar@heathcomm.no ------------------------------------------------------------------------

« previous php.general (#3852) next »