Re: PHP 4.0.6/Apache 1.3.20/MySql 3.24.xx install

From: Date: Sat, 22 Sep 2001 03:45:46 +0000
Subject: Re: PHP 4.0.6/Apache 1.3.20/MySql 3.24.xx install
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68298@lists.php.net to get a copy of this message
I believe 'compress' is in 'zlib' which you'll need to install first, and then use --with-zlib as you configure. (Actually, once you install it PHP will probably automagically find it... Better to just be sure, though.) -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: Bill Brennick <bill@brennick.com> Newsgroups: php.general To: <php-general@lists.php.net> Sent: Thursday, September 20, 2001 4:41 PM Subject: PHP 4.0.6/Apache 1.3.20/MySql 3.24.xx install > (I'm sorry if this is not getting posted in the correct > place, but I'm not sure who/where to turn to...) > > I'm attempting to upgrade my SuSE Linux 7.2 (2.4.x) server > to the new version of PHP 4.0.6, Apache 1.3.20, and the newest MySql... > (From PHP 4.0.4pl1/Apache 1.3.19) > > Here are the (updated) instructions I've gotten from > the PHP site: > > (The actual error I'm getting is further down this email) > > 1. gunzip apache_1.3.x.tar.gz > 2. tar xvf apache_1.3.x.tar > 3. gunzip php-x.x.x.tar.gz > 4. tar xvf php-x.x.x.tar > 5. cd apache_1.3.x > 6. ./configure --prefix=/usr/local/httpd > 7. cd ../php-x.x.x > 8. ./configure --with-mysql=/usr/local/mysql > --with-apache=../apache_1.3.20 --enable-track-vars > 9. make > 10. make install > 11. cd ../apache_1.3.20 > 12. ./configure --activate-module=src/modules/php4/libphp4.a > *13. make > > (All the commands above execute with no problem... > and the error I get, when getting to this stage, > the errors are after this instruction list.) > > > 14. make install > 15. cd ../php-x.x.x > 16. cp php.ini-dist /usr/local/lib/php.ini > 17. Edit your httpd.conf or srm.conf file and add: > AddType application/x-httpd-php .php > > 18. Use your normal procedure for restarting the Apache server. (You must > stop and restart the server, not just cause the server to reload by > use a HUP or USR1 signal.) > ========================================= > > > The error I get when attempting to install these apps: > > > gcc -DLINUX=22 -I/root/php-4.0.6 -I/root/php-4.0.6/main > -I/root/php-4.0.6/main -I/root/php-4.0.6/Zend -I/root/php-4.0.6/Zend > -I/root/php-4.0.6/TSRM -I/root/php-4.0.6/TSRM -I/root/php-4.0.6 -DUSE_EXPA T > -I./lib/expat-lite -DNO_DL_NEEDED ./apaci \ > -o httpd buildmark.o modules.o modules/standard/libstandard.a > modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a > ap/libap.a lib/expat-lite/libexpat.a -Wl,-rpath,/usr/local/mysql/lib > -rdynamic -L/usr/local/mysql/lib -Lmodules/php4 -L../modules/php4 > -L../../modules/php4 -lmodphp4 -ldl -lmysqlclient -lcrypt -lresolv -lm > -ldl -lnsl -lresolv -lm -lcrypt > /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function > `my_uncompress': > my_compress.o(.text+0x9a): undefined reference to `uncompress' > /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function > `my_compress_alloc': > my_compress.o(.text+0x12a): undefined reference to `compress' > collect2: ld returned 1 exit status > make[2]: *** [target_static] Error 1 > make[2]: Leaving directory `/root/apache_1.3.20/src' > make[1]: *** [build-std] Error 2 > make[1]: Leaving directory `/root/apache_1.3.20' > make: *** [build] Error 2 > > > > Any ideas/help/assistance would be greatly appreciated... > > Thank you... > - Bill >

« previous php.general (#68298) next »