Bug #14801: my_getwd.c fails to compile with error "No way to get current directory"
| From: | chris dot read at bigfoot dot com | Date: | Wed, 02 Jan 2002 15:08:21 +0000 |
| Subject: | Bug #14801: my_getwd.c fails to compile with error "No way to get current directory" | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-75599@lists.php.net to get a copy of this message | ||
From: chris.read@bigfoot.com
Operating system: Solaris 8 Intel
PHP version: 4.1.1
PHP Bug Type: MySQL related
Bug description: my_getwd.c fails to compile with error "No way to get current directory"
./configure --with-mysql --with-apxs --with-db3=/usr/local/BerkeleyDB.3.3
--with-imap=../imap-2001a --with-mm --with-ldap --with-zlib --with-openssl
--with-imap-ssl
getwd() and getcwd() are both available in Solaris, but it looks like
configure is not correctly defining HAVE_GETWD and HAVE_GETCWD, so
my_getwd.c fails to compile.
I manually added the following line to ext/mysql/libmysql/mysys_priv.h to
get it to compile and work:
#define HAVE_GETWD
--
Edit bug report at: http://bugs.php.net/?id=14801&edit=1