Bug id #1756: ./configure failing within rpm
| From: | Patrick | Date: | Tue, 20 Jul 1999 21:18:49 +0000 |
| Subject: | Bug id #1756: ./configure failing within rpm | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-2358@lists.php.net to get a copy of this message | ||
Hi All,
I tried this and it barfed on me too. Anyone has had the same
experience? Suggestions more
than welcome so I can get a few rpms together. Makes it much easier to
upgrade to Beta 2 :)
Cheers,
Patrick
Bug id #1756
Status:
Open
Modify
From:
callus@stad.dsl.nl
Date:
1999-07-20 12:51:12
Type:
Installation problem
OS:
RH 6.0 2.2.5-15 i686
PHP Version:
4.0 Beta 1
Assigned To:
Short Desc.:
./configure fails when called from within
rpm
[1999-07-20 12:51:12] callus@stad.dsl.nl
This works well: ./configure
--with-apxs=/usr/sbin/apxs --with-system-regex --with-gd
--enable-track-vars
--with-config-file-path=/etc/httpd/conf
--with-exec-dir=/home/httpd/php/bin
--with-imap --enable-magick-quotes
--with-ldap --with-mcrypt --with-mhash --with-mysql
--with-snmp --with-zlib
--enable-ucd-snmp-hack
But the same from within rpm (3.0.2 release
6.0) fails when it checks for the C
preprocessor.
Specfile:
Summary: PHP - with the long awaited Zend
engine :)
Name: mod_php4
Version: 4.0b1
Release: 1
URL: http://www.php.net/
Source:
http://www.php.net/version4/downloads/php-%{version}.tar.gz
Copyright: ???
Group: Networking/Daemons
Requires: apache-mod_ssl >= 1.3.6.2.3.6,
imap >= 4.5, MySQL >= 3.21.25, gd >=
1.6.1 etc.
Obsoletes: php, mod_php, mod_php3
BuildRoot: /var/tmp/%{name}-%{version}-root
%description
%prep
%setup -q -n php-%{version}
%build
./configure
--with-all-options-as-mentioned-above
make
Output:
++ echo -n checking how to run the C
preprocessor...
checking how to run the C preprocessor... ++
echo configure:2480: checking how t
o run the C preprocessor
++ test -n
++ test -z
+++ echo ${ac_cv_prog_CPP+set}
++ eval test "${ac_cv_prog_CPP+set}" = set
+++ test = set
++ CPP=gcc -E
++ cat
++ ac_try=$CPP $CPPFLAGS conftest.c
>/dev/null 2>conftest.out
++ eval echo configure:2501: "$CPP $CPPFLAGS
conftest.c >/dev/null
2>conftest.ou
t"
+++ echo configure:2501: gcc -E conftest.c
>/dev/null 2>conftest.out
+++ grep -v ^ *+ conftest.out
+++ grep -v ^conftest.c$
++ ac_err=
Bad exit status from /var/tmp/rpm-tmp.73649
(%build)
My apologies if I have overlooked something.