Subject: Re: problems compiling php-mysql
To: Kevin <kev@drule.org>
From: Todd Vierling <tv@pobox.com>
List: port-alpha
Date: 08/31/1999 15:50:34
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'.

-- 
-- Todd Vierling (tv@pobox.com)