xanim (Under construction)

X11 animations displayer.

Compilation

As described in README and Imakefile.
  1. Modify the Imakefile:
    DESTDIR=/tmp/xanim-2.80.1/ # temporary location to put things together
    BINDIR=bin
    MANPATH=man
    
    #if defined(AIXArchitecture)
    XCOMM to allow non-root installation: give appropriate group 
    INSTALLFLAGS = $(InstallFlags) -c -g biodev
    #endif
    
    #if defined(HPArchitecture)
    #if OSMajorVersion > 10 
    XA_DLL_DEF = -DXA_DLL -DXA_PRINT
    #endif
    #endif
    
    #if defined(HPArchitecture)
    #if OSMajorVersion > 10 
    XA_DLL_LIB = -ldl
    #endif
    #endif
                   # wherever zlib lives, for example
    #if defined(AIXArchitecture)
    XA_ZLIB_INCS = -I/nfs/local/51/include
    #endif
    #if defined(HPArchitecture)
    XA_ZLIB_INCS = -I/nfs/local/1020/include
    #endif
    #if defined(AIXArchitecture)
    XA_ZLIB_LDIR = -L/nfs/local/51/lib
    #endif
    #if defined(HPArchitecture)
    XA_ZLIB_LDIR = -L/nfs/local/1020/lib
    #endif
    
    #if defined(AIXArchitecture)
    XA_AUDIO_DEFS = -DXA_AIX_AUDIO -DXA_SELECT
    #endif
    #if defined(HPArchitecture)
    XA_AUDIO_DEFS = -DXA_HPDEV_AUDIO 
    XA_AUDIO_LIBS = 
    #endif
    
    #if defined(HPArchitecture)
    #if OSMajorVersion == 10 
    XA_MACH_DEFS  = +Onolimit -D_REENTRANT -D_FILE_OFFSET_BITS=64 +z -Ae
    #endif
    #endif
    #if AIXArchitecture
    XA_MACH_DEFS  = -D_LARGE_FILES -D_THREAD_SAFE
    #endif
    
    XA_SHARED = -DXSHM     # only if XShm is supported
    
    
  2. The man page sources do not seem to be in proper places for installation.
    Fix:
    ln -s docs/xanim.man xanim.man
    
  3. Then
    xmkmf
    make clean
    make
    make install     # might require root privileges or specified group
    make install.man # might requires root privileges or specified group
    

Last update: 4-Jun-2013, M.Kraemer