Difference between revisions of "Gtk2"

From CBLFS
Jump to navigationJump to search
 
Line 41: Line 41:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc &&
+
  CC="gcc ${BUILD32}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH32 \
 +
    ./configure --prefix=/usr --sysconfdir=/etc &&
 
  make
 
  make
  
Line 52: Line 53:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
+
  CC="gcc ${BUILDN32}" PKG_CONFIG_PATH=$PKG_CONFIG_PATHN32 \
 +
    ./configure --prefix=/usr --libdir=/usr/lib32 \
 
     --sysconfdir=/etc &&
 
     --sysconfdir=/etc &&
 
  make
 
  make
Line 64: Line 66:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
+
  CC="gcc ${BUILD64}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH64 \
 +
    ./configure --prefix=/usr --libdir=/usr/lib64 \
 
     --sysconfdir=/etc &&
 
     --sysconfdir=/etc &&
 
  make
 
  make

Revision as of 13:45, 16 September 2006

Download Source: ftp://ftp.gtk.org/pub/gtk/v2.10/gtk+-2.10.3.tar.bz2

Dependencies

Required

Reccomended

Optional

Non-Multilib

Compile the package:

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

Install the package

make install &&

install -v -m755 -d /usr/share/doc/gtk+-2.8.20/{faq,tutorial} && cp -v -R docs/faq/html/* /usr/share/doc/gtk+-2.8.20/faq && cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-2.8.20/tutorial

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH32 \
    ./configure --prefix=/usr --sysconfdir=/etc &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" PKG_CONFIG_PATH=$PKG_CONFIG_PATHN32 \
    ./configure --prefix=/usr --libdir=/usr/lib32 \
    --sysconfdir=/etc &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH64 \
    ./configure --prefix=/usr --libdir=/usr/lib64 \
    --sysconfdir=/etc &&
make

Install the package

make install &&

install -v -m755 -d /usr/share/doc/gtk+-2.8.20/{faq,tutorial} && cp -v -R docs/faq/html/* /usr/share/doc/gtk+-2.8.20/faq && cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-2.8.20/tutorial

Retrieved from "?title=Gtk2&oldid=1815"