next up previous contents 5
Next: Installing the newmat10 library Up: Installing the libraries Previous: Installing the auth library   Contents


Building the jpegsoc library

  1. Make sure that you have the jpeg-6b library installed on your computer.

  2. Checkout the jpegsoc software into the /usr/local/dcs directory.

    blctlxx:/usr/local/dcs > cvs checkout jpegsoc
    cvs checkout: Updating jpegsoc
    cvs checkout: Updating jpegsoc/decunix
    U jpegsoc/decunix/makefile
    cvs checkout: Updating jpegsoc/irix
    U jpegsoc/irix/makefile
    cvs checkout: Updating jpegsoc/linux
    U jpegsoc/linux/makefile
    cvs checkout: Updating jpegsoc/src
    U jpegsoc/src/jdatadstsock.c
    U jpegsoc/src/jdatasrcsock.c
    U jpegsoc/src/jpegsoc.h
    U jpegsoc/src/jsndrcv.c
    blctlxx:/usr/local/dcs >
    

  3. cd into the linux, decunix, or irix build directory.

    blctlxx:/usr/local/dcs > cd jpegsoc/linux/

  4. Verify that the makefile references the jpeg-6b libraries in the correct location for your computer.

  5. Build the software with the make command.

    blctlxx:/usr/local/dcs/jpegsoc/linux > make
    gcc -c -O -DLINUX -DAPPLACK -I../../xos//src/ -I../src -I/usr/local/ -I/usr/include  ../src/jsndrcv.c
    gcc -c -o jdatasrcsock_applack.o -O -DLINUX -DAPPLACK -I../../xos//src/ -I../src -I/usr/local/ -I/usr/include  ../src/jdatasrcsock.c
    gcc -c -o jdatadstsock_applack.o -O -DLINUX -DAPPLACK -I../../xos//src/ -I../src -I/usr/local/ -I/usr/include  ../src/jdatadstsock.c
    ar -vr jpegsoc_applack.a jsndrcv.o jdatasrcsock_applack.o jdatadstsock_applack.o
    a - jsndrcv.o
    a - jdatasrcsock_applack.o
    a - jdatadstsock_applack.o
    



Scott McPhillips 2002-10-10