php5 redhat-rpm for RHEL4

Joung-Hyun Lee junghyun at ask.sarang.net
Tue Sep 12 14:13:57 UTC 2006


up2date -i gcc4
export CC=gcc4
rpmbuild --rebuild php-5.1.6-2.src.rpm

----- Original Message ----- 
From: "Götz Reinicke" <goetz.reinicke at filmakademie.de>
To: "General Red Hat Linux discussion list" <redhat-list at redhat.com>
Sent: Tuesday, September 12, 2006 10:09 PM
Subject: php5 redhat-rpm for RHEL4


> Hi,
> 
> I'm looking for a php5.1 redhat-rpm for RHEL4. All I found by google are 
>  suggestions to use the source tgz from php-net or an advice to try the 
> fedora src-rpm and rebuild tham. As for transparency I'd like to use the 
> rpm rather than source tgz, so I got the latest fedora 5.x src rpm from 
> my local RH mirror.
> 
> But only the 5.0-rpm could be rebuild, the 5.1-rpms fail with an error 
> telling me to look in the log. But there is nothing that tells me whats 
> wrong :-(
> 
> rpmbuild --rebuild php-5.1.6-2.src.rpm ...
> 
> lots of messages
> ....
> checking for i686-redhat-linux-gnu-gcc... no
> checking for gcc... gcc
> checking for C compiler default output file name... configure: error: C 
> compiler cannot create executables
> See `config.log' for more details.
> Fehler: Bad exit status from /var/tmp/rpm-tmp.85392 (%build)
> 
> Any ideas??
> 
> 
> Thanks and best regards
> 
> Götz Reinicke
> -- 
> Götz Reinicke
> IT Koordinator
> 
> Tel. +49 7141 969-420
> Fax  +49 7141 969 55-420
> goetz.reinicke at filmakademie.de
> 
> Filmakademie Baden-Württemberg
> Mathildenstr. 20
> 71638 Ludwigsburg
> www.filmakademie.de
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list