LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-15-2006, 01:28 AM   #1
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Rep: Reputation: 30
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.
 
Old 07-15-2006, 01:51 AM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 49
Well you should probably get the regular (binary) RPM instead of the source RPM, preferably through your distro's package manager.
 
Old 07-15-2006, 02:00 AM   #3
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Original Poster
Rep: Reputation: 30
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.
 
Old 07-15-2006, 08:23 AM   #4
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 49
so you can use something like
Code:
rpmbuild --rebuild nasm.src.rpm
to rebuild and install the source rpm
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
counter part of "rpm -ivh --force kernel....rpm in slackware b0nd Slackware 2 01-28-2006 08:46 PM
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 06:24 PM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 10:22 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 08:19 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 05:55 PM


All times are GMT -5. The time now is 12:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration