thanks again for all the help, and apologies for the late reply I took a break from Linux a few days!
So experimenting more around the problem of innstalling this 3Dpong thing.
The url we're talking about is:
http://directory.fsf.org/games/
and 3dpong is the first one.
I kind of liked thisisquincyorjim's procedural approach to the problem, but after extracting the tarball and navigating to the 3dpong directory, the approach broke down at point 8 when typing "./configure". This produced:
bash: ./configure: No such file or directory
I think Nylex is right that not all source packages have a configure script - and I think 3dpong might be an example of one that does not. It does have README and INSTALL files though, and in these it is suggested I type "make" or "make install".
However, typing "make" or "make install" still produces long lists of errors. The most interesting feedback from typing this is the first line:
gcc -I/usr/X11R6/include src/3dpong.c -c -o obj/3dpong.o
I can see that this must have been produced in the makefile. Since,
[Extracts from the makefile:]
Code:
CC=gcc
CFLAGS=-I/usr/X11R6/include
[...]
obj/3dpong.o: src/3dpong.c src/window.h src/connect.h src/hints.h \
src/visual.h src/gc.h src/color.h src/randnum.h src/text.h
$(CC) $(CFLAGS) src/3dpong.c -c -o obj/3dpong.o
Now, turning to farpoint's extremely helpful reply, I think he is right that I'm missing some development packages to get this done. Because, I don't have any directory called usr/X11R6/include. (I do have one called usr/X11R6/bin though)
But, when I try to install development packages through the add/remove package utility in GNOME, I don't know what to install. There is one category called "Development Libraries" that contain 30 packages, and there is another category called "Development Tools" that contain 73 packages! Browsing through these most of them don't look like anything I need, neither do I understand what most of these ARE. So what should I install??
I was wondering what exactly this line is doing:
gcc -I/usr/X11R6/include src/3dpong.c -c -o obj/3dpong.o
is -I/usr/X11R6/include an attribute, is it pointing to a directory, what is the -I? Is it attempting to make a obj/3dpong.o file?
An additional question is where the c library files reside? Is studio.h a physical file on the machine? Why doesn't typing
ls studio.h -R
work?
thanks again my linux friends