ID: 10269
Updated by: mysql
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Compile Failure
PHP Version: 4.0.4pl1
Assigned To: 
Comments:

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.

Regards,
Monty


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 mysql.com 
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 
modules.

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/apache_1.3.12rusPL29.4/src/include 
-I/usr/home/virtan/tmp/apache_1.3.12rusPL29.4/src/os/unix 
-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/ext/xml/expat/xmltok 
-I/usr/home/virtan/tmp/php-4.0.4pl1/ext/xml/expat/xmlparse 
-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 
--with-regex=system


---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10269&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
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