From: [EMAIL PROTECTED] 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 -- 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]