Re: [Evolution-hackers] Failing to configure libgdata from git master?

2010-04-21 Thread Paul Smith
On Wed, 2010-04-21 at 10:42 -0500, C de-Avillez wrote:
> At least for Ubuntu Lucid, the macro is provided by the
> gobject-introspection package -- so, I guess we may need a new
> dependency there.

The version of gobject-introspection in Karmic doesn't provide this
file.

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Failing to configure libgdata from git master?

2010-04-21 Thread Philip Withnall
On Wed, 2010-04-21 at 10:42 -0500, C de-Avillez wrote:
> On Mon, 2010-04-19 at 16:43 -0400, Paul Smith wrote:
> 
> 
> 
> > Checking for required M4 macros...
> >   introspection.m4 not found
> > ***Error***: some autoconf macros required to build gdata
> >   were not found in your aclocal path, or some forbidden
> >   macros were found.  Perhaps you need to adjust your
> >   ACLOCAL_FLAGS?
> > 
> > Looking around I found copies of introspection.m4 in the git source
> > trees for atk and gtk+.  However, neither of those packages install that
> > file as part of their normal builds.
> 
> Hi Paul,
> 
> At least for Ubuntu Lucid, the macro is provided by the
> gobject-introspection package -- so, I guess we may need a new
> dependency there.
> 
> By the way, if you install 'apt-file', you can search for a package
> containing a file (even if the package is not installed) by:
> 
> apt-file search 
> 
> This is how I found it.
> 
> On the other hand, when I try to make it, I get the following error:
> 
> 
> > checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
> > checking whether to build gtk-doc documentation... no
> > configure: creating ./config.status
> > config.status: creating Makefile
> > config.status: creating libgdata.pc
> > config.status: creating gdata/tests/Makefile
> > config.status: creating po/Makefile.in
> > config.status: creating docs/Makefile
> > config.status: creating docs/reference/Makefile
> > config.status: creating docs/reference/version.xml
> > config.status: creating config.h
> > config.status: config.h is unchanged
> > config.status: executing depfiles commands
> > config.status: executing libtool commands
> > config.status: executing default-1 commands
> > config.status: executing po/stamp-it commands
> > Now type `make' to compile gdata
> > 
> > > Running build for libgdata
> > make[1]: Entering directory `/src/buildd/evolution/obj/libgdata'
> > make  all-recursive
> > make[2]: Entering directory `/src/buildd/evolution/obj/libgdata'
> > Making all in .
> > make[3]: Entering directory `/src/buildd/evolution/obj/libgdata'
> > make[3]: *** No rule to make target `../../libgdata/gdata/gdata-marshal.h', 
> > needed by `gdata/gdata-marshal.c'.  Stop.
> > make[3]: Leaving directory `/src/buildd/evolution/obj/libgdata'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/src/buildd/evolution/obj/libgdata'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/src/buildd/evolution/obj/libgdata'
> > make: *** [.stamp/libgdata.build] Error 2

That's https://bugzilla.gnome.org/show_bug.cgi?id=616222.

Philip

> Regards,
> 
> ..C..
> 
> ___
> evolution-hackers mailing list
> evolution-hackers@gnome.org
> To change your list options or unsubscribe, visit ...
> http://mail.gnome.org/mailman/listinfo/evolution-hackers



signature.asc
Description: This is a digitally signed message part
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Failing to configure libgdata from git master?

2010-04-21 Thread C de-Avillez
On Mon, 2010-04-19 at 16:43 -0400, Paul Smith wrote:



> Checking for required M4 macros...
>   introspection.m4 not found
> ***Error***: some autoconf macros required to build gdata
>   were not found in your aclocal path, or some forbidden
>   macros were found.  Perhaps you need to adjust your
>   ACLOCAL_FLAGS?
> 
> Looking around I found copies of introspection.m4 in the git source
> trees for atk and gtk+.  However, neither of those packages install that
> file as part of their normal builds.

Hi Paul,

At least for Ubuntu Lucid, the macro is provided by the
gobject-introspection package -- so, I guess we may need a new
dependency there.

By the way, if you install 'apt-file', you can search for a package
containing a file (even if the package is not installed) by:

apt-file search 

This is how I found it.

On the other hand, when I try to make it, I get the following error:


> checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
> checking whether to build gtk-doc documentation... no
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating libgdata.pc
> config.status: creating gdata/tests/Makefile
> config.status: creating po/Makefile.in
> config.status: creating docs/Makefile
> config.status: creating docs/reference/Makefile
> config.status: creating docs/reference/version.xml
> config.status: creating config.h
> config.status: config.h is unchanged
> config.status: executing depfiles commands
> config.status: executing libtool commands
> config.status: executing default-1 commands
> config.status: executing po/stamp-it commands
> Now type `make' to compile gdata
> 
> > Running build for libgdata
> make[1]: Entering directory `/src/buildd/evolution/obj/libgdata'
> make  all-recursive
> make[2]: Entering directory `/src/buildd/evolution/obj/libgdata'
> Making all in .
> make[3]: Entering directory `/src/buildd/evolution/obj/libgdata'
> make[3]: *** No rule to make target `../../libgdata/gdata/gdata-marshal.h', 
> needed by `gdata/gdata-marshal.c'.  Stop.
> make[3]: Leaving directory `/src/buildd/evolution/obj/libgdata'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/src/buildd/evolution/obj/libgdata'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/src/buildd/evolution/obj/libgdata'
> make: *** [.stamp/libgdata.build] Error 2

Regards,

..C..



signature.asc
Description: This is a digitally signed message part
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Failing to configure libgdata from git master?

2010-04-19 Thread Philip Withnall
Hi,

On Mon, 2010-04-19 at 16:43 -0400, Paul Smith wrote:
> Hi Philip; all the docs I saw for libgdata list just your address as a
> contact; if there's a mailing list or similar you'd like me to CC please
> let me know.

I'm the only maintainer at the moment, so e-mailing this address is
fine. (There's no libgdata mailing list.)

> I maintain a makefile that allows people to build Evolution from the
> latest git sources along with a significant chunk of other Gnome (and
> some non-Gnome) libraries that Evo also uses.
> 
> One of the new requirements for the latest Evo git master is libgdata.
> It requires 0.6.3 or above, but the version that comes on my Ubuntu
> (9.04) box is 0.4.0, so too old.  So, I've added support for building
> libgdata from git to my makefile... or started to.

Building libgdata from git won't work, since there are a number of API
and ABI breakages in master which will probably cause the e-d-s build to
choke (though Evolution itself should be OK). I'd advise you to use the
libgdata-0-6 branch.

> The checkout of the git code works fine but the configure command fails
> right away:

*snip*

> Looking around I found copies of introspection.m4 in the git source
> trees for atk and gtk+.  However, neither of those packages install that
> file as part of their normal builds.
> 
> I think if you need this you should be including it in the sources of
> libgdata, or else maybe file a bug against gtk+ or similar asking them
> to install it during their builds?

introspection.m4 should be provided by gobject-introspection, and I
believe their official advice is not to distribute it in individual
packages' source trees.

Regards,
Philip

> I worked around this locally by manually copying introspection.m4 from
> gtk+ into my target $prefix/share/aclocal, where autoconf found it.
> 
> Thanks!
> 



signature.asc
Description: This is a digitally signed message part
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers