jpeg

jpeg is a C function library for JPEG image manipulations. It includes command line tools (cjpeg, djpeg, etc).

Compilation (V8c)

Straightforward according to the provided install.txt.

AIX

            # AIX 6.1, C V9.0; AIX 7.1, C V12.1.
./configure --prefix=/tmp/jpeg-8c CC=cc CFLAGS="-O2 -D_LARGE_FILES -D_THREAD_SAFE" --enable-static --disable-shared
       
make
make test
make install
Creation of shared libraries seems to be supported, but appears to be buggy.

Compilation (V6b)

Straightforward according to the provided README. With $DST being the destination directory:
  1. configure CC=cc CFLAGS="-O2"          --prefix=$DST/jpeg-6b          # Tru64 5.1, AIX
    configure CC=cc CFLAGS="-O -Aa +e +z" --prefix=$DST/jpeg-6b          # HP-UX 9.1
    configure CC=cc CFLAGS="-O -Ae -D_REENTRANT -D_FILE_OFFSET_BITS=64 +z" --prefix=$DST/jpeg-6b # HP-UX 10.20
    make
    make test
    
  2. mkdir -p $DST/jpeg-6b/bin $DST/jpeg-6b/lib $DST/jpeg-6b/include $DST/jpeg-6b/man/man1 
    make install     # might need root privileges
    make install-lib # might need root privileges
    

Last update: 6-Feb-2013, M.Kraemer