From: m dot aldofirmansyah at gmail dot com
Operating system: Ubuntu 16.04.1
PHP version: 8.0Git-2020-09-22 (Git)
Package: *Configuration Issues
Bug Type: Bug
Bug description:Error when running buildconf
Description:
------------
Error when I'm trying to build php from source
I'm using ubuntu 16.04.1
php from master branch (seems it's php 8)
I have the latest version of autoconf, automake, and m4
buildconf: Checking installation
buildconf: autoconf version 2.69 (ok)
buildconf: Cleaning cache and configure files
buildconf: Rebuilding configure
/usr/bin/m4:configure.ac:6: cannot open
`build/ax_check_compile_flag.m4': No such file or directory
/usr/bin/m4:configure.ac:7: cannot open
`build/ax_func_which_gethostbyname_r.m4': No such file or directory
/usr/bin/m4:configure.ac:8: cannot open
`build/ax_gcc_func_attribute.m4': No such file or directory
/usr/bin/m4:configure.ac:9: cannot open `build/libtool.m4': No such file
or directory
/usr/bin/m4:configure.ac:10: cannot open
`build/php_cxx_compile_stdcxx.m4': No such file or directory
/usr/bin/m4:configure.ac:11: cannot open `build/php.m4': No such file or
directory
/usr/bin/m4:configure.ac:12: cannot open `build/pkg.m4': No such file or
directory
sh: 1: ./build/config-stubs: not found
sh: 1: ./build/config-stubs: not found
autom4te: /usr/bin/m4 failed with exit status: 1
buildconf: Rebuilding main/php_config.h.in
/usr/bin/m4:configure.ac:6: cannot open
`build/ax_check_compile_flag.m4': No such file or directory
/usr/bin/m4:configure.ac:7: cannot open
`build/ax_func_which_gethostbyname_r.m4': No such file or directory
/usr/bin/m4:configure.ac:8: cannot open
`build/ax_gcc_func_attribute.m4': No such file or directory
/usr/bin/m4:configure.ac:9: cannot open `build/libtool.m4': No such file
or directory
/usr/bin/m4:configure.ac:10: cannot open
`build/php_cxx_compile_stdcxx.m4': No such file or directory
/usr/bin/m4:configure.ac:11: cannot open `build/php.m4': No such file or
directory
/usr/bin/m4:configure.ac:12: cannot open `build/pkg.m4': No such file or
directory
sh: 1: ./build/config-stubs: not found
sh: 1: ./build/config-stubs: not found
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: '/usr/local/bin/autom4te' failed with exit status: 1
buildconf: Run ./configure to proceed with customizing the PHP build.
Test script:
---------------
./buildconf
Expected result:
----------------
able to build php successfully
--
Edit bug report at https://bugs.php.net/bug.php?id=80132&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80132&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80132&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80132&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80132&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80132&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80132&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80132&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80132&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80132&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80132&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80132&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80132&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80132&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80132&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80132&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80132&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80132&r=mysqlcfg