problems compiling php-4.3.1

Doug Brewer yellowdog-general@lists.terrasoftsolutions.com
Mon May 19 14:58:01 2003


I haven't tried this configure option but I believe this would work to
remove mysql support:

./configure --without-mysql

http://www.faqts.com/knowledge_base/view.phtml/aid/14087/fid/33

Doug

-----Original Message-----
From: yellowdog-general-admin@lists.terrasoftsolutions.com
[mailto:yellowdog-general-admin@lists.terrasoftsolutions.com] On Behalf
Of Harold Shanafield
Sent: Monday, May 19, 2003 1:59 PM
To: yellowdog-general@lists.terrasoftsolutions.com
Subject: Re: problems compiling php-4.3.1


I installed mysql-devel, along with a whole bunch of
other devels.  still no luck.  I am doing a straight ./configure, no
parameters, is there something I should specify? Here's the error again:


make: *** Waiting for unfinished jobs....
ext/mysql/libmysql/my_tempnam.o: In function
`my_tempnam':
/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103:
the use of `tempnam' is dangerous, better use
`mkstemp'
ext/mysql/libmysql/my_lib.o: In function `my_dir':
/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_lib.c:169:
undefined reference to `errno'
/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_lib.c:169:
undefined reference to `errno'
ext/mysql/libmysql/my_lib.o: In function `my_stat':
/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_lib.c:588:
undefined reference to `errno'
/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_lib.c:588:
undefined reference to `errno'
ext/mysql/libmysql/my_malloc.o: In function
`my_malloc':
/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24:
undefined reference to `errno'
ext/mysql/libmysql/my_malloc.o:/usr/local/src/php-4.3.1/ext/mysql/libmys
ql/my_malloc.c:24:
more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

Thanks,
Harold

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
_______________________________________________
yellowdog-general mailing list
yellowdog-general@lists.terrasoftsolutions.com
http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general