LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 08-19-2005, 12:28 AM   #1
kwid21
Member
 
Registered: Aug 2005
Posts: 44

Rep: Reputation: 15
.tar files help won't make


After extracting the files, switching to the directory and typing make, it won't do anything. it gives just gives errors.
 
Old 08-19-2005, 12:42 AM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
After you open the tar file, make isn't the next command. Usually, it would go like this:
Code:
./configure
make
(then as root)make install
If you just untarred and tried to make, you will get errors for sure. Also, read the README or INSTALL file for help with options that you may need to get ./configure or make to work.

Peace,
JimBass
 
Old 08-19-2005, 12:48 AM   #3
kwid21
Member
 
Registered: Aug 2005
Posts: 44

Original Poster
Rep: Reputation: 15
Still dosen't work. Here's what it says:
robby@linux:~> cd '/home/robby/Downloaded files/CrownCutlass'
robby@linux:~/Downloaded files/CrownCutlass> ./config
bash: ./config: No such file or directory
robby@linux:~/Downloaded files/CrownCutlass
 
Old 08-19-2005, 12:51 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It should be

$ ./configure

or does that not work either?
 
Old 08-19-2005, 12:54 AM   #5
kwid21
Member
 
Registered: Aug 2005
Posts: 44

Original Poster
Rep: Reputation: 15
That dosen't work either:
robby@linux:~/Downloaded files/CrownCutlass> $ ./configure
bash: $: command not found
robby@linux:~/Downloaded files/CrownCutlass>
 
Old 08-19-2005, 12:56 AM   #6
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
You don't add the $, you just do ./configure or ./config, whichever file exists.

Peace,
JimBass
 
Old 08-19-2005, 01:03 AM   #7
kwid21
Member
 
Registered: Aug 2005
Posts: 44

Original Poster
Rep: Reputation: 15
Maybe I am missing that particular file?
robby@linux:~/Downloaded files/CrownCutlass> ./config
bash: ./config: No such file or directory
robby@linux:~/Downloaded files/CrownCutlass> ./configure
bash: ./configure: No such file or directory
robby@linux:~/Downloaded files/CrownCutlass>
 
Old 08-19-2005, 01:07 AM   #8
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Then you need to read the README or the INSTALL, and the directions will be in there.

Peace,
JimBass
 
Old 08-19-2005, 01:11 AM   #9
kwid21
Member
 
Registered: Aug 2005
Posts: 44

Original Poster
Rep: Reputation: 15
The install says,"To install Crown and Cutlass in Linux, simply extract the source and type 'make'.
After I do that, it says:
make: sdl-config: Command not found
g++ -ansi -Wall -Werror -g -O3 -march=i586 -mfpmath=387 -DTIXML_USE_STL -o src/Player.o -c src/Player.cpp
make: g++: Command not found
make: *** [src/Player.o] Error 127
robby@linux:~/Downloaded files/CrownCutlass>

Sorry for all the questions and newbie responses, but I just don't know Linux at all.

Last edited by kwid21; 08-19-2005 at 01:12 AM.
 
Old 08-19-2005, 01:14 AM   #10
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You don't have GCC's C++ compiler, so you need to install the gcc-c++ package. How you do that will depend on which distro you're using.
 
Old 08-19-2005, 01:16 AM   #11
kwid21
Member
 
Registered: Aug 2005
Posts: 44

Original Poster
Rep: Reputation: 15
I'm currently using suse 9.2
 
Old 08-19-2005, 01:21 AM   #12
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I've never used SuSe . Do you know how to use YaST though? If you can find it and work out how to install "development tools" (gcc, gcc-c++ and possibly what else is there), that's what you need to do.
 
Old 08-19-2005, 01:23 AM   #13
kwid21
Member
 
Registered: Aug 2005
Posts: 44

Original Poster
Rep: Reputation: 15
I installed it with Yast, then tried to 'make' again. This time it tried to compile everything, but gave 9908 errors.
 
Old 08-19-2005, 01:26 AM   #14
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Could you post the output please?
 
Old 08-19-2005, 01:34 AM   #15
kwid21
Member
 
Registered: Aug 2005
Posts: 44

Original Poster
Rep: Reputation: 15
It's too long to submit in a reply. I'll post the last bit of it:
src/GLee.h:9858: error: `Display' was not declared in this scope
src/GLee.h:9858: error: `dpy' was not declared in this scope
src/GLee.h:9858: error: syntax error before `,' token
src/GLee.h:9859: error: `Display' was not declared in this scope
src/GLee.h:9859: error: `dpy' was not declared in this scope
src/GLee.h:9859: error: syntax error before `)' token
src/GLee.h:9860: error: `Display' was not declared in this scope
src/GLee.h:9860: error: `dpy' was not declared in this scope
src/GLee.h:9860: error: syntax error before `)' token
src/GLee.h:9861: error: `Display' was not declared in this scope
src/GLee.h:9861: error: `dpy' was not declared in this scope
src/GLee.h:9861: error: syntax error before `,' token
src/GLee.h:9862: error: `Display' was not declared in this scope
src/GLee.h:9862: error: `dpy' was not declared in this scope
src/GLee.h:9862: error: syntax error before `,' token
src/GLee.h:9863: error: `Display' was not declared in this scope
src/GLee.h:9863: error: `dpy' was not declared in this scope
src/GLee.h:9863: error: syntax error before `,' token
src/GLee.h:9904: error: `GLeeInit' declared as function returning a function
src/GLee.h:9905: error: `GLeeForceLink' declared as function returning a
function
src/GLee.h:9908: error: `GLeeEnabled' declared as function returning a function
make: *** [src/Player.o] Error 1
robby@linux:~/Downloaded files/CrownCutlass>
 
  


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
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 12:02 PM
how to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 09:09 PM
backup files, tar, do i need to make a copy dtra Linux - Software 3 05-10-2005 09:52 PM
how do i make .tar.gz files? ShawnD Linux - General 5 07-24-2002 05:51 AM
Can I automate the tar, ./configure, make, and make install of about 50 packages? JoeLinux Linux - General 2 04-13-2002 04:35 AM


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