LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   .tar files help won't make (https://www.linuxquestions.org/questions/linux-newbie-8/tar-files-help-wont-make-354764/)

kwid21 08-18-2005 11:28 PM

.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.

JimBass 08-18-2005 11:42 PM

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

kwid21 08-18-2005 11:48 PM

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

Nylex 08-18-2005 11:51 PM

It should be

$ ./configure

or does that not work either?

kwid21 08-18-2005 11:54 PM

That dosen't work either:
robby@linux:~/Downloaded files/CrownCutlass> $ ./configure
bash: $: command not found
robby@linux:~/Downloaded files/CrownCutlass>

JimBass 08-18-2005 11:56 PM

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

Peace,
JimBass

kwid21 08-19-2005 12:03 AM

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>

JimBass 08-19-2005 12:07 AM

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

Peace,
JimBass

kwid21 08-19-2005 12:11 AM

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.

Nylex 08-19-2005 12:14 AM

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.

kwid21 08-19-2005 12:16 AM

I'm currently using suse 9.2

Nylex 08-19-2005 12:21 AM

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.

kwid21 08-19-2005 12:23 AM

I installed it with Yast, then tried to 'make' again. This time it tried to compile everything, but gave 9908 errors.

Nylex 08-19-2005 12:26 AM

Could you post the output please?

kwid21 08-19-2005 12:34 AM

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>


All times are GMT -5. The time now is 05:07 PM.