xearth.


Forum: Other Help Topics
Topic: xearth.
started by: andrewphoto

Posted by andrewphoto on June 10 2005,13:48
I want xearth (downloaded xearth-1.1.tar.gz,) on my pc. I used to have it on Red Hat 6.
Improves ones geography, 155k (unlike xplanet.dsl - 8.47MB,) and my little nephew will love it, and it looks nice.
I do not want to try going the rpm - dsl way, seems like a cop-out to me.

I installed gccl.dsl and tried tar cd configure make etc. (cp Makefile.DIST Makefile,) but no joy.

I tried digesting the INSTALL notes. Suppose I can vaguely comprehend;
C compiler  cc = gcc?
X include files in usual place (/usr/include?)

I think it's all above my ability at the moment.
Would be overjoyed if somebody would give a little time and help me, point me, assist me here.

I put the INSTALL and Makefile on a web page, for easier viewing;

< http://www.andrewjchapman.co.uk/xxxearth.htm >

Please help, andyp.

Posted by Guest on June 10 2005,14:49
Unfortunately, the DSL base iso does not contain the header files in /usr/include.  All header files were removed.  And the gcc1.dsl contains only the header files that comes with the GNU compiler collection.  There are no header files for X in it.

If you want to compile this software, you may need to do it using Knoppix 3.4 LiveCD.  The DSL LiveCD is based on this, and it has a big collection of libraries and header files to compile almost anything.  It is 700MB so be prepared to camp in front of your computer during the download.

After you compile, copy the contents of the directory to somewhere permanent (preferrably a ext2-formatted partition, but a Windows/Dos partition will work too).  Then boot DSL, copy the files back to your home directory, and run using the command "./xearth".

Posted by mikshaw on June 10 2005,14:57
There's no way for me to give very specific help since i've never tried to compile xearth...there are as many possible problems as there are applications.
What i can say is to pay close attention to the error messages you get from configure and make.  Sometimes it's difficult to understand what the errors mean, but they usually point you in the right direction.
My guess is the most likely problem you'll have in DSL is missing headers (includes).  You mentioned X includes, so i'm guessing that they are required to compile this program....DSL does not contain the X headers as far as i know, so you will need to install them.  The same could be said for other headers, and libs, which are not in DSL.
I didn't see much about dependencies in the INSTALL file, but they could be listed in README.

Posted by andrewphoto on June 10 2005,15:32
Thanks Guest & mikshaw,
missing headers (includes)
missing X headers

please could you perhaps give me a pointer, I need to install what file/program?

Should I install Xlibs.dev?

Appreciate this guys, I'm learning.
I'm grasping, I'm learning that I need libraries and header files, I can learn what these are, sort of definition in a nutshell.

Posted by andrewphoto on June 10 2005,15:47
Just downloaded "Creating a tar.gz Extension from Source," from DSL docs, to read. Typed in lib and two entries came up.
Posted by cbagger01 on June 10 2005,17:04
Or you can take the cop out method by using the deb2dsl script.

apt-get install xearth

and then download and run deb2dsl

Posted by andrewphoto on June 11 2005,10:11
I've a partition on my hd that I am going to put a full-fat distro onto (I havn't decided which distro yet.)
I loaded Knoppix, didn't put Grub in the master (I rate Lilo,) & booted from floppy.

I ran make and it didn't work.
/usr/bin/.ld  cannot find - lXt

I ran imake & that worked.
imake -DUseInstalled
-I/usr/X11R6/lib/X11/config

The moment of truth. I clicked on xearth. Nothing.

Pity, but I am now giving up on this one. Not to worry.

Thank You cbagger01. I wonder if it's worth me giving deb2dsl a shot.

Posted by clivesay on June 11 2005,11:58
andrew,

you're making this one too difficult.  :)  (with an internet connection) go to Apps->Tools->Enable Apt and then do 'apt-get install xearth'. It only takes literally 3 seconds to install. Type xearth and BAM! there you are. I just did it to test for you. If you copy and run the deb2dsl script you'll have your own click and run .dsl file of xearth.

Good luck

Chris

Posted by andrewphoto on June 11 2005,12:04
Fantastic.
Posted by andrewphoto on June 11 2005,14:01
At the moment I use the public library for internet access (International Press Corps is the School of Hard Knocks.)
Looks like I'll have to purchase a USB drive soon (I think you's may have seen my posting in Ideas & Suggest.)

Patience is a virtue...
(are we enjoying ourselves, yes we are.)

P.s. No USB Drive Left Behind, Inc!!

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.