Intro  Base  More  Read  Use  Last 30  60  90  All Articles  RSS


Intro

Base

More

Read

Use

Last:
30


60

90

All
Days

Base: Jpeg v6b   Print


Base Nav: first previous next last All Tab 2 spacerspacer
Source code is available here.

Run these commands:

cd /sources/ &&
tar -xzf jpegsrc.v6b.tar.gz &&
cd jpeg-6b &&
./configure --enable-static --enable-shared --prefix=/usr &&
make &&
make install

The output should look something like this:

checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... gcc -E
checking for function prototypes... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for size_t... yes
checking for type unsigned char... yes
checking for type unsigned short... yes
checking for type void... yes
checking for working const... yes
checking for inline... __inline__
checking for broken incomplete types... ok
checking for short external names... ok
checking to see if char is signed... yes
checking to see if right shift is signed... yes
checking to see if fopen accepts b spec... yes
checking for a BSD compatible install... /bin/install -c
checking for ranlib... ranlib
.
.
.
/bin/install -c -m 644 ./jerror.h /usr/include/jerror.h
./libtool --mode=install /bin/install -c libjpeg.la /usr/lib/libjpeg.la
/bin/install -c .libs/libjpeg.so.62.0.0 /usr/lib/libjpeg.so.62.0.0
rm -f /usr/lib/libjpeg.so.62 /usr/lib/libjpeg.so
(cd /usr/lib && ln -s libjpeg.so.62.0.0 libjpeg.so.62)
(cd /usr/lib && ln -s libjpeg.so.62.0.0 libjpeg.so)
/bin/install -c libjpeg.la /usr/lib/libjpeg.la
/bin/install -c .libs/libjpeg.a /usr/lib/libjpeg.a
ranlib /usr/lib/libjpeg.a
chmod 644 /usr/lib/libjpeg.a
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/lib
------------------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib

To link against installed libraries in a given directory, LIBDIR,
you must use the `-LLIBDIR' flag during linking.

 You will also need to do one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
------------------------------------------------------------------------------
./libtool --mode=install /bin/install -c cjpeg /usr/bin/cjpeg
/bin/install -c .libs/cjpeg /usr/bin/cjpeg
./libtool --mode=install /bin/install -c djpeg /usr/bin/djpeg
/bin/install -c .libs/djpeg /usr/bin/djpeg
./libtool --mode=install /bin/install -c jpegtran /usr/bin/jpegtran
/bin/install -c .libs/jpegtran /usr/bin/jpegtran
./libtool --mode=install /bin/install -c rdjpgcom /usr/bin/rdjpgcom
/bin/install -c rdjpgcom /usr/bin/rdjpgcom
./libtool --mode=install /bin/install -c wrjpgcom /usr/bin/wrjpgcom
/bin/install -c wrjpgcom /usr/bin/wrjpgcom
/bin/install -c -m 644 ./cjpeg.1 /usr/man/man1/cjpeg.1
/bin/install -c -m 644 ./djpeg.1 /usr/man/man1/djpeg.1
/bin/install -c -m 644 ./jpegtran.1 /usr/man/man1/jpegtran.1
/bin/install -c -m 644 ./rdjpgcom.1 /usr/man/man1/rdjpgcom.1
/bin/install -c -m 644 ./wrjpgcom.1 /usr/man/man1/wrjpgcom.1

~~~
Please read our Terms of Use
The Mountain Climbing Journal filesystem has borrowed heavily from various pieces of Linux From Scratch.

Copyright 2006-2008 NoNIC.org

Created by:
MCJ
MCJ CMS