problems compiling php-4.3.1

Ken Schweigert yellowdog-general@lists.terrasoftsolutions.com
Mon May 19 10:08:07 2003


On Mon, May 19, 2003 at 08:25:21AM -0700, Harold Shanafield wrote:
> 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'
> can anybody help me out?  Should I try editing that
> file to mkstemp?  

Do you have the mysql-devel RPM installed?  If not, try installing
it and see if it fixes it.

-ken

> 
> TIA,
> Harold
> 

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