gv (Under construction)

PostScript previewer. Needs gs to be installed.

Compilation

Needs Xaw3d widget library and xmkmf utility. Follow instructions in INSTALL.Unix.
  1. in config.Unix modify / add:
       #  for nonstandard installation directory (example)
       DESTDIR=/tmp/gv-3.5.8/                       # temporary installation
       #if defined(AIXArchitecture)
       INSTALL=/usr/ucb/install -c -g biodev        # specify group to avoid root installation
       #endif
       GV_BINDIR    = bin/
       GV_DOCDIR    = doc/gv/
       GV_LIBDIR    = lib/gv/
       GV_MANDIR    = man/mann/
       # Xaw3d location (example)
       #if defined(AIXArchitecture)
       XAWLIB = -L/nfs/local/51/lib/ -lXaw3d
       #endif
       #if defined(AIXArchitecture)
       XAW3D_HEADERS = -I/nfs/local/51/include/
       #endif
    
    check also architecture-dependent settings and compiler flags.
  2. in source/Imakefile modify / add:
       LIBDIR=lib/X11
    
    to force app-defaults into non-standard location.
  3. If necessary, in source/paths.h modify
    #   define INC_X11(aaa) <X11/##aaa##>  # if unsupported ...
    #   define INC_X11(aaa) <X11/aaa>      # ... use this
    
  4. Then
    xmkmf
    make Makefiles
    make clean
    make
    make install      # might need root privileges
    make install.man  # might need root privileges
    make install.doc  # might need root privileges
    

Installation

Ensure that gv's lib/X11/app-defaults/GV is in the X search path, e.g.:
cd /nfs/install/51/lib/X11/app-defaults
ln -sf ../../gv/gv_user.ad GV
export XFILESEARCHPATH=$COMMONWARE/lib/X11/app-defaults/%N

Last update: 14-Jul-2013, M.Kraemer