pkg-config make fails

Paul Ackersviller pda at
Fri Jan 27 11:56:26 PST 2006

On Fri, Jan 27, 2006 at 12:58:51PM -0500, Heiden, John wrote:
> Hi pkg-config list,
> I am trying to get pkg-config installed onto a server I run and it
> fails during make.  The server is an IBM AIX (5.3) server, FYI...
> Let's see, I get the following while make'ing:
>         source='pkg.c' object='pkg.o' libtool=no  depfile='.deps/pkg.Po'
> tmpdepfile='.deps/pkg.TPo'  depmode=aix /bin/sh ./depcomp  cc
> -DPKG_CONFIG_PC_PATH="\"/usr/local/lib/pkgconfig:/usr/local/share/pkgcon
> fig\"" -I./glib-1.2.8    -g -Wall -O2 -g -c `test -f 'pkg.c' || echo
> './'`pkg.c

I'm only using HP-UX right now, but in my past experience with AIX I
recall that the make program they supply is rather wonky.  If in fact
you're not already using GNU make, my suggestion would be to try it.

I've got a bit of a GNU-ism as well -- I had to go back to 0.15.0 to
get a successful build with HP's compiler.  I discovered that both
pkgconfig-0.17.2 and pkg-config-0.20 compile with gcc, however.

More information about the pkg-config mailing list