Difference between revisions of "LibTIFF"

From CBLFS
Jump to navigationJump to search
(Optional)
Line 12: Line 12:
 
* [[libjpeg]]
 
* [[libjpeg]]
 
* [[X Window System]]
 
* [[X Window System]]
* [[FreeGLUT]] or [[MesaLib]] (Which Provides a GLUT Library)
+
* [[FreeGLUT]] or [[Xorg7/MesaLib|MesaLib]] (Which Provides a GLUT Library)
  
 
== Non-Multilib ==
 
== Non-Multilib ==

Revision as of 15:21, 4 November 2006

Download Source: http://libtiff.maptools.org/dl/tiff-3.8.2.tar.gz

Dependencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" LDFLAGS="-L/usr/lib" \
    ./configure --prefix=/usr --x-libraries=${XORG_PREFIX}/lib &&
make

Install the package

make install &&
mv /usr/bin/motif-config{,-32}

N32

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" LDFLAGS="-L/usr/lib32" \
    ./configure --prefix=/usr --libdir=/usr/lib32 \
    --x-libraries=${XORG_PREFIX}/lib32 &&
make

Install the package

make install &&
mv /usr/bin/motif-config{,-n32}

64Bit

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" LDFLAGS="-L/usr/lib64" \
    ./configure --prefix=/usr --libdir=/usr/lib64 \
    --x-libraries=${XORG_PREFIX}/lib64 &&
make

Install the package

make install &&
mv /usr/bin/motif-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/motif-config
Retrieved from "?title=LibTIFF&oldid=3683"