Re: [Gtk-osx-users] Build glib



On Nov 21, 2010, at 2:08 PM, Gertwin Groen wrote:

> Few days ago I build gtk-osx for i386 which went well.
> Today I want to build it for x64.
> 
> Everything went well until glib:
> 
> *** Configuring glib *** [2/11]
> ...
> 
> configure: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)
> ...
> 
> checking size of char... 0
> checking size of short... 0
> checking size of long... 0
> checking size of int... 0
> checking size of void *... 0
> checking size of long long... 0
> checking size of __int64... 0
> configure: error:
> *** GLib requires a 64 bit type. You might want to consider
> *** using the GNU C compiler.
> 
> After this error I tried to rebuild my i386 build, which generates the
> same errors.
> 
> Yesterday I upgraded to 10.6.5, I doubt this is the cause.
> Does anyone know what is the cause of this problem and how to solve it?
> 

Not really enough information. Are you building in separate prefixes and checkoutroots? (You should be.)

The "consider using the GNU C compiler" message is interesting. You didn't set $CC to llvm or clang, did you?

Regards,
John Ralls






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