Difference between revisions of "Pkg-config"

From CBLFS
Jump to navigationJump to search
(64Bit)
m (Reverted edits by 194.97.208.152 (Talk); changed back to last version by Jciccone)
Line 31: Line 31:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --with-pc-path=/usr/share/pkgconfig &&
 
  make
 
  make
  
Line 42: Line 42:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr &&
+
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --with-pc-path=/usr/share/pkgconfig &&
 
  make
 
  make
  
Line 53: Line 53:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/usr &&
+
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --with-pc-path=/usr/share/pkgconfig &&
 
  make
 
  make
  

Revision as of 11:42, 30 December 2006

Download Source: http://pkgconfig.freedesktop.org/releases/pkg-config-0.27.1.tar.gz

Introduction to pkg-config

The pkg-config package contains a tool for passing the include path and/or library paths to build tools during the configure and make file execution.

Dependencies

Non-Multilib

Compile the package:

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

Install the package

make install

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --with-pc-path=/usr/share/pkgconfig &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr  --with-pc-path=/usr/share/pkgconfig &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --with-pc-path=/usr/share/pkgconfig &&
make

Install the package

make install

Contents

Installed Programs: pkg-config
Installed Libraries: None
Installed Directories: None

Short Descriptions

pkg-config returns meta information for the specified library or package.