Build issues
- From: Paul Smith <psmith gnu org>
- To: libsoup-list gnome org
- Subject: Build issues
- Date: Wed, 16 Jan 2008 11:51:55 -0500
Hi all.
The merge of the new libsoup version has thrown a bit of a wrench into
the gears of users of my Evolution makefile, which allows us to easily
update and build Evo from SVN. The makefile also checks out and builds
libsoup, which is currently breaking. I'm guessing the Evo folks will
fix their side but I'm running into problems just building libsoup.
The Ubuntu Gutsy system I'm on doesn't have a new enough glib to support
libsoup 2.4 (it comes with glib 2.14.1).
The first issue is that the libsoup configure.in doesn't fail if it
can't find a sufficiently new glib. It does print a message, but then
it continues on. This means that the configure step seems to work, but
the make will fail:
[...]
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.7... yes
checking for GLIB - version >= 2.15.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
checking for XML... yes
checking for Win32... no
checking for gmtime_r... yes
checking for timegm... yes
[...]
config.status: creating docs/reference/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Now type `make' to compile libsoup
$ echo $?
0
$ make
[...fails immediately with errors in soup-marshal.h...]
so I checked out and built the latest glib from SVN. That seemed to
work OK, but libsoup does not build with this either. I get the
following:
[...]
checking for alloca... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.7... yes
checking for GLIB - version >= 2.15.0... yes (version 2.15.3)
checking for XML... yes
checking for Win32... no
checking for gmtime_r... yes
[...]
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Now type `make' to compile libsoup
$ make
[...]
gcc -g -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -D_REENTRANT -o .libs/context-test context-test.o test-utils.o ../libsoup/.libs/libsoup-2.4.so -Wl,--rpath -Wl,/opt/tmp/evotest/lib
../libsoup/.libs/libsoup-2.4.so: undefined reference to `g_cancellable_is_cancelled'
collect2: ld returned 1 exit status
I checked and libsoup-2.4.so has linked with my local version of glib:
$ ldd ./libsoup/libsoup/.libs/libsoup-2.4.so
linux-gate.so.1 => (0xffffe000)
libgobject-2.0.so.0 => /opt/tmp/evotest/lib/libgobject-2.0.so.0 (0xb7ec1000)
libgthread-2.0.so.0 => /opt/tmp/evotest/lib/libgthread-2.0.so.0 (0xb7ebc000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7ea4000)
libglib-2.0.so.0 => /opt/tmp/evotest/lib/libglib-2.0.so.0 (0xb7dbc000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7c9e000)
libgnutls.so.13 => /usr/lib/libgnutls.so.13 (0xb7c2e000)
libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb7bdd000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7bc5000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7a7a000)
libselinux.so.1 => /lib/libselinux.so.1 (0xb7a64000)
/lib/ld-linux.so.2 (0x80000000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7a60000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7a4b000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7a26000)
libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb7a15000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb7a11000)
libsepol.so.1 => /lib/libsepol.so.1 (0xb79d0000)
Not sure what to do about this...?
--
-----------------------------------------------------------------------------
Paul D. Smith <psmith gnu org> http://make.mad-scientist.us
"Please remain calm--I may be mad, but I am a professional."--Mad Scientist
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]