php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14801 my_getwd.c fails to compile with error "No way to get current directory"
Submitted: 2002-01-02 10:08 UTC Modified: 2002-05-26 13:43 UTC
Votes:3
Avg. Score:3.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: chris dot read at bigfoot dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 4.1.1 OS: Solaris 8 Intel
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: chris dot read at bigfoot dot com
New email:
PHP Version: OS:

 

 [2002-01-02 10:08 UTC] chris dot read at bigfoot dot com
./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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-26 13:43 UTC] derick@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 00:01:30 2024 UTC