Re: [Gtk-osx-users] Error building gobject-introspection



On Sep 12, 2010, at 9:23 PM, Richard Procter wrote:

> Hi all,
> 
> I pulled the latest modulesets today via gtk-osx-build-setup.sh  
> (thanks heaps, John, for the keysyms patch to GTK! This will  
> hopefully let me use the dual-screen enhancements) however, I hit the  
> following build error (build machine is OS X 10.4; I haven't checked  
> 10.5 yet):
> 
> [...]
> Making all in gir
> Makefile:1002: *** Need to define GLib_2_0_gir_LIBS or  
> GLib_2_0_gir_PROGRAM.  Stop.
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> *** Error during phase build of gobject-introspection: ##########  
> Error running make   *** [5/5]
> 
> 
> The relevant moduleset entry is:
> 
>  <autotools id="gobject-introspection">
>     <branch module="gobject-introspection/0.9/gobject- 
> introspection-0.9.3.tar.bz2"
>             version="0.9.2"/>
>     <dependencies>
>       <dep package="glib"/>
>       <dep package="cairo"/>
>      <dep package="libffi"/>
>     </dependencies>
>   </autotools>
> 
> Anyone have any ideas?

Seems like something didn't work right in configure. Search on glib in config.log and see if any errors turned up. As usual, I haven't tried against SDK10.4u yet... I didn't encounter that problem with SDK10.5 or SDK10.6.

There's another problem in gobject-introspection that I encountered yesterday, but I haven't done the patch for it yet. test/Makefile and test/scanner/Makefile use `install -m 644 -D $src $(DESTDIR)$(pkgdir)/gobject-introspection-0.9.3/$src", but OSX's install doesn't have a -D option. The correct thing to do, of course, is $(mkinstalldirs) followed by $(install_sh). 

Regards,
John Ralls





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