LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help with rpm (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-rpm-464196/)

Geminias 07-15-2006 12:28 AM

help with rpm
 
hello, i downloaded this file called: "nasm.src.rpm" and i'm not sure if src.rpm is different from a normal rpm and well whenever i try to install it with rpm -i <filename> I get four warnings that look like this: "group eng does not exist - using root" "user hpa does not exist - using root" etc... error .

My other question is how do i know where rpm installs the files? The ultimate goal here is to get the nasm source so i can compile it and start programming in nasm, the biggest obstical is I'm new to linux.

spooon 07-15-2006 12:51 AM

Well you should probably get the regular (binary) RPM instead of the source RPM, preferably through your distro's package manager.

Geminias 07-15-2006 01:00 AM

Further research said that src.rpm's can be built within rpm by using the --recompile option, however when i attempted this bash said that no such option existed. That is strange isn't it?

Anyways, about your post spoon, I know i could easily download the binaries but I have never compiled anything in linux and I think it would be fun to learn how to do it. I'm assuming that nasm is written in c or c++ and can be compiled with g++. I think I can accomplish this if it is true.

spooon 07-15-2006 07:23 AM

so you can use something like
Code:

rpmbuild --rebuild nasm.src.rpm
to rebuild and install the source rpm


All times are GMT -5. The time now is 10:21 AM.