php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10269 Installation fails at line 58 of file 'my_getwd.c
Submitted: 2001-04-10 14:40 UTC Modified: 2001-05-02 05:12 UTC
From: virtan at link-ul dot ru Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: FreeBSD 3.4-STABLE
Private report: No CVE-ID: None
 [2001-04-10 14:40 UTC] virtan at link-ul dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-29 05:17 UTC] 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-05-02 05:12 UTC] mysql@php.net
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

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 09:01:27 2024 UTC