Subject: Re: problems compiling php-mysql
To: None <firstname.lastname@example.org, email@example.com>
From: Ross Harvey <firstname.lastname@example.org>
Date: 08/31/1999 18:24:38
> From email@example.com Tue Aug 31 17:33:41 1999
> Date: Tue, 31 Aug 1999 19:33:14 -0500
> To: Ross Harvey <firstname.lastname@example.org>, email@example.com
> >Possible answer: what's happening is that the compiler's memory footprint
> >has exploded, forward progress has stalled, and the last thing printed was a
> >non-fatal warning. (And which I think has been fixed.)
> >Try this without the -O.
> Okay, I removed the only "-o" that was in the packages's makefile. Now
> it shows a real fatal error, but I am no closer to a fix. `mysql.so` is not
> on the system anywhere, should it be?
> TIA for any help you can provide.
> kev 7:15pm /usr/pkgsrc/www/php3-mysql>sudo make
> ===> Building for php-mysql-3.0.7
> cd /usr/pkgsrc/www/php3-mysql/work/php-3.0.7/functions && cc -O2 -c -I..
> -I. -I/usr/local/include/mysql -fPIC -DPIC -DCOMPILE_DL mysql.c && ld
> -Bshareable mysql.so mysql.o -L/usr/local/lib/mysql -R/usr/local/lib/mysql
> mysql.c: In function `php3_mysql_do_connect':
> mysql.c:574: warning: cast from pointer to integer of different size
> ld: cannot open mysql.so: No such file or directory
> *** Error code 1
Uhh -O is not the same as -o, I meant, get rid of the -O*, in this case, -O2.
You can't touch the -o use.