In order to compile fof, you must have the following libs installed on your system :
Fof has been developed using the glibc 1 or libc 5 under
linux. Next versions will be fully glibc2 - libc 6 compliant.
For this beta release, a single linux-specific makefile is
provided. Further versions will use the a portability tool.
$ tar xvzf fof-x.yz-status-sources.tar.gz You'll obtain the following tree : fof-x.yz-status/ : main directory fof-x.yz-status/README : Read this first fof-x.yz-status/INSTALL : installation instructions fof-x.yz-status/LICENSE : the GNU General Public License (GPL) fof-x.yz-status/TODO : to do list fof-x.yz-status/CHANGES.LOG : logfile fof-x.yz-status/Makefile : The build file fof-x.yz-status/docs/ : documentations files fof-x.yz-status/xpm/ : pixmap files fof-x.yz-status/cursor/ : drag and drop cursors
Check the header dependencies : $ make depend Compile a dynamic version : $ make OR a static version : $ make static Step 3 : clean the source tree $ make clean (cleanall deletes the binary files and restore the default Makefile)
There are two ways to install fof :
Just type ./install and wait for the installation to proceed
By default, fof will be installed in /usr/local/bin/fof You can change the BINDIR variable in the script.
The documentation files will be in /usr/doc/fof-x.yz-status/ Change the DOCDIR variable in the script.
Just type in the fof distribution main directory :
$ make install
By default, fof will be installed in /usr/local/bin/fof You can change the BINDIR entry in the Makefile.
The documentation files will be in /usr/doc/fof-x.yz-status/ Change the DOCDIR entry in the Makefile and the default Fof.ad resource file will be copied in you app-default directory (generally /usr/lib/X11/app-defaults)
IMPORTANT : READ THIS !Using a standard user account :
$ cp default.fofrc $HOME/.fofrc
IMPORTANT : you must first check that fof is in you PATH variable. If this is not the case, you won't be able to use the multiple windows (nice) features except if you change the FofDefaultCommandLine (see the section 8 about customizing fof).
The command line is : fof starting-directory [-rc rcfile] [toolkit options]
By default, fof will use the $HOME/.fofrc file as config file but you
can provide another config file using the -rc option.
NOTE : if the $HOME/.fofrc file doesn't exists and you don't specify
another config file, the program won't start.
The toolkit options are the well known widget resource values
specified on the command line (see a Xt manual).
The starting directory is the directory you want to browse, the
default is the current directory.
IMPORTANT : You must specify this parameter as the FIRST option of the
command line.