GTK+ 2.12.9

先に必要なライブラリをコンパイルします。


glib-2.14.6

setup.sh

#!/bin/sh

if [ $# -eq 1 ]; then
        . ../../setup-pre.sh $1
else
        . ../../setup-pre.sh
fi

PKG_CONFIG="/usr/local/bin/$ISA/pkg-config"; export PKG_CONFIG
PCRE_CFLAGS="-I/usr/local/include"; export PCRE_CFLAGS
PCRE_LIBS="-L/usr/local/lib$LIBISA -R/usr/local/lib$LIBISA -lpcre"
export PCRE_LIBS

./configure $CONFDIRS \
  --enable-static \
  --with-pcre=system

makeしてインストールします。

./setup.sh [i386|amd64|sparcv8plus|sparcv9]
% gmake
# gmake install

pixman-0.10.0

setup.sh

#!/bin/sh

if [ $# -eq 1 ]; then
        . ../../setup-pre.sh $1
else
        . ../../setup-pre.sh
fi

PKG_CONFIG=/usr/local/bin/$ISA/pkg-config; export PKG_CONFIG

./configure $CONFDIRS \
  --x-includes=/usr/openwin/include \
  --x-libraries=/usr/openwin/lib \
  --with-x

makeしてインストールします。

./setup.sh [i386|amd64|sparcv8plus|sparcv9]
% gmake
# gmake install

cairo-1.6.4

ctime_rの引数に矛盾が生じますので_POSIX_PTHREAD_SEMANTICSを定義し ます。

setup.sh

#!/bin/sh

if [ $# -eq 1 ]; then
        . ../../setup-pre.sh $1
else
        . ../../setup-pre.sh
fi

PKG_CONFIG=/usr/local/bin/$ISA/pkg-config; export PKG_CONFIG
CC=$GCCBIN; export CC
if [ "$ISA" = "sparcv9" -o "$ISA" = "amd64" ]; then
        CFLAGS="-O2 -m64"
elif [ "$ISA" = "sparcv8plus" -o "$ISA" = "i386" ]; then
        CFLAGS="-O2"
fi
export CFLAGS
CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS"
export CPPFLAGS

./configure $CONFDIRS \
  --x-includes=/usr/openwin/include \
  --x-libraries=/usr/openwin/lib \
  --with-x

makeしてインストールします。

./setup.sh [i386|amd64|sparcv8plus|sparcv9]
% gmake
# gmake install

pango-1.18.4

setup.sh

#!/bin/sh

if [ $# -eq 1 ]; then
        . ../../setup-pre.sh $1
else
        . ../../setup-pre.sh
fi

PKG_CONFIG=/usr/local/bin/$ISA/pkg-config; export PKG_CONFIG

./configure $CONFDIRS \
  --enable-static \
  --x-includes=/usr/openwin/include \
  --x-libraries=/usr/openwin/lib \
  --with-x

makeしてインストールします。

./setup.sh [i386|amd64|sparcv8plus|sparcv9]
% gmake
# gmake install

atk-1.22.0

setup.sh

#!/bin/sh

if [ $# -eq 1 ]; then
        . ../../setup-pre.sh $1
else
        . ../../setup-pre.sh
fi

PKG_CONFIG=/usr/local/bin/$ISA/pkg-config; export PKG_CONFIG

./configure $CONFDIRS

makeしてインストールします。

./setup.sh [i386|amd64|sparcv8plus|sparcv9]
% gmake
# gmake install

gtk+-2.12.9

最後にコンパイルします。

setup.sh

#!/bin/sh

if [ $# -eq 1 ]; then
        . ../setup-pre.sh $1
else
        . ../setup-pre.sh
fi

PKG_CONFIG="/usr/local/bin/$ISA/pkg-config"; export PKG_CONFIG

./configure $CONFDIRS \
  --enable-static

makeしてインストールします。

./setup.sh [i386|amd64|sparcv8plus|sparcv9]
% gmake
# gmake install

hiraga@next-hop.net
Last modified: $Date: 2008/05/03 13:34:24 $
Apache