<< Prev |
|
Installing / Compiling
Before installing you must have installed :
- Gnome lib and devel >= 1.2.8
- Gtk lib and devel >= 1.2
- asfrecord, in SOURCE archive if you want support for asf files. Without, gsfdm will compil and run, but you won't be able to download asf, asx... files.
Because of some problems with this soft, you have to found it by yourself. Don't ask me.- Wget ( 1.5.3 ) for http and ftp support.
For information, it was compiled and tested on :
- Linux k6-3d, Kernel 2.2.17, glibc 2.2.7
- XFree 4.0.2
- Autoconf 2.13.9
- Automake 1.4.14
- Gcc 2.95.2
- WindowMaker 0.70
I created a command "compiling.sh" in top directory. This will :to use it :
- autoconf the soft
- patch asfrecord
- make and install asfrecord
- make and install plugins
- make and install gsfdm
> cp <asfrecord.tar.gz> ./
> ./compiling.sh
Compilation is done in 2 times, one for gsfdm, one for asfrecord, the command line asf downloader.
- GSFDM :
The Soft uses autoconf, by default installation go in /usr/local. Only one option "--enable-debug" ( well, in fact only if I didn't forget to add it... ). This add debug support and enable dump of messages to the console.
so in main directory :
> ./configure
> make
> make install
- ASFrecord ( asfrecord3 )
Before compiling it, you have to apply a patch on it.
The patch is : "./plugin/gsfdm_asf/asfrec.diff".
It was done with the command "diff -urN <source ver> <modified ver> > asfrec.diff"You patch it with these commands ( change files name in case and add directory prefix ) :
> tar xvzf asfrecord.tar.gz
> patch -l -p0 < asfrec.diffYou compil with :
> cd asfrecord
> make
> make installThis install asfreecord3 - the modified version of asfrecord - in /usr/local. Edit "Makefile" if this don't fit you.
If the only place you have access to is your home directory - like in a college computer department - you have to make some changes. The common way is to create an unix like directory tree.
- Create below rep :
> mkdir -p $HOME/bin
> mkdir -p $HOME/lib
> mkdir -p $HOME/bin
> mkdir -p $HOME/gsfdm/plugin
> mkdir -p $HOME/CORBA/server
- Copy these files :
> cp -up ./src/gsfdm $HOME/bin
> cp -up ./plugin/gsfdm_asf/.lib/lib* $HOME/gsfdm/plugin
> cp -up ./plugin/gsfdm_http/.lib/lib* $HOME/gsfdm/plugin
> cp -up ./plugin/gsfdm_ftp/.lib/lib* $HOME/gsfdm/plugin
> cp -up ./idl/GSFDM.gnorba $HOME/CORBA/serverAnd because 5 minutes a day I could be nice, after compiling use instead in source top dir :
> ./install_in_user.sh
- NOTA : this won't copy optionnal files : help files, icon, internatinal files, do it be yourself...
- Copy libgnome_path* in $HOME/lib
- Copy asfrecord3, wget in case, in $HOME/bin
- Don't forget to add at end of your bash logging script :
export PATH=$PATH:$HOME/bin
export GNOME_GNORBA_PATH=$GNOME_GNORBA_PATH:$HOME/CORBA/server
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/lib
<< Prev |
|