Bug #50291 [ReO]: incorrect usage of autoconf diversions

From: Date: Sun, 24 Apr 2011 23:21:24 +0000
Subject: Bug #50291 [ReO]: incorrect usage of autoconf diversions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-160356@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=50291&edit=1

 ID:                 50291
 Updated by:         rasmus@php.net
 Reported by:        vapier at gentoo dot org
 Summary:            incorrect usage of autoconf diversions
 Status:             Re-Opened
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Linux
 PHP Version:        5.3.1
 Block user comment: N
 Private report:     N

 New Comment:

I spent quite a while on it. I couldn't come up with a viable way to
support both 
pre and post autoconf-2.64 so it is either/or at this point. Every
distro has pre-
2.64, not everyone has post 2.64. We will eventually be able to make a
clean 
break, but it definitely won't be in 5.3.


Previous Comments:
------------------------------------------------------------------------
[2011-04-24 23:41:25] mail at crick dot ru

This annoying bug is still there. How about solutions?

------------------------------------------------------------------------
[2010-08-10 19:58:16] scottmac@php.net

This got lost when we re-branched trunk from 5_3

------------------------------------------------------------------------
[2010-01-23 08:49:47] rasmus@php.net

This fix is only in HEAD.  You need autoconf <2.60 for 5.3

------------------------------------------------------------------------
[2010-01-23 08:13:13] ramsey@php.net

I'm having this problem with a fresh checkout (revision 293858) from 
the PHP_5_3 branch. I running on Mac OS X 10.6.2 and have autoconf 
2.65 from macports.

$ ./buildconf
$ ./configure
cat: confdefs.h: No such file or directory
./configure: line 389: ac_fn_c_try_run: command not found
./configure: line 405: 5: Bad file descriptor
./configure: line 406: 6: Bad file descriptor
cat: confdefs.h: No such file or directory
./configure: line 445: ac_fn_c_try_run: command not found
..........

I'm not having the problem when running configure on the 5.3.1 tar 
package.

------------------------------------------------------------------------
[2009-11-25 01:37:52] rasmus@php.net

Thanks, this motivated me to clean up our m4 crap and make it work with
the latest versions of autoconf.  Should still clean up the template
warnings eventually, but those are non-fatal and everything builds
nicely now with autoconf-2.65 for me.

------------------------------------------------------------------------


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/bug.php?id=50291


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=50291&edit=1


Thread (12 messages)

« previous php.bugs (#160356) next »