Re: [Gtk-osx-users] glib configure failure



On 28/09/2010, at 5:25 AM, Phillip Heller wrote:

> Greetings,
>
>   I was rebuilding this morning, and came across this within the  
> GLib build:
>
> checking size of __int64... 0
> configure: error:
> *** GLib requires a 64 bit type. You might want to consider
> *** using the GNU C compiler.
>
> *** Error during phase configure of glib: ########## Error  
> running ./configure --prefix /Users/gtkosxbuilder/gtk/inst --libdir  
> '/Users/gtkosxbuilder/gtk/inst/lib'  --disable-static  
> ac_cv_c_bigendian=no --build=i486-apple-darwin  *** [16/39]
>
> I have not come across this before;  .jhbuildrc-custom as follows:
>
> _gtk_osx_use_jhbuild_python = True
> append_autogenargs("python", "--with-universal-archs=32-bit -- 
> enable-universalsdk=/Developer/SDKs/MacOSX10.5.sdk")
> branches["python"] = "http://www.python.org/ftp/python/2.6.4/ 
> Python-2.6.4.tar.bz2"
> setup_sdk(target="10.5", sdk_version="10.5", architectures=["i386"])
> os.environ["CC"] = "/usr/bin/gcc-4.0"
> build_policy = "updated-deps"
> modules = [ "meta-gtk-osx-bootstrap", "meta-gtk-osx-core", "meta- 
> gtk-osx-python", "librsvg", "meta-gtk-osx-themes", "gtk-quartz- 
> engine" ]
>
> Any ideas what might be wrong?

Odd. My glib-2.24.1 builds fine on 10.4 ppc, despite failing that  
test. I am not using the universal build, so that might be something  
to eliminate. My config.log shows:

configure:21502: checking size of __int64
configure:21507: gcc -o conftest -arch ppc -mmacosx-version-min=10.4 - 
Wall -I/Volumes/Vault/staging/gtk/in
st/include -DG_DISABLE_SINGLE_INCLUDES -L/Volumes/Vault/staging/gtk/ 
inst/lib -L/Volumes/Vault/staging/gtk/
inst/lib -arch ppc -mmacosx-version-min=10.4 -Wl,- 
headerpad_max_install_names -framework Carbon conftest.c
  -lintl  -lresolv >&5
conftest.c: In function 'longval':
conftest.c:86: error: '__int64' undeclared (first use in this function)
conftest.c:86: error: (Each undeclared identifier is reported only once
conftest.c:86: error: for each function it appears in.)
conftest.c:86: warning: control reaches end of non-void function
conftest.c: In function 'ulongval':
conftest.c:87: error: '__int64' undeclared (first use in this function)
conftest.c:87: warning: control reaches end of non-void function
conftest.c: In function 'main':
conftest.c:97: error: '__int64' undeclared (first use in this function)
configure:21507: $? = 1
configure: program exited with status 1
configure: failed program was: [...]

regards,
Richard.






>
> -- 
> phil------------------------------------------------------------------ 
> ------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell- 
> sfdev2dev_______________________________________________
> Gtk-osx-users mailing list
> Gtk-osx-users lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/gtk-osx-users





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