problems compiling php-4.3.1

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


These errors are from php's built-in mysql support. You could try
compiling without mysql support if you do not need it...this is
configure option I believe.

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 9:25 AM
To: yellowdog-general@lists.terrasoftsolutions.com
Subject: problems compiling php-4.3.1


I am trying to compile php 4.3.1 as a requirement for
another package.  The configure step goes smoothly
after adding a few packages, but I get this error when
I try and  make:

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/cgi/php] Error 1

can anybody help me out?  Should I try editing that
file to mkstemp?  

TIA,
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