Package: pkg-config
Version: 0.17.2-1
Severity: important

According to the man page:

    PKG_CONFIG_LIBDIR
        Replaces the default pkg-config search directory.

Try it out:

    prompt > ls -l lib/pkgconfig/oggz.pc 
    -rw-r--r--  1 erikd erikd 289 Jun 11 18:22 lib/pkgconfig/oggz.pc

    prompt > PKG_CONFIG_LIBDIR=`pwd`/lib/pkgconfig pkg-config --cflags oggz
    Package oggz was not found in the pkg-config search path.
    Perhaps you should add the directory containing `oggz.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'oggz' found


Ooooops! Now with debug turned on:

    prompt > PKG_CONFIG_DEBUG_SPEW=1 PKG_CONFIG_LIBDIR=`pwd`/lib/pkgconfig 
pkg-config --cflags oggz
    PKG_CONFIG_DEBUG_SPEW variable enabling debug spew
    Adding directory '/usr/local/lib/pkgconfig' from PKG_CONFIG_PATH
    Adding directory '/usr/local/lib/pkgconfig/i386-linux' from PKG_CONFIG_PATH
    Adding directory '/usr/local/share/pkgconfig' from PKG_CONFIG_PATH
    Adding directory '/usr/lib/pkgconfig' from PKG_CONFIG_PATH
    Adding directory '/usr/lib/pkgconfig/i386-linux' from PKG_CONFIG_PATH
    Adding directory '/usr/share/pkgconfig' from PKG_CONFIG_PATH
    Global variable definition 'pc_top_builddir' = '$(top_builddir)'
    Option --cflags seen
    Error printing enabled by default due to use of --version, --libs, 
--cflags, --libs-only-l, --libs-only-L, --libs-only-other, --cflags-only-I, 
--cflags-only-other or --list. Value of --silence-errors: 0
    Error printing enabled
    Adding virtual 'pkg-config' package to list of known packages
    Scanning directory '/usr/local/lib/pkgconfig'
    Ignoring file '.' in search directory; not a .pc file
    Ignoring file '..' in search directory; not a .pc file
    File 'polyplib.pc' appears to be a .pc file
    Will find package 'polyplib' in file '/usr/local/lib/pkgconfig/polyplib.pc'
    
    <snip>
    
    
    File 'sqlite3.pc' appears to be a .pc file
    Will find package 'sqlite3' in file '/usr/lib/pkgconfig/sqlite3.pc'
    Cannot open directory '/usr/lib/pkgconfig/i386-linux' in package search 
path: No such file or directory
    Scanning directory '/usr/share/pkgconfig'
    Ignoring file '.' in search directory; not a .pc file
    Ignoring file '..' in search directory; not a .pc file
    Looking for package 'oggz'
    Looking for package 'oggz-uninstalled'
    Looking for 'oggz' using legacy -config scripts
    Calling gnome-config
    Package oggz was not found in the pkg-config search path.
    Perhaps you should add the directory containing `oggz.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'oggz' found




-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (700, 'testing'), (650, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to POSIX)

Versions of packages pkg-config depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to