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

From: Date: Thu, 13 Jun 2002 20:14:31 +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-10379@lists.php.net to get a copy of this message
ID: 16833 Updated by: skylord@sun.com Reported By: vivienne.gilmore@noaa.gov Status: Open Bug Type: MySQL related Operating System: Solaris 8 PHP Version: 4.2.0 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2002-06-05 09:08:54] kai.jendrian@peregrine.com Hello, I got the same bug. My configure failed because configure could not build configtest.out. Solaris 8 does not come with a cc by default and I just had installed gcc. The fix which did it for me was linking /usr/local/bin/gcc to /usr/local/bin/cc. .kai ------------------------------------------------------------------------ [2002-05-26 00:00:04] php-bugs@lists.php.net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ 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 (#10379) next »