PDA

View Full Version : building from source....


jon bryan
16th July 2005, 12:51 PM
hi, i'm new to the linux game, but trying.......

if there is an app that i want to use but i can't find a ppc rpm for it, can i compile the srpm on the ppc to get a ppc version?? or do i need a srpm especially for ppcs??

thanks in advance for your help.....

Jon

SuperNu
16th July 2005, 05:09 PM
You should be able to rebuild a src.rpm and use it on a ppc system, but I do know that there might be slight differences between x86 and ppc which might cause problems with the source compile. I would try recompiling the src.rpm using rpmbuild --rebuild <filename-version>.src.rpm and seeing what happens. Be sure to read How to create rpmbuild directory (http://fedoranews.org/tchung/rpmbuild/) so you can rebuild a src.rpm as a nonroot user (good for security purposes).

--SN

jon bryan
16th July 2005, 08:53 PM
thats what i wanted to hear!

i will have a go next week and come back here when i can't do it! :)

thanks for the advice and the recommended article.

JB