File: XTree:\Forum archive |Bottom_of_page

| View Thread | Return to Index | Read Prev Msg | Read Next Msg |

XTree Forum archive

Re: Compiling XTC

Posted By: Mathias Winkler <>
Date: May-5-1999 7:39 p.m.

In Response To: Compiling XTC (Victor Garcia)

> I'm having problems compiling XTC (sorry for this basic questions).

Don't mind ! Everyone has been asking basic questions, some time!...

> 1.- Why exactly do I have to compile the source code of the program ?
> Isin't easier that Peter Kelly could give the compiled one.
> (I know this is very common in Unix-Linux, but tell me why)

Distribution of source code is common, rather than distributing compiled
versions.

The reason is that there are many libraries which may differ somewhat and may
reside in different directories in certain Linux distributions, so a
precompiled program often won't run properly under some installations.

On the other hand, particularly XTC is a (GNU) "development version", and
everyone is invited to look at the source code and publish any improvent
suggestions.

> 2.- Then, what is the exact syntax to compile it ?
> I followed these steps:
> a) I download the file "xtc-0_1_6_tar.gz" in a
> "W95-PC" (I still can't
> configure well Linux to dial my ISP)
> b) I copy the file to a floppy and then in the Linux machine copied the
> file with "mtools" (mcopy) to a temp dir (as root user)
> c) I uncompress the file with gzip
> d) I tried to compile it with "make -f xtc", but it doesen't
> work.

After uncompressing the ...tar.gz file, change to this particular directory
(with a command like "cd ~/any/directory/you/choosed/xtc-0.1.6" ), then you
first have to run the autoconfiguration program with: "./configure" ;this will
write some settings according to your system configuration to some XTC files.

Now you're ready to compile XTC; again, *be_sure* you're in the directory of
your XTC files, then simply type "make" - without any arguments !!

Well, this should create the executable file "xtc" in this directory, test it
by typing "./xtc" . If it runs successfully, you should login as superuser
(type "su") and move or copy the executable file to directory "/usr/local/bin"
(Best you use the Norton Commander clone "Midnight Commander" first to copy or
move files, because this file manager is present and (usually) preconfigured on
nearly any Linux system, it makes things much easier, as long as you don't have
any Xtree clones running... - just type "mc" to invoke it).

Now you're able to run xtc from any directory by simply typing it's name "xtc".

Hope that helps !

Best regards
Mathias

Messages in This Thread

| View Thread | Return to Index | Read Prev Msg | Read Next Msg |

XTree Forum archive is maintained by Mathias Winkler with WebBBS 3.21.

 
---<>---
 
Xtree and XtreeGold are registered trademarks of Symantec Inc.
Other brands and products are trademarks of their respective holders.


FILE COMMANDS:  Directory_view Previous_file   Next_file cuRrent   /Help |Top_of_page