Difference between revisions of "LibTIFF"

From CBLFS
Jump to navigationJump to search
Line 31: Line 31:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr \
+
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" LDFLAGS="-L/usr/lib" \
    --x-libraries=${XORG_PREFIX}/lib &&
+
    ./configure --prefix=/usr --x-libraries=${XORG_PREFIX}/lib &&
 
  make
 
  make
  
Line 43: Line 43:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
+
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" LDFLAGS="-L/usr/lib32" \
 +
    ./configure --prefix=/usr --libdir=/usr/lib32 \
 
     --x-libraries=${XORG_PREFIX}/lib32 &&
 
     --x-libraries=${XORG_PREFIX}/lib32 &&
 
  make
 
  make
Line 55: Line 56:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
+
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" LDFLAGS="-L/usr/lib64" \
 +
    ./configure --prefix=/usr --libdir=/usr/lib64 \
 
     --x-libraries=${XORG_PREFIX}/lib64 &&
 
     --x-libraries=${XORG_PREFIX}/lib64 &&
 
  make
 
  make

Revision as of 12:15, 16 September 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

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

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
Retrieved from "?title=LibTIFF&oldid=1807"