wiki:giflib

giflib

If you want to compile giflib with URT support :

1°) Download URT-3.1b and compile URT :

(in URT directory)
./configure --prefix=/usr --with-docdir=/usr/share/doc/urt-3.1b
make
make install
cd include
make prefix=/usr install
cd ../lib
make prefix=/usr install
cd ../tools
make prefix=/usr install

2°) Compile giflib with URT support :

(in giflib directory)
./configure --prefix=/usr
sed -i -e "s%AM_CPPFLAGS = -I. -I.. -I\$(top_srcdir)/lib%AM_CPPFLAGS = -I. -I.. -I\$(top_srcdir)/lib -I/usr/include/urt%g" util/Makefile
make
make install
install -v -m755 -d /usr/share/doc/giflib-4.1.4/html
install -v -m644 doc/*.{png,html} /usr/share/doc/giflib-4.1.4/html
install -v -m644 doc/*.txt /usr/share/doc/giflib-4.1.4

Don't forget to apply the "sed" command, it avoids having any compilation error about the "rle.h" file.

This package uses tmpnam(3). This patch: http://archives.neohapsis.com/archives/openbsd/2004-02/att-1900/patch-util_gifinto_c replaces it with mkstemp(3), but the patch depends on strlcpy(3) (a glibc patch in hlfs).

Up
Top

Last modified 13 years ago Last modified on 09/20/2008 04:18:37 AM
Note: See TracWiki for help on using the wiki.