Bug #16833 Updated: make file error1 during install of php
| From: | sniper@php.net | Date: | Tue, 18 Jun 2002 21:44:37 +0000 |
| Subject: | Bug #16833 Updated: make file error1 during install of php | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11203@lists.php.net to get a copy of this message | ||
ID: 16833
Updated by: sniper@php.net
Reported By: vivienne.gilmore@noaa.gov
-Status: Feedback
+Status: Closed
Bug Type: MySQL related
Operating System: Solaris 8
PHP Version: 4.2.0
New Comment:
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-06-18 15:11:26] john.hughes@ubs.com
Ok, here's the fix for solaris 8 with gcc.
install m4
install autoconf
cd php-4.2.1 src directory
run autoconf
Once that is done, everything should ./configure, make, make install
just fine.
As far as I can tell the 4.2.1 release is jacked because of a bad
autoconf prior to packaging.
John
------------------------------------------------------------------------
[2002-06-13 16:24:28] sniper@php.net
Please try this snapshot:
http://snaps.php.net/php4-latest.tar.gz
------------------------------------------------------------------------
[2002-06-13 16:14:30] skylord@sun.com
Solution :
This one really sucked. The parse errors are indeed related to the
autoconfig version used. Here's what to do :
1) Save the configure script to configure.org, and run ./buildconf to
recreate it. Make sure you have autoconfig, automake and libtool on
your system.
2) Configure will now complete, but if make dies with a "No way to get
current directory error" on my_getwd.c , you can remedy this by adding
a "#define HAVE_GETWD" line to ext/mysql/libmysql/mysys_priv.h .
3) After that, make may sh*t itself again on a redeclaration of perror
in dbug.c . This will go away if you save the original dbug.c to
something else, and then put a new one in place in which you have
deleted both instances of the perror declaration lines.
After all of this, PHP compiled OK on my box.
Dirk
------------------------------------------------------------------------
[2002-06-12 20:24:03] skylord@sun.com
Same behaviour over here on Solaris 8 with 4.2.0 and gcc 2.95. When
using the alternate config script, make bails out with "my_getwd.c:62:
#error "No way to get current directory".
------------------------------------------------------------------------
[2002-06-09 09:03:57] sniper@php.net
reopen.
------------------------------------------------------------------------
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