Bug #80132 [Opn]: Error when running buildconf
Edit report at https://bugs.php.net/bug.php?id=80132&edit=1
ID: 80132
User updated by: m dot aldofirmansyah at gmail dot com
Reported by: m dot aldofirmansyah at gmail dot com
Summary: Error when running buildconf
Status: Open
Type: Bug
Package: *Configuration Issues
Operating System: Ubuntu 16.04.1
PHP Version: 8.0Git-2020-09-22 (Git)
Block user comment: N
Private report: N
New Comment:
Try to download and build php8 beta 4 on my vps ubuntu 16.04 it successfully running buildconf and
configure
But when I run the same command on my docker 16.04 it still return same error
Previous Comments:
------------------------------------------------------------------------
[2020-09-22 11:23:18] cmb@php.net
> the m4 files in build folder doesn't exist
Seems you have a bad checkout.
------------------------------------------------------------------------
[2020-09-22 11:15:02] m dot aldofirmansyah at gmail dot com
the m4 files in build folder doesn't exist
------------------------------------------------------------------------
[2020-09-22 10:54:41] nikic@php.net
> /usr/bin/m4:configure.ac:6: cannot open `build/ax_check_compile_flag.m4': No such file or
> directory
Do those files exist?
------------------------------------------------------------------------
[2020-09-22 10:47:36] m dot aldofirmansyah at gmail dot com
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 this bug report at https://bugs.php.net/bug.php?id=80132&edit=1
Thread (9 messages)