FS#3605 - Can't compile against libsoup 2.2.7-1
Attached to Project:
Arch Linux
Opened by Stephen Caraher (moskvax) - Sunday, 11 December 2005, 05:56 GMT
Opened by Stephen Caraher (moskvax) - Sunday, 11 December 2005, 05:56 GMT
|
Details
I'm trying to compile mpdscribble which depends on libsoup
which I've installed with pacman, however it fails during
configure, complaining that it can't find libsoup:
Package libsoup-2.2 was not found in the pkg-config search path. Perhaps you should add the directory containing `libsoup-2.2.pc' to the PKG_CONFIG_PATH environment variable No package 'libsoup-2.2' found Package libsoup-2.2 was not found in the pkg-config search path. Perhaps you should add the directory containing `libsoup-2.2.pc' to the PKG_CONFIG_PATH environment variable No package 'libsoup-2.2' found checking for soup_uri_new in -lsoup-2.2... no configure: error: libsoup-2.2 not found make: *** No targets specified and no makefile found. Stop. when /opt/gnome/include/pkgconfig (which contains libsoup-2.2.pc) is manually added to PKG_CONFIG_PATH, the pkgconfig errors go away but this still remains: checking for soup_uri_new in -lsoup-2.2... no configure: error: libsoup-2.2 not found make: *** No targets specified and no makefile found. Stop. This isn't an error with mpdscribble as I've compiled it previously under Archlinux and another distribution with an earlier version of libsoup. It looks to me like libsoup isn't updating a few environment variables that need to be updated to get things to compile against it. |
This task depends upon
Closed by Jan de Groot (JGC)
Sunday, 11 December 2005, 11:54 GMT
Reason for closing: Fixed
Additional comments about closing: Added gnome-common to the dependency list. Libtasn1 is a dependency for gnutls already.
Sunday, 11 December 2005, 11:54 GMT
Reason for closing: Fixed
Additional comments about closing: Added gnome-common to the dependency list. Libtasn1 is a dependency for gnutls already.
Comment by
Stephen Caraher (moskvax) - Sunday,
11 December 2005, 08:26 GMT
Comment by
Stephen Caraher (moskvax) - Sunday,
11 December 2005, 08:36 GMT
Looking through the PKGBUILD I now see libsoup expects
/etc/profile.d/gnome.sh but nothing it depends on actually
provides that (not in my case anyway, with glib2 2.8.4-1, gnutls
1.2.9-1 and libxml2 2.6.22-1). /etc/profile.d/gnome.sh comes from
gnome-common; I guess that needs to become a dependency for
libsoup.
I just looked through config.log as well and I see that the script
tries to compile a program during the soup_uri_new test which
links against libtasn1. After providing libtasn1, configure
completes successfully and mpdscribble compiles with no problems.
It appears to me like libtasn1 and gnome-common need to become
dependencies for libsoup.