php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16552 Undefined macro `AC_PROG_LIBTOOL'
Submitted: 2002-04-11 09:55 UTC Modified: 2002-10-27 13:56 UTC
From: bobbitt at cdnarmy dot ca Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.0CVS-2002-04-11 OS: RedHat 7.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bobbitt at cdnarmy dot ca
New email:
PHP Version: OS:

 

 [2002-04-11 09:55 UTC] bobbitt at cdnarmy dot ca
The output says it all:

[root@cpu2212 php4]# ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.6 (ok)
buildconf: libtool version 1.4 (ok)
rebuilding configure
configure.in:828: /usr/bin/m4: Undefined macro `AC_PROG_LIBTOOL'
autoconf: Undefined macros:
***BUG in Autoconf--please report*** AC_TRY_DLOPEN_SELF
configure.in:1044:AC_PROG_LIBTOOL
configure.in:155:AC_MSG_RESULT([$php_cv_cc_dashr])
configure.in:165:       AC_MSG_RESULT([$php_cv_cc_rpath])
configure.in:185:    AC_MSG_RESULT(${1}.${2} (ok))
configure.in:248:AC_MSG_RESULT([$PHP_SAPI])
configure.in:289: AC_DEFINE(HAVE_LIBSOCKET,1,[ ]) ], [
configure.in:315: AC_DEFINE(HAVE_LIBNSL,1,[ ]) ],[
configure.in:318:  AC_DEFINE(HAVE_LIBNSL,1,[ ]) ], [])
configure.in:344: AC_DEFINE(HAVE_LIBSOCKET,1,[ ]) ], [
configure.in:347:  AC_DEFINE(HAVE_LIBRESOLV,1,[ ])
configure.in:451:  AC_DEFINE(HAVE_SOCKADDR_STORAGE,1,[Whether you have struct sockaddr_storage])
configure.in:461:  AC_DEFINE(HAVE_IPV6,1,[Whether you have IPv6 support])
configure.in:540:  AC_DEFINE(HAVE_GETADDRINFO,1,[Define if you have the getaddrinfo function])
configure.in:566:dnl AC_MSG_RESULT([$ac_cv_type_in_addr_t])
configure.in:568:  AC_DEFINE(in_addr_t, u_int, [ ])
configure.in:650:  AC_DEFINE(PHP_SAFE_MODE,1,[ ])
configure.in:652:  AC_DEFINE(PHP_SAFE_MODE,0,[ ])
configure.in:662:               AC_DEFINE(PHP_SAFE_MODE_EXEC_DIR,"/usr/local/php/bin", [ ])
configure.in:663:       AC_MSG_RESULT([/usr/local/php/bin])
configure.in:665:               AC_DEFINE_UNQUOTED(PHP_SAFE_MODE_EXEC_DIR,"$withval", [ ])
configure.in:666:       AC_MSG_RESULT([$withval])
configure.in:669:       AC_DEFINE(PHP_SAFE_MODE_EXEC_DIR,"/usr/local/php/bin", [ ])
configure.in:670:       AC_MSG_RESULT([/usr/local/php/bin])
configure.in:673:       AC_DEFINE(PHP_SAFE_MODE_EXEC_DIR,"/usr/local/php/bin", [ ])
configure.in:674:       AC_MSG_RESULT([/usr/local/php/bin])
configure.in:689:  AC_DEFINE(PHP_SIGCHILD, 1, [ ])
configure.in:691:  AC_DEFINE(PHP_SIGCHILD, 0, [ ])
configure.in:698:  AC_DEFINE(MAGIC_QUOTES, 1, [ ])
configure.in:700:  AC_DEFINE(MAGIC_QUOTES, 0, [ ])
configure.in:723:  AC_DEFINE(DEFAULT_SHORT_OPEN_TAG,"1",[ ])
configure.in:725:  AC_DEFINE(DEFAULT_SHORT_OPEN_TAG,"0",[ ])
configure.in:736:    AC_DEFINE(HAVE_DMALLOC,1,[Whether you have dmalloc])
configure.in:746:  AC_DEFINE(HAVE_CRYPT,1,[ ])
configure.in:792:AC_MSG_RESULT([$PHP_VERSIONING])
configure.in:836:  AC_DEFINE(ZTS,1,[ ])
configure.in:949:AC_DEFINE_UNQUOTED(PHP_BUILD_DATE,"$PHP_BUILD_DATE",[PHP build date])
configure.in:951:AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[uname -a output])
configure.in:953:AC_DEFINE_UNQUOTED(PHP_OS,"$PHP_OS",[uname output])
rebuilding acconfig.h
rebuilding main/php_config.h.in
configure.in:828: /usr/bin/m4: Undefined macro `AC_PROG_LIBTOOL'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-11 10:06 UTC] derick@php.net
Please downgrade automake to 1.5 and try again.

Derick
 [2002-04-11 11:29 UTC] bobbitt at cdnarmy dot ca
Thanks for the quick reply. Just tried your suggestion, same result:

[root@cpu2212 php4]# ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.5 (ok)
buildconf: libtool version 1.4 (ok)
rebuilding configure
configure.in:837: /usr/bin/m4: Undefined macro `AC_PROG_LIBTOOL'
autoconf: Undefined macros:
***BUG in Autoconf--please report*** AC_TRY_DLOPEN_SELF
configure.in:1053:AC_PROG_LIBTOOL
configure.in:164:AC_MSG_RESULT([$php_cv_cc_dashr])
configure.in:174:       AC_MSG_RESULT([$php_cv_cc_rpath])
configure.in:194:    AC_MSG_RESULT(${1}.${2} (ok))
configure.in:257:AC_MSG_RESULT([$PHP_SAPI])
configure.in:298: AC_DEFINE(HAVE_LIBSOCKET,1,[ ]) ], [
configure.in:324: AC_DEFINE(HAVE_LIBNSL,1,[ ]) ],[
configure.in:327:  AC_DEFINE(HAVE_LIBNSL,1,[ ]) ], [])
configure.in:353: AC_DEFINE(HAVE_LIBSOCKET,1,[ ]) ], [
configure.in:356:  AC_DEFINE(HAVE_LIBRESOLV,1,[ ])
configure.in:460:  AC_DEFINE(HAVE_SOCKADDR_STORAGE,1,[Whether you have struct sockaddr_storage])
configure.in:470:  AC_DEFINE(HAVE_IPV6,1,[Whether you have IPv6 support])
configure.in:549:  AC_DEFINE(HAVE_GETADDRINFO,1,[Define if you have the getaddrinfo function])
configure.in:575:dnl AC_MSG_RESULT([$ac_cv_type_in_addr_t])
configure.in:577:  AC_DEFINE(in_addr_t, u_int, [ ])
configure.in:659:  AC_DEFINE(PHP_SAFE_MODE,1,[ ])
configure.in:661:  AC_DEFINE(PHP_SAFE_MODE,0,[ ])
configure.in:671:               AC_DEFINE(PHP_SAFE_MODE_EXEC_DIR,"/usr/local/php/bin", [ ])
configure.in:672:       AC_MSG_RESULT([/usr/local/php/bin])
configure.in:674:               AC_DEFINE_UNQUOTED(PHP_SAFE_MODE_EXEC_DIR,"$withval", [ ])
configure.in:675:       AC_MSG_RESULT([$withval])
configure.in:678:       AC_DEFINE(PHP_SAFE_MODE_EXEC_DIR,"/usr/local/php/bin", [ ])
configure.in:679:       AC_MSG_RESULT([/usr/local/php/bin])
configure.in:682:       AC_DEFINE(PHP_SAFE_MODE_EXEC_DIR,"/usr/local/php/bin", [ ])
configure.in:683:       AC_MSG_RESULT([/usr/local/php/bin])
configure.in:698:  AC_DEFINE(PHP_SIGCHILD, 1, [ ])
configure.in:700:  AC_DEFINE(PHP_SIGCHILD, 0, [ ])
configure.in:707:  AC_DEFINE(MAGIC_QUOTES, 1, [ ])
configure.in:709:  AC_DEFINE(MAGIC_QUOTES, 0, [ ])
configure.in:732:  AC_DEFINE(DEFAULT_SHORT_OPEN_TAG,"1",[ ])
configure.in:734:  AC_DEFINE(DEFAULT_SHORT_OPEN_TAG,"0",[ ])
configure.in:745:    AC_DEFINE(HAVE_DMALLOC,1,[Whether you have dmalloc])
configure.in:755:  AC_DEFINE(HAVE_CRYPT,1,[ ])
configure.in:801:AC_MSG_RESULT([$PHP_VERSIONING])
configure.in:845:  AC_DEFINE(ZTS,1,[ ])
configure.in:958:AC_DEFINE_UNQUOTED(PHP_BUILD_DATE,"$PHP_BUILD_DATE",[PHP build date])
configure.in:960:AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[uname -a output])
configure.in:962:AC_DEFINE_UNQUOTED(PHP_OS,"$PHP_OS",[uname output])
rebuilding acconfig.h
rebuilding main/php_config.h.in
configure.in:837: /usr/bin/m4: Undefined macro `AC_PROG_LIBTOOL'
 [2002-04-11 11:54 UTC] daniela@php.net
please upgrade to autoconf 2.52 
http://www.php.net/anoncvs.php#buildconf_fail

Daniela
 [2002-08-23 01:00 UTC] php-bugs at lists dot php dot 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".
 [2002-10-27 12:18 UTC] bobbitt at cdnarmy dot ca
Now using 2.52, and getting a similar response:

 ./buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.52 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
           Running cvsclean for you.
           To avoid this, install autoconf-2.13 and automake-1.5.
buildconf: automake version 1.5 (ok)
buildconf: libtool version 1.4 (ok)
rebuilding configure
configure.in:808: warning: AC_PROG_LIBTOOL is m4_require'd but is not m4_defun'd
configure.in:146: error: possibly undefined macro: AC_MSG_RESULT
configure.in:284: error: possibly undefined macro: AC_DEFINE
configure.in:1041: error: possibly undefined macro: AC_PROG_LIBTOOL
configure:77683: error: possibly undefined macro: _LT_AC_TRY_DLOPEN_SELF
rebuilding acconfig.h
rebuilding main/php_config.h.in
 [2002-10-27 13:56 UTC] sniper@php.net
There is something wrong with your autotools/libtool installation. Please use the snapshots instead:

http://snaps.php.net/

 [2002-10-27 15:54 UTC] bobbitt at cdnarmy dot ca
Thanks, that solved it, and sorry for taking up your time with a local config problem.

Cheers
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 11:01:34 2024 UTC