Error compiling pkg-config

Forum thread started by wjstarck on Fri, 2010-08-27 13:43

I'm trying to compile pkg-config 0.25 so I can compile and install haiku-mono

I'm get nowhere with ./configure --build='i586-pc-haiku' (from config.guess).

I can ./configure and make like so: ./configure --build='i586' (or 'i386 for that matter) but on make install i get:

make: ***[install-recursive] Error 1

???

PS: Compiling on nightly build from last night

gcc -DHAVE_CONFIG_H -I. -DPKG_CONFIG_PC_PATH="\"/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig\"" -I./glib-1.2.10 -I./glib-1.2.10 -I./popt -g -Wall -O2 -g -O2 -c parse.c
/boot/home/Desktop/pkg-config-0.25/parse.c: In function `parse_conflicts':
/boot/home/Desktop/pkg-config-0.25/parse.c:621: warning: unused variable `iter'
/boot/home/Desktop/pkg-config-0.25/parse.c:620: warning: unused variable `parsed'
/boot/home/Desktop/pkg-config-0.25/parse.c: In function `parse_cflags':
/boot/home/Desktop/pkg-config-0.25/parse.c:884: parse error before `char'
/boot/home/Desktop/pkg-config-0.25/parse.c:885: `n' undeclared (first use in this function)
/boot/home/Desktop/pkg-config-0.25/parse.c:885: (Each undeclared identifier is reported only once
/boot/home/Desktop/pkg-config-0.25/parse.c:885: for each function it appears in.)
make[1]: *** [parse.o] Error 1
make[1]: Leaving directory `/boot/home/Desktop/pkg-config-0.25'
make: *** [install-recursive] Error 1

Comments

Re: Error compiling pkg-config

Arrgh...nvm

I see I need to build with the prefix... :0