Redhat-install-list Digest, Vol 9, Issue 26

Roger Harrell roger at audiblefaith.com
Wed Nov 24 17:24:09 UTC 2004


> Well, that doesn't appear to be it, since it's only "-lgcc" and not
> "-lgcc_s".  I can see how the error might be caused by that if $LIBS
> is empty.  I suspect the ld line in Makefile is something like:
> 
>     ld -o something -l $LIBS object1.o object2.o...
> 
> If $LIBS was empty at the configure, the line would end up something
> like:
> 
>     ld -o something -l -lgcc object1.o object2.o...
> 
> And the "-l -lgcc" would cause an error.  But again, the line you cite
> above is "-lgcc" and not "-lgcc_s".   Hmmmmm.
> 
> The rpmbuild gets through the build stage, but can't configure.
> 
> I'm not sure exactly how you mean.  Usually the configure step is before
> the build.  I think you mean it gets past the "prep" stage (untarring
> and patching source).  In a nutshell, an rpmbuild goes like this:
> 
> %prep
>     untar
>     patch
> %build
>     configure
>     make
> %install
>     make install
>     ...
> 
> Can you clue me in again on which source RPM this is again?  I'll
> probably need to try to do it myself to see what's going on.
> 

The RPM is php-4.2.2-17.2.src.rpm from the RedHat site.
http://www.redhat.com/archives/redhat-watch-list/2003-July/msg00002.html

-- 
Roger




More information about the Redhat-install-list mailing list