Bug #16833 Updated: make file error1 during install of php

From: Date: Tue, 18 Jun 2002 19:11:26 +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-11171@lists.php.net to get a copy of this message
ID: 16833 Updated by: john.hughes@ubs.com Reported By: vivienne.gilmore@noaa.gov Status: Feedback Bug Type: MySQL related Operating System: Solaris 8 PHP Version: 4.2.0 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2002-06-08 23:18:11] manuka@nerdherd.net I get the same behavior with 4.2.1, with both gcc versions 3.1 and 2.95, as well as both Sun and GNU make. ------------------------------------------------------------------------ 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 (#11171) next »