LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-14-2009, 12:26 PM   #1
DLinkd2
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Rep: Reputation: Disabled
Question Unable to install Tarball on Fedora 8 and make/make install


I got an old clunker of a PC working with Fedora 8. I want to test out some games on it so i chose at random: Tux AQFH. the file name is tux_aqfh-1.0.14.tar.gz . So i ot to un-tar it and configure it but when i try the "make" command it says tons of junk with the word ERROR at the beginning line like these few lines: [root@localhost
tux_aqfh-1.0.14]# make
Making all in src
make[1]: Entering directory `/home/Dallas/Documents/tux_aqfh-1.0.14/src'
c++ -DPACKAGE=\"tux_aqfh\" -DVERSION=\"1.0.14\" -DX_DISPLAY_MISSING=1 -DLINUX_JOYSTICK_IS_PRESENT=1 -DTUX_AQFH_DATADIR=\"/usr/local/share/games/tux_aqfh\" -I. -I. -g -O2 -O6 -Wall -c camera.cxx
In file included from camera.cxx:1:
tux.h:18:22: error: plib/ssg.h: No such file or directory
tux.h:20:21: error: GL/glut.h: No such file or directory
tux.h:21:30: error: plib/ssgKeyFlier.h: No such file or directory


the same story with "make install" command.
Any help?
 
Old 08-14-2009, 12:37 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Most tarballs like that require you to do something like:

download the tarball
extract the tarball to a directory
cd to the directory
./configure - This is what lets it find out things about your system.
./make - This is run to compile the tarball based on the config
./make install - This is run to put the resulting binaries, libraries, config files, man pages etc... into a permanent location (e.g. /usr/share or /usr/local).

No hard and fast rule on above but that is "usual". Also "usually" you'll see "README" files (may be something like readme or README.txt) that tell you how to build it - these would be in the directory you extracted to (or subdirectories thereof).
 
Old 08-14-2009, 12:43 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,484

Rep: Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633
Quote:
tux.h:18:22: error: plib/ssg.h: No such file or directory
tux.h:20:21: error: GL/glut.h: No such file or directory
tux.h:21:30: error: plib/ssgKeyFlier.h: No such file or ...
Missing packages ...

# yum install freeglut-devel plib-devel

Good luck !
 
Old 08-14-2009, 12:51 PM   #4
DLinkd2
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Original Poster
Rep: Reputation: Disabled
when i type in what you say the "./make" command still doesn't work. its says: [Dallas@localhost tux_aqfh-1.0.14]$ ./make
bash: ./make: No such file or directory

and the Readme says do this in order after you cd to the directory:
./configure
make
make install

i do that and still the same error problem as before
 
Old 08-14-2009, 01:04 PM   #5
DLinkd2
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Original Poster
Rep: Reputation: Disabled
after downloading the missing packages when i use the make command it says warning ex: level.h:137: warning: ‘class TuxLifeInstance’ has virtual functions but non-virtual destructor

and make install gives me this:
[root@localhost tux_aqfh-1.0.14]# make install
Making install in src
make[1]: Entering directory `/home/Dallas/Documents/tux_aqfh-1.0.14/src'
c++ -g -O2 -O6 -Wall -o tux_aqfh camera.o components.o fade_out.o feature.o gfx.o globalstate.o gui.o hooks.o score.o isect.o level.o material.o ocean.o orca.o penguin.o rocket.o sound.o starwing.o status.o surf_rev.o tux.o tuxstate.o whale.o slamRun.o slamCodeGen.o slamExpression.o slam.o slamStatement.o slamSymbols.o slamToken.o -lplibsl -lplibssg -lplibpu -lplibfnt -lplibsg -lplibul -lpthread -lX11 -lXi -lXext -lXmu -lm
/usr/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
make[1]: *** [tux_aqfh] Error 1
make[1]: Leaving directory `/home/Dallas/Documents/tux_aqfh-1.0.14/src'
make: *** [install-recursive] Error 1
 
Old 08-14-2009, 01:09 PM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681
Check the readme file and pay attention to the dependencies and their versions. Also, if you are building from source, you may need the *-devel versions of the dependent libraries so that you get the header files needed to compile.
 
Old 08-14-2009, 01:21 PM   #7
DLinkd2
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Original Poster
Rep: Reputation: Disabled
sorry but im a bit of a linux noobie so could you maybe dumb i down a little.
anyways it says that you need:
OpenGL (or Mesa) + GLIDE (if you have a 3Dfx card)
GLUT (the GL Utility Toolkit)
PLIB

Yum says i have all of them, and the latest update for them too
 
Old 08-14-2009, 01:39 PM   #8
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Yum says "installed" for all of them?
 
Old 08-14-2009, 01:51 PM   #9
DLinkd2
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Original Poster
Rep: Reputation: Disabled
Now its saying GLUT, OpenGL, Mesa and Glide are un-avalible, where/how can i download them? RPM?
 
Old 08-14-2009, 02:52 PM   #10
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Fedora project only keeps repositories for 2 latest versions which are F12 and F11 so you're not likely to find any repository for your F8.

You could try reinstalling with F11 or F12 but Fedora has a short life cycle. It is very bleeding edge. You might want to switch to CentOS which has a longer life cycle if you're going to reinstall.

Failing finding a repository you'd have to find the source for the other packages and compile and install like you're trying to do with this one. Of course each of those might have other dependencies you don't have.
 
Old 08-14-2009, 03:09 PM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,590

Rep: Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643
HOW did you install them on the OLD and UNSUPPORTED fedora 8
those repos have been MOVED into the fedora archives .
Did you rewrite the repo files to point to the OLD archives ???
--- or ----
did you just download some rpm you found on the net .
If that then there are TWO incompatible groups of rpm's for the OLD fedora 8
The livna group

and the ATrpm group

THE TWO WERE INCOMPATIBLE and do not work together and will likely kill the computer


I would scrap fedora 8 and install fedora 11 or CentOS 5.3 on that old computer.
 
Old 08-14-2009, 03:11 PM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,484

Rep: Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633
To use yum in Fedora 8, you will have to change the 'fedora.repo'.
Recently all packages were moved to "archive/fedora".

cd /etc/yum.repos.d/
su
mkdir backup
mv fedora* backup/
cp 8fedora.repo .
... where the dot ( . ) means the current directory.
The file 8fedora.repo looks like this :
Code:
[fedora]
name=Fedora

baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/8/Everything/i386/os/

enabled=1
Then you can do
# yum install freeglut-devel plib-devel mesa-libGL-devel libXi-devel

.....
Next, please unpack tux_aqfh-1.0.14 to a new directory.
cd tux_aqfh-1.0.14/
./configure --x-libraries="%{_prefix}/%{_lib} -lplibjs"
make
# make install
.. Or cd src/ and do ' ./tux_aqfh ' and you are gaming !
.....
The configure line is a copied line ( minus some surplus words )
from the .spec file in
wget ftp://mirrors.kernel.org/mandrake/Ma...k.i586.src.rpm
which is the source code + tux_aqfh.spec .
.....

A "ready to run" package is also available :
wget ftp://mirrors.kernel.org/mandrake/Ma...-5mdk.i586.rpm
... and it displays the game OK on Fedora 8.
To be started with : /usr/games/tux_aqfh
.....

Last edited by knudfl; 08-14-2009 at 03:16 PM.
 
Old 08-14-2009, 03:34 PM   #13
DLinkd2
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks for all the help! but I'm moving onto Cent OS 5.3! i found Fedora 8 in there archives and downloaded it off of a Live-CD. A lot of this stuff was helpful and now i know what to do with Tarballs if they dont want to work. Thanks!
 
  


Reply

Tags
fedora 8


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
install nvtv on fedora core 5, cant find rpm, cant make install... zeltak Linux - Software 2 01-26-2007 09:21 AM
Unable to compile (make, make install):need linux-headers smiley_lauf Linux - Newbie 3 01-31-2006 12:05 AM
make install does not install daemons (clamd snortd). Is this a feature of tarball? Emmanuel_uk Linux - Newbie 3 11-15-2005 01:29 AM
unable to make install vijaysh Debian 3 01-06-2005 06:44 AM
How to make rule for make install and make uninstall melinda_sayang Programming 1 06-14-2004 05:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:49 AM.

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
Open Source Consulting | Domain Registration