Prev Up (Under construction)

xarchie

xarchie is a tool for finding files in FTP archives on the Internet.

Compilation (V2.0.10)

The build procedure requires to run a configure first, which generates a header file config.h, which in turn is used by the supplied Imakefile. You are supposed to modify the latter files according to your local preferences.

AIX

  1. Run
              # AIX 5.3/6.1/7.1, C 8.0/9.0/12.1
    export CC=cc; configure
    
  2. In config.h:
    #undef NEED_LRESOLV
    
  3. In Imakefile:
    DESTDIR = /tmp/xarchie-2.0.10/
    MANPATH = man
    BINDIR  = bin
    LIBDIR  = lib/X11
              # AIX 5.3/6.1/7.1, C 8.0/9.0/12.1
    CFLAGS=-O2 -D_LARGE_FILES -I./
              # AIX: need to specify an existing group, e.g.:
    INSTALL=/usr/bin/installbsd -c -g biodev
    
  4. xmkmf
    make Makefiles      # sometimes barfs, ignore
    cd FWF/Dir;         xmkmf; make Makefiles
    cd  ../FileChooser; xmkmf; make Makefiles
    cd  ../MultiList;   xmkmf; make Makefiles
    cd  ../..
    make clean
    make
    make install
    make install.man
    

HP-UX 11.00

  1. configure --prefix=/tmp/xarchie-2.0.10
  2. generates Imakefile. There:
    #undef NEED_LRESOLV
    
  3. xmkmf
    make Makefiles
    # or
    imake -DUseInstalled -I/usr/local/lib/X11/config
    make depend
    
  4. To prevent the installation to go into /usr in the Makefile adapt
    DESTDIR = /tmp/xarchie-2.0.10
    MANPATH = man
    BINDIR = bin
    LIBDIR = lib/X11
    
    then run
    make
    make install
    make install.man
    

HP-UX 10.20

  1. export CC=cc # native compiler rather than gcc
    configure 
    
  2. generates Imakefile. To prevent the installation to go into /usr insert:
    DESTDIR = /tmp/xarchie-2.0.10/
    MANPATH = man
    BINDIR = bin
    LIBDIR = lib/X11
    
  3. Generate makefiles
    xmkmf
    make Makefiles
    
    The top makefile seems broken, so for the lower ones separately:
    cd FWF/Dir; xmkmf; make Makefiles
    cd  ../FileChooser; xmkmf; make Makefiles
    cd  ../MultiList; xmkmf; make Makefiles
    cd ../..
    
  4. Then run:
    make clean
    make
    make install
    make install.man
    

Installation & configuration


Last updated: Fri, May 31, 2013 10:23:44 PM , M.Kraemer

Impressum Data privacy protection