Re: [Banshee-List] GLIB errors in autoconf on MacOSX



Hi,

On Mon, 2009-11-23 at 02:07 -0800, Batmensch wrote:
> Trying to build MacOSX.  I used git to download the latest.  I was able to
> get build-deps to work by pointing it at the 10.6 SDK.  Now I'm hanging
> here:
> 
> Running intltoolize --force --copy ...
> Running glibtoolize --force --copy --automake ...
> Running aclocal -I build/m4/banshee -I build/m4/shamrock -I build/m4/shave
> -I /Users/hcaley/banshee/build/osx/deps/bundle-install/share/aclocal -I
> /Library/Frameworks/Mono.framework/Versions/Current/share/aclocal ...
> Running autoconf ...
> configure:13284: error: possibly undefined macro: AM_PATH_GLIB_2_0
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> configure:18005: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
> Error: Could not run autoconf, which is required to configure banshee

I've been helping a friend trying to get banshee to build on his Mac
(with Mac OS 10.6), and he got stuck on the same error.
It turns out the problems start during the "build-deps.sh" phase :

Processing libsoup (4 of 21)
--> Running: ./configure
--prefix=/Users/tma/banshee/build/osx/deps/bundle-install
--without-gnome --disable-gtk-doc
[...]
checking for GLIB - version >= 2.15.3... 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.
configure: error: GLIB 2.15.3 or later is required to build libsoup 

ERROR: Failed to run ./configure against libsoup 


Instead of stoping here, the build move on to the next target
(/targets/gettext.targets).
The config.log contains the following :

configure:21812: checking for GLIB - version >= 2.15.3
configure:21936: gcc -o conftest
-I/Users/tma/banshee/build/osx/deps/bundle-install/include
-I/Library/Frameworks/Mono.framework/Versions/Current/include
-isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.4
-D_REENTRANT
-I/Library/Frameworks/Mono.framework/Versions/2.2/include/glib-2.0
-I/Library/Frameworks/Mono.framework/Versions/2.2/lib/glib-2.0/include
-L/Users/tma/banshee/build/osx/deps/bundle-install/lib
-L/Library/Frameworks/Mono.framework/Versions/Current/lib  conftest.c
-L/Library/Frameworks/Mono.framework/Versions/2.2/lib -lgthread-2.0
-lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl    >&5
ld: warning:
in /Developer/SDKs/MacOSX10.5.sdk/Library/Frameworks/Mono.framework/Versions/Current/lib/libgthread-2.0.dylib, missing required architecture x86_64 in file
ld: warning:
in /Developer/SDKs/MacOSX10.5.sdk/Library/Frameworks/Mono.framework/Versions/Current/lib/libgio-2.0.dylib, missing required architecture x86_64 in file
ld: warning:
in /Developer/SDKs/MacOSX10.5.sdk/Library/Frameworks/Mono.framework/Versions/Current/lib/libgobject-2.0.dylib, missing required architecture x86_64 in file
ld: warning:
in /Developer/SDKs/MacOSX10.5.sdk/Library/Frameworks/Mono.framework/Versions/Current/lib/libgmodule-2.0.dylib, missing required architecture x86_64 in file
ld: warning:
in /Developer/SDKs/MacOSX10.5.sdk/Library/Frameworks/Mono.framework/Versions/Current/lib/libglib-2.0.dylib, missing required architecture x86_64 in file
ld: warning:
in /Developer/SDKs/MacOSX10.5.sdk/Library/Frameworks/Mono.framework/Versions/Current/lib/libintl.dylib, missing required architecture x86_64 in file
Undefined symbols:
  "_glib_minor_version", referenced from:
      _main in ccI0B6bx.o
[...]


So my guess is that it's looking for 64 bits version of the librairies,
but mono provides 32 bits. As I don't know anything about OSX, I might
be very wrong.

Would anyone with a bit more OSX knowledge care to comment ?

-- 
Bertrand Lorentz <bertrand lorentz gmail com>

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]