Hello,
I am having problems building pkg-config-0.26. The following is the
output when I try a make:
make all-recursive
make[1]: Entering directory `/home/martins/pkg-config-0.26'
Making all in popt
make[2]: Entering directory `/home/martins/pkg-config-0.26/popt'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/martins/pkg-config-0.26/popt'
Making all in .
make[2]: Entering directory `/home/martins/pkg-config-0.26'
/bin/sh ./libtool --tag=CC --mode=link gcc -g -Wall -O2 -g -O2 -o
pkg-config pkg.o parse.o main.o lglib-2.0 popt/libpopt.la
libtool: link: gcc -g -Wall -O2 -g -O2 -o pkg-config pkg.o parse.o
main.o lglib-2.0 popt/.libs/libpopt.a
gcc: error: lglib-2.0: No such file or directory
make[2]: *** [pkg-config] Error 1
make[2]: Leaving directory `/home/martins/pkg-config-0.26'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/martins/pkg-config-0.26'
make: *** [all] Error 2
As you can see, it cannot find lglib-2.0, the glib-2.0 library. The
makefile was created with the following configure command:
GLIB_LIBS=-lglib-2.0 GLIB_CFLAGS=-I/usr/include/glib-2.0 \
./configure --prefix=/usr
I noticed that the actual name of the library file in /usr/lib is
libglib-2.0, so I tried changing GLIBS_LIB in the above to libglib-2.0
and to libglib-2.0.a which had the same results. From looking at the
makefile I am having a hard time trying to figure out where it is
looking for library files. I think that Libtool is being used for
things like that, but not sure.
Thanks in advance for any comments, suggestions, etc!!!
Martins Gulbis
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page