Difference between revisions of "GD"
From CBLFS
Jump to navigationJump to searchLine 40: | Line 40: | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | mv -v /usr/bin/gdlib-config{,-32} | ||
=== N32 === | === N32 === | ||
Line 52: | Line 53: | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | mv -v /usr/bin/gdlib-config{,-n32} | ||
=== 64Bit === | === 64Bit === | ||
Line 64: | Line 66: | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | mv -v /usr/bin/gdlib-config{,-64} && | ||
+ | ln -sfv multiarch_wrapper /usr/bin/gdlib-config |
Revision as of 17:17, 21 October 2006
Download Source: | http://www.boutell.com/gd/http/gd-2.0.33.tar.gz |
---|
Contents
Dependencies
Required
Optional
- FreeType
- FontConfig
- libjpeg
- libxpm (Usually Provided by an X Window System)
Non-Multilib
Compile the package:
./configure --prefix=/usr && make
Install the package
make install
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32}" USE_ARCH=32 ./configure \ --prefix=/usr && make
Install the package
make install && mv -v /usr/bin/gdlib-config{,-32}
N32
Compile the package:
CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure \ --prefix=/usr --libdir=/usr/lib32 && make
Install the package
make install && mv -v /usr/bin/gdlib-config{,-n32}
64Bit
Compile the package:
CC="gcc ${BUILD64}" USE_ARCH=64 ./configure \ --prefix=/usr --libdir=/usr/lib64 && make
Install the package
make install && mv -v /usr/bin/gdlib-config{,-64} && ln -sfv multiarch_wrapper /usr/bin/gdlib-config