#22184 [Fbk->Opn]: Compile fails looking for m4sugar
ID: 22184
User updated by: marcus@synchromedia.co.uk
Reported By: marcus@synchromedia.co.uk
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: OpenBSD 3.1-stable
PHP Version: 4CVS-2003-02-12 (stable)
New Comment:
When I said I was using a fresh checkout, I did mean completely fresh -
I deleted everything and checked out an entirely new tree, so I'd
already eliminated that.
That snapshot compiles ok.
I just checked out another brand-new tree and I get the same error as
described originally, so the difference is somewhere between the
current CVS and that snapshot.
I did notice that the snapshot builds quite differently to the CVS
version. for example, ./buildconf just outputs one line, and the build
includes the creation of a whole load of symbolic links that I've not
noticed before.
Previous Comments:
------------------------------------------------------------------------
[2003-02-12 10:37:41] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Try getting a fresh tree (not updating the old one) the error you are
seeing is probably due to corrupted CVS sources.
------------------------------------------------------------------------
[2003-02-12 04:39:41] marcus@synchromedia.co.uk
I'm having trouble compiling current 4.3.1 CVS. I've done a completely
fresh checkout. I'm using a minimal configure of:
./configure --with-apxs=/usr/sbin/apxs
I'm using autoconf 2.53, automake 1.6.3, libtool 1.4.3 and m4 1.4. It's
using the stock OpenBSD Apache version which is 1.3.24.
The same setup compiles 4.3.0-release with no difficulty.
Configure goes ok, make fails with the following error:
/usr/local/bin/gm4: m4sugar/m4sugar.m4: No such file or directory
m4_changecom()
m4_init()
m4_define([b4_actions],
[[ case 4:
#line 208 "/usr/local/src/php4/ext/standard/parsedate.y"
<many pages of source code dumped here>
m4_divert_push(0)mv y.tab.c
/usr/local/src/php4/ext/standard/parsedate.c
mv: y.tab.c: No such file or directory
*** Error code 1
A minor note, probably unrelated - when I do CVS updates, I get lots of
errors reported saying files are in the way in the Zend and TSRM
directories. Something I'm missing?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22184&edit=1
Thread (10 messages)