On 29-Jul-2001 Tom Cruickshank wrote:
> Hello,
> I am not sure if this is the right mailing list but since it's a
> mysql related problem,
> I thought I'd give it a shot..
>
>
> I am installing apache on my linux box with php4 capabilities. When I
> configured php4
> I added the mysql option...in short..something like this...
>
>
> gunzip apache_1.3.x.tar.gz
> tar xvf apache_1.3.x.tar
> gunzip php-x.x.x.tar.gz
> tar xvf php-x.x.x.tar
> cd apache_1.3.x
> ./configure --prefix=/www
> cd ../php-x.x.x
> ./configure --with-mysql=../mysql --with-apache=../apache_1.3.x
> --enable-track-vars
> make
> make install
> cd ../apache_1.3.x
> ./configure --activate-module=src/modules/php4/libphp4.a
> make
>
> unfortunately, when I try make in apache, I get to this error
>
> gcc -c -I./os/unix -I./include -DLINUX=22 -I/usr/share/apps/php-4.0.6
> -I/usr/share/apps/php-4.0.6/main -I/usr/share/apps/php-4.0.6/main
> -I/usr/share/apps/php-4.0.6/Zend -I/usr/share/apps/php-4.0.6/Zend
> -I/usr/share/apps/php-4.0.6/TSRM -I/usr/share/apps/php-4.0.6/TSRM
> -I/usr/share/apps/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
> `./apaci` modules.c
> gcc -c -I./os/unix -I./include -DLINUX=22 -I/usr/share/apps/php-4.0.6
> -I/usr/share/apps/php-4.0.6/main -I/usr/share/apps/php-4.0.6/main
> -I/usr/share/apps/php-4.0.6/Zend -I/usr/share/apps/php-4.0.6/Zend
> -I/usr/share/apps/php-4.0.6/TSRM -I/usr/share/apps/php-4.0.6/TSRM
> -I/usr/share/apps/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
> `./apaci` buildmark.c
> gcc -DLINUX=22 -I/usr/share/apps/php-4.0.6
> -I/usr/share/apps/php-4.0.6/main -I/usr/share/apps/php-4.0.6/main
> -I/usr/share/apps/php-4.0.6/Zend -I/usr/share/apps/php-4.0.6/Zend
> -I/usr/share/apps/php-4.0.6/TSRM -I/usr/share/apps/php-4.0.6/TSRM
> -I/usr/share/apps/php-4.0.6 -DUSE_EXPAT -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/share/apps/mysql/lib
> -rdynamic -L/usr/share/apps/mysql/lib -Lmodules/php4 -L../modules/php4
> -L../../modules/php4 -lmodphp4 -lpam -ldl -lmysqlclient -lcrypt -lresolv
> -lm -ldl -lnsl -lresolv -lm -lcrypt
> /usr/share/apps/mysql/lib/libmysqlclient.a(my_compress.o): In function
> `my_uncompress':
> my_compress.o(.text+0x9a): undefined reference to `uncompress'
> /usr/share/apps/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 `/usr/share/apps/apache_1.3.20/src'
> make[1]: *** [build-std] Error 2
> make[1]: Leaving directory `/usr/share/apps/apache_1.3.20'
> make: *** [build] Error 2
> [root@test apache_1.3.20]#
>
> Would anyone have any ideas! Thanks!
>
the archives.
http://lists.mysql.com/cgi-ez/ezmlm-cgi?1:mss:50518
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
(53kr33t w0rdz: sql table query)
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php