Bug #10269 Updated: Installation fails at line 58 of file 'my_getwd.c
| From: | mysql@php.net | Date: | Wed, 02 May 2001 09:12:47 +0000 |
| Subject: | Bug #10269 Updated: Installation fails at line 58 of file 'my_getwd.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53301@lists.php.net to get a copy of this message | ||
ID: 10269
Updated by: mysql
Reported By: virtan@link-ul.ru
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] jmoore@php.net
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] virtan@link-ul.ru
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