Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to install the game IceBreaker. There's no package available for Fedora 4, so I was going to compile it from source. Here are the instructions from the site:
> In most cases, you should be able to grab the source rpm and rebuild.
>
> This is really easy: run "rpm --rebuild icebreaker-1.2.1-1.src.rpm", which will make a new
> binary RPM in /usr/src/rpm/RPMS/arch/ (with rpm possibly replaced by the name of your
> distro, and arch of course being the architecture of your system).
Of course, as usual, it's just not that simple. My rpm returns this error: "--rebuild: unknown option"
Installing icebreaker-1.2.1-1.src.rpm
warning: user mattdm does not exist - using root
warning: group src does not exist - using root
warning: user mattdm does not exist - using root
warning: group src does not exist - using root
error: Legacy syntax is unsupported: copyright
error: line 6: Unknown tag: Copyright: GPL
So much bullshit to go thru for a little game. There are times when I really really love my windoze xp box. Not so fun to tinker with as Linux, but so simple to do stuff like this.
On most distros its simply a matter of going into the software installer, typing 'icebreaker' and clicking install, its available for both Debian and Mandrake like this. Unfortunately it doesn't appear to be packaged for Fedora, and that RPM you've got has been badly written.
Anyway try doing (all as root)
Code:
rpm -i icebreaker
then go to /usr/src/redhat/SPECS and comment out line 6 in the icebreaker SPEC file. Now run:
On most distros its simply a matter of going into the software installer, typing 'icebreaker' and clicking install, its available for both Debian and Mandrake like this.
Yup. It's that simple in Ubuntu, which uses Synaptic. I just did it.
---------------------------------------------
Back to Fedora 4:
Tried commenting out that line. That either doesn't work, or I'm not using the right character as a comment symbol. Tried all the usual ones.
Tried removing the line. Of course that won't work.
Read up on spec files. Saw this line,
Quote:
"Copyright: This line tells how a package is copyrighted. You should use something like GPL, BSD, MIT, public domain, distributable, or commercial."
So I tried various other entries like "public domain" and "distributable", in place of the original "GPL". All attempts got me messages like this:
Quote:
error: Legacy syntax is unsupported: copyright
error: line 6: Unknown tag: Copyright: distributable
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.