problems compiling php-4.3.1

Ken Schweigert yellowdog-general@lists.terrasoftsolutions.com
Mon May 19 14:45:00 2003


On Mon, May 19, 2003 at 12:59:13PM -0700, Harold Shanafield wrote:
> 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:

By chance was glibc-devel and kernel-headers two of the RPMs you installed?
errno.h is included in both of those packages.

-ken

> 
> 
> 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'

-- 
Ken Schweigert, Network Administrator
Byte Productions, LLC
http://www.byte-productions.com