LinuxQuestions.org
Help answer threads with 0 replies.
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 03-16-2004, 01:59 PM   #1
8webguy8
LQ Newbie
 
Registered: Mar 2004
Location: over here
Distribution: Redhat 9 (maybe)
Posts: 13

Rep: Reputation: 0
trying to learn how to install something


I'm really confused. I've read through several posts about installing stuff, just to learn how to do it now that I have redhat installed and I can't grasp the concept for the life of me. I figured I would try something easy , so I downloaded a game from happypenguin.org - neverball. Looks cool enough to be happy with once it is installed. I extracted it from the tar, got it in its own folder, entered the folder and typed make, went through a process and reported one error. Got a bunch of new text files..and..thats it. I am odviously missing something, or am I just not trying hard enough. I tried kicking the computer..but that didn't seem to help any.

webG
 
Old 03-16-2004, 02:03 PM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Try:
./configure && make && make install
as root. It is 3 commands strung together. You may want to look into checkinstall for easy uninstallation of these things.
 
Old 03-16-2004, 02:21 PM   #3
sirpimpsalot
Member
 
Registered: Feb 2004
Posts: 141

Rep: Reputation: 15
here is a link to a tutorial that is a little more verbose... as stated above ./configure _> make_> make install in the dir where you extracted the tar to...run as root is the basic formula...

http://linuxhelp.homeunix.com/cgi-bin/rblh/index.rb
 
Old 03-16-2004, 02:39 PM   #4
8webguy8
LQ Newbie
 
Registered: Mar 2004
Location: over here
Distribution: Redhat 9 (maybe)
Posts: 13

Original Poster
Rep: Reputation: 0
when I do ./configure it says no such file or directory ? As does ./neverball

this is from the readme file. I tried it word for word...

* BUILDING

make (Unix)
or
nmake /fMakefile-W32 (Windows with MSVC)

The executables will be copied to the base directory. Maps will be
processed and copied into data/sol/. By default, an uninstalled build
may be executed in place.



* RUNNING

./neverball

./

Last edited by 8webguy8; 03-16-2004 at 02:46 PM.
 
Old 03-16-2004, 02:49 PM   #5
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Just do 'make'. The three commands are what's usually used. Make sure you are in the right directory. Post any errors you get. The './neverball' executes the neverball program in the current directory.
 
Old 03-16-2004, 03:00 PM   #6
8webguy8
LQ Newbie
 
Registered: Mar 2004
Location: over here
Distribution: Redhat 9 (maybe)
Posts: 13

Original Poster
Rep: Reputation: 0
this is the verbose generated by make:

##############
cc -Wall -O3 -ansi -I/usr/include/SDL -D_REENTRANT -c text.c
text.c:16:21: SDL_ttf.h: No such file or directory
In file included from text.c:21:
image.h:5:21: SDL_ttf.h: No such file or directory
In file included from text.c:21:
image.h:16: parse error before "TTF_Font"
text.c:35: parse error before '*' token
text.c:35: warning: type defaults to `int' in declaration of `text_font'
text.c:35: warning: data definition has no type or storage class
text.c: In function `text_init':
text.c:45: warning: implicit declaration of function `TTF_Init'
text.c:49: warning: implicit declaration of function `TTF_OpenFont'
text.c:49: warning: assignment makes pointer from integer without a cast
text.c:50: warning: assignment makes pointer from integer without a cast
text.c:51: warning: assignment makes pointer from integer without a cast
text.c: In function `text_free':
text.c:70: warning: implicit declaration of function `TTF_CloseFont'
text.c:74: warning: implicit declaration of function `TTF_Quit'
text.c: In function `text_size':
text.c:86: warning: implicit declaration of function `TTF_SizeText'
make: *** [text.o] Error 1
####################

thanks for the help
webG
 
Old 03-16-2004, 03:16 PM   #7
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Quote:
text.c:16:21: SDL_ttf.h: No such file or directory
Did you check the dependencies (what the prog needs to run)?
 
Old 03-16-2004, 03:53 PM   #8
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Geez, go to www.libsdl.org, find the libraries section, search for SDL_ttf and install it.
 
Old 03-17-2004, 09:43 AM   #9
8webguy8
LQ Newbie
 
Registered: Mar 2004
Location: over here
Distribution: Redhat 9 (maybe)
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for the help. Geuss everything needs something else. This program needs another program and I need a little more help..haha.

I downloaded the SDL_ttf and installed it, and after that the other installer still would not install, reports the same errors I listed above. In this type of thing normal? To have frequent errors like this?

Sorry I don't know much about this stuff yet, my linux books arrive in the mail today..oh yeah!

webG

Last edited by 8webguy8; 03-17-2004 at 09:51 AM.
 
Old 03-17-2004, 01:37 PM   #10
the_tflk
Member
 
Registered: Jul 2003
Location: MA
Distribution: Ubuntu
Posts: 35

Rep: Reputation: 16
Hi there.... sorry to leech off your post, but...
The preceeding info found here was very helpful and let me do exactly what I wanted to do, which was install blackbox from a tar.gz, but now I have a question.
Here is the tail end of my install adventure.

****************************************
make[3]: Entering directory `/home/jon/blackbox/blackbox-0.65.0/nls/da_DK'
Translation.m:8: invalid character: message ignored
Translation.m:9: invalid character: message ignored
Translation.m:24: invalid character: message ignored
Translation.m:28: invalid character: message ignored
Translation.m:29: invalid character: message ignored
Translation.m:30: invalid character: message ignored
Translation.m:31: invalid character: message ignored
Translation.m:33: invalid character: message ignored
Translation.m:34: invalid character: message ignored
Translation.m:48: invalid character: message ignored
Translation.m:58: invalid character: message ignored
Translation.m:60: invalid character: message ignored
Translation.m:101: invalid character: message ignored
Translation.m:103: invalid character: message ignored
Translation.m:110: invalid character: message ignored
Translation.m:114: invalid character: message ignored
Translation.m:122: invalid character: message ignored
Translation.m:123: invalid character: message ignored
Translation.m:124: invalid character: message ignored
Translation.m:125: invalid character: message ignored
Translation.m:140: invalid character: message ignored
Translation.m:152: invalid character: message ignored
Translation.m:155: invalid character: message ignored
Translation.m:160: invalid character: message ignored
Translation.m:161: invalid character: message ignored
Translation.m:162: invalid character: message ignored
Translation.m:168: invalid character: message ignored
Translation.m:169: invalid character: message ignored
Translation.m:170: invalid character: message ignored
Translation.m:171: invalid character: message ignored
Translation.m:184: invalid character: message ignored
Translation.m:185: invalid character: message ignored
make[3]: *** [blackbox.cat] Error 1
make[3]: Leaving directory `/home/jon/blackbox/blackbox-0.65.0/nls/da_DK'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jon/blackbox/blackbox-0.65.0/nls'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jon/blackbox/blackbox-0.65.0'
make: *** [all-recursive-am] Error 2
****************************************

I am going to bookmark this page, log off and try to use black box... If I dont have any luck I will be back in the hopes that you'll be as patient with me as you were with 8webguy8.
Back in a bit.
 
Old 03-17-2004, 01:38 PM   #11
the_tflk
Member
 
Registered: Jul 2003
Location: MA
Distribution: Ubuntu
Posts: 35

Rep: Reputation: 16
Oh right, my question. What's the story with the tail end of the installation output? :-D
 
  


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
Quest to install GXine (and learn something too) MColm Linux - Software 4 11-28-2005 10:50 PM
Looking for a Windows Manager easy to learn and install from a technical perspective TGWDNGHN Linux - Software 1 10-07-2005 03:15 PM
desperately wanting to find a driver and learn how to install it, for Netgear's MA111 Perquisitor Linux - Networking 1 11-08-2004 02:30 PM
Would like to learn how to install and use IRC? jdruin Linux - Software 9 04-18-2004 05:50 PM
book/ reference to learn how to compile, install softwares? sirpelidor Linux - Software 2 10-29-2003 06:29 AM


All times are GMT -5. The time now is 06:58 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