RE: [PHP-INST] problems installing latest version of php

From: Date: Wed, 16 Apr 2003 02:38:54 +0000
Subject: RE: [PHP-INST] problems installing latest version of php
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-10639@lists.php.net to get a copy of this message
Add '#include <errno.h>' to the top of each of the following files php-4.3.1/ext/mysql/libmysql/my_lib.c php-4.3.1/ext/mysql/libmysql/my_malloc.c php-4.3.1/ext/mysql/libmysql/my_tempnam.c php-4.3.1/ext/mysql/libmysql/my_realloc.c php-4.3.1/ext/mysql/libmysql/my_delete.c php-4.3.1/ext/mysql/libmysql/my_error.c php-4.3.1/ext/mysql/libmysql/my_getwd.c php-4.3.1/ext/mysql/libmysql/my_once.c php-4.3.1/ext/mysql/libmysql/safemalloc.c -----Original Message----- From: John F. Godfrey, Pastor [mailto:johnfg@ameritech.net] Sent: Tuesday, April 15, 2003 6:59 PM To: php-install@lists.php.net Subject: [PHP-INST] problems installing latest version of php I'm endeavoring to install php 4.3.1 with Mysql 4.0.12 and Redhat Linux 9.0. Here's the error messages I keep getting at the end of the make, when I've bombed out. ext/mysql/libmysql/my_tempnam.lo(.text+0x4c): In function `my_tempnam': /usr/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.lo(.text+0x3d1): In function `my_dir': /usr/src/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno' ext/mysql/libmysql/my_lib.lo(.text+0x5ef): In function `my_stat': /usr/src/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno' ext/mysql/libmysql/my_malloc.lo(.text+0xde): In function `my_malloc': /usr/src/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno' ext/mysql/libmysql/my_realloc.lo(.text+0xd5): In function `my_realloc': /usr/src/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno' ext/mysql/libmysql/my_delete.lo(.text+0x86): In function `my_delete': /usr/src/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno' ext/mysql/libmysql/my_tempnam.lo(.text+0x89):/usr/src/php-4.3.1/ext/mysql/li bmysql/my_tempnam.c:108: more undefined references to `errno' follow collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 I'd appreciate any suggestions and/or help! Thanks so much! pastor john -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.install (#10639) next »