ID:               16833
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Closed
 Bug Type:         MySQL related
 Operating System: Solaris 8
 PHP Version:      4.2.0
 New Comment:

I'm getting the error 

my_getwd.c:62: #error "No way to get current directory"

I am compiling php-4.2.3.
I'm on a solaris 7 box with autoconf 2.53, with gcc-2.95.3.

Any suggestions?


Previous Comments:
------------------------------------------------------------------------

[2002-07-02 04:33:27] [EMAIL PROTECTED]@oz.org

I'm a solaris person regularly required to configure
and build GNU software, and I keep a repository
of scripts to get configure to do the right thing

I try to avoid symlinking cc to gcc as some 
environments insist on a sun compiler ($$$)
and its nice not to have to re-hack things for
a new client.

While there is indeed a bug in the php configure
script,

$ CC=gcc ./configure

is sufficient in this and most other cases.

------------------------------------------------------------------------

[2002-06-22 08:12:39] [EMAIL PROTECTED]

Well, here's a piece of installation on my Solaris8 i386:

> cd php4-STABLE-200206220300
> ./configure --with-apxs=/usr/apache/bin/apxs --with-java=/usr/java
--with-mysql
> make
Making all in Zend
make[1]: Entering directory `/tmp/src/php4-STABLE-200206220300/Zend'
yacc -p zend -v -d ./zend_language_parser.y -o zend_language_parser.c
"./zend_language_parser.y", line 47: fatal: invalid escape, or illegal
reserved word: pure_parser
make[1]: *** [zend_language_parser.c] Error 1
make[1]: Leaving directory `/tmp/src/php4-STABLE-200206220300/Zend'
make: *** [all-recursive] Error 1


greetings,
bm.

------------------------------------------------------------------------

[2002-06-19 18:14:10] [EMAIL PROTECTED]

Hi,

First: Sorry for the double submission earlier :)

Second: i had tried running ./buildconf - it didn't fix it. 
But upgrading to autoconf 2.53 then running ./buildconf 
did.

thanks all,

James

------------------------------------------------------------------------

[2002-06-19 18:12:45] [EMAIL PROTECTED]

Hello,

I have the same problem, using php 4.2.1 - the new 
configure script didn't fix it, it still dies in the same 
way. I am using GCC as supplied with Solaris 8 OE 2002/02 
Sparc, on that platform... it is a 64 bit host if that 
helps in some way.

thanks,

James

------------------------------------------------------------------------

[2002-06-19 17:49:19] [EMAIL PROTECTED]

Hello,

I have the same problem, using php 4.2.1 - the new 
configure script didn't fix it, it still dies in the same 
way. I am using GCC as supplied with Solaris 8 OE 2002/02 
Sparc, on that platform... it is a 64 bit host if that 
helps in some way.

thanks,

James

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/16833

-- 
Edit this bug report at http://bugs.php.net/?id=16833&edit=1

Reply via email to