Subject: problems compiling php-mysql
To: None <tech-ports@netbsd.org>
From: Kevin <kev@drule.org>
List: port-alpha
Date: 08/28/1999 20:43:58
Little problem compiling php-mysql on my 1.4 alpha system.  php, ap-php, 
and mysql-clent/server all compiled and installed fine.  This is the last 
one i need and it dies on the 1st compile operation.  Anyone know of a fix?


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


...
===>  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

kev 9:45am /usr/pkgsrc/www/php3-mysql>uname -a
NetBSD padrino 1.4 NetBSD 1.4 (PADRINO) #0: Fri May 21 20:46:34 CDT 
1999     root@padrino:/usr/src/sys/arch/alpha/compile/PADRINO alpha


---
Kevin