#16833 [Com]: make file error1 during install of php

From: Date: Tue, 19 Nov 2002 22:08:20 +0000
Subject: #16833 [Com]: make file error1 during install of php
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25297@lists.php.net to get a copy of this message
ID: 16833 Comment by: glennz928@yahoo.com Reported By: vivienne.gilmore@noaa.gov 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] ab@nospam.please@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] bm@ioo.prv.pl 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] james@jgj.org.uk 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] james@jgj.org.uk 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] james@jgj.org.uk 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

« previous php.bugs (#25297) next »