ID: 10269
Updated by: mysql
Status: Closed
Bug Type: Compile Failure
PHP Version: 4.0.4pl1
Assigned To: 

To compile my_getwd.c, you must either have the
getcwd() or getwd() library call in the libc library.

The FreeBSD 3.x system I have used has this call, so the problem in this case is 
probably that all development
headers/libraries are not installed on this machine.

To find out what's wrong, please examine the config.log file and try to find out why 
neither of the above functions was found by configure.


Previous Comments:

[2001-04-29 05:17:34] [EMAIL PROTECTED]
This is a bug in libmysql which is maintained by the kinda folks over at 
please report the bug to them.

- James


[2001-04-10 14:40:03] [EMAIL PROTECTED]
OS: FreeBSD 3.4-STABLE (tested on different servers under this OS)
Type of bag - stable - can't find any depends of installed packages or compiled kernel 

Problem compiling place:

Making all in libmysql
gcc  -I. -I/usr/home/virtan/tmp/php-4.0.4pl1/ext/mysql/libmysql 
-I/usr/home/virtan/tmp/php-4.0.4pl1/main -I/usr/home/virtan/tmp/php-4.0.4pl1 
-I/usr/home/virtan/tmp/php-4.0.4pl1/Zend -I/usr/local/include/freetype 
-I/usr/local/include -I/usr/home/virtan/tmp/php-4.0.4pl1/ext/mysql/libmysql 
-I/usr/home/virtan/tmp/php-4.0.4pl1/TSRM  -DXML_BYTE_ORDER=12 -g -O2  -c my_getwd.c && 
touch my_getwd.lo
my_getwd.c:58: #error "No way to get current directory"
*** Error code 1

Configure parameters:
./configure --enable-versioning --with-mysql --enable-track-vars --with-mod_charset 
--with-apache=../apache_1.3.12rusPL29.4 --enable-calendar --enable-ftp 
--with-gd=/usr/local --with-jpeg-dir --with-tiff-dir --with-xpm-dir 
--with-zlib-dir=/usr/local/lib --enable-ftp --with-ttf --with-mysql --with-png-dir 


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to