php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76261 ./config.nice: No such file or directory
Submitted: 2018-04-24 18:00 UTC Modified: 2018-06-24 04:25 UTC
From: kucherdominikus at yahoo dot de Assigned: cmb (profile)
Status: No Feedback Package: Compile Failure
PHP Version: master-Git-2018-04-24 (Git) OS: Fedora 27
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2018-04-24 18:00 UTC] kucherdominikus at yahoo dot de
Description:
------------
+ libtoolize --force --copy --quiet
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
+ cat /usr/share/aclocal/libtool.m4 /usr/share/aclocal/ltoptions.m4 /usr/share/aclocal/ltsugar.m4 /usr/share/aclocal/ltversion.m4 /usr/share/aclocal/lt~obsolete.m4
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
+ cat /usr/share/aclocal/libtool.m4 /usr/share/aclocal/ltoptions.m4 /usr/share/aclocal/ltsugar.m4 /usr/share/aclocal/ltversion.m4 /usr/share/aclocal/lt~obsolete.m4
+ touch configure.in
+ ./buildconf --force
Forcing buildconf
Removing configure caches
buildconf: checking installation...
buildconf: autoconf version 2.69 (ok)
rebuilding configure
autoconf: warning: both `configure.ac' and `configure.in' are present.
autoconf: warning: proceeding with `configure.ac'.
configure.ac:2: error: possibly undefined macro: dnl
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:151: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:235: error: possibly undefined macro: AC_MSG_CHECKING
configure.ac:249: error: possibly undefined macro: AC_MSG_RESULT
configure.ac:427: error: possibly undefined macro: AC_DEFINE
configure.ac:576: error: possibly undefined macro: AC_MSG_WARN
configure.ac:590: error: possibly undefined macro: AC_TRY_LINK
configure.ac:1304: error: possibly undefined macro: AC_DEFINE_UNQUOTED
rebuilding main/php_config.h.in
autoheader: 'configure.ac' and 'configure.in' both present.
autoheader: proceeding with 'configure.ac'
+ ./confic.nice
/var/tmp/rpm-tmp.PgW9ZE: line 38: ./confic.nice: No such file or directory
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.PgW9ZE (%build)


Test script:
---------------
libtoolize --force --copy --quiet
cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >>aclocal.m4
cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 > build/libtool.m4
touch configure.in
./buildconf --force

./configure \
 --host=x86_64-redhat-linux \
 --build=x86_64-redhat-linux \
 --target=x86_64-redhat-linux \
 --prefix=%{_prefix} \
 --program-prefix= \
 --libdir=%{_libdir}/%{name} \
 --disable-all \
.....

INSTALL_ROOT=%{buildroot} make installstrip -s --strip-unneeded %{buildroot}%{_libdir}/httpd/modules/libphp%{phpver}.so %{buildroot}%{extension_dir}/*.so %{buildroot}%{_bindir}/php

%files
%attr(755,root,root) %{_libdir}/httpd/modules/libphp%{phpver}.so




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-04-24 18:03 UTC] spam2 at rhsoft dot net
- touch configure.in
+ touch configure.ac

# force use of system libtool and regenerate configure scripts
cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >> aclocal.m4
libtoolize --force --copy --quiet
cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >build/libtool.m4
touch configure.ac
./buildconf --force
 [2018-06-10 15:46 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2018-06-10 15:46 UTC] cmb@php.net
> - touch configure.in
> + touch configure.ac

Have you tried that?
 [2018-06-24 04:25 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 18:01:29 2024 UTC