Subject: Re: problems compiling php-mysql
To: None <kev@drule.org, tv@pobox.com>
From: Ross Harvey <ross@teraflop.com>
List: port-alpha
Date: 08/31/1999 13:35:41
> From: Todd Vierling <tv@pobox.com>
>
> On Sat, 28 Aug 1999, Kevin wrote:
>
> : In the Makefile I made one change to get it through the configure 
> : script.  The mysql directory needed to be changed from /usr/pkg to /usr/local
> : 
> : CONFIGURE_ARGS+=--with-mysql=/usr/local
>
> ! If you're using mysql from pkgsrc, then your LOCALBASE should point to the
> same prefix used for mysql.
>
> : ===>  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 -o mysql.so mysql.o -L/usr/local/lib/mysql 
> : -R/usr/local/lib/mysql -lmysqlclient
> : mysql.c: In function `php3_mysql_do_connect':
> : mysql.c:574: warning: cast from pointer to integer of different size
>
> I don't see how this `dies'.


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.

	ross.harvey@computer.org