unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* guile-gnome and guile 2
@ 2013-08-09 17:26 Diogo F. S. Ramos
  2013-08-09 17:40 ` David Pirotte
  0 siblings, 1 reply; 8+ messages in thread
From: Diogo F. S. Ramos @ 2013-08-09 17:26 UTC (permalink / raw)
  To: guile-user

Is there a release of guile-gnome which works with guile 2?



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: guile-gnome and guile 2
  2013-08-09 17:26 guile-gnome and guile 2 Diogo F. S. Ramos
@ 2013-08-09 17:40 ` David Pirotte
  2013-08-09 17:57   ` Diogo F. S. Ramos
  0 siblings, 1 reply; 8+ messages in thread
From: David Pirotte @ 2013-08-09 17:40 UTC (permalink / raw)
  To: Diogo F. S. Ramos; +Cc: guile-user

Hello Diogo,

> Is there a release of guile-gnome which works with guile 2?

Yes, here a the link to the latest tarball:

	http://ftp.gnu.org/pub/gnu/guile-gnome/guile-gnome-platform/guile-gnome-platform-2.16.2.tar.gz

Obviously, there a re dependencies 

	http://www.gnu.org/software/guile-gnome/dev/

Personally, I'd rather build from a git clone, because there has been [some not
fundamental but still...] changes since [the latest tarball release].

Cheers,
David



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: guile-gnome and guile 2
  2013-08-09 17:40 ` David Pirotte
@ 2013-08-09 17:57   ` Diogo F. S. Ramos
  2013-08-09 18:31     ` David Pirotte
  0 siblings, 1 reply; 8+ messages in thread
From: Diogo F. S. Ramos @ 2013-08-09 17:57 UTC (permalink / raw)
  To: David Pirotte; +Cc: guile-user

>> Is there a release of guile-gnome which works with guile 2?
>
> Yes, here a the link to the latest tarball:
>
> 	http://ftp.gnu.org/pub/gnu/guile-gnome/guile-gnome-platform/guile-gnome-platform-2.16.2.tar.gz
>
> Obviously, there a re dependencies 
>
> 	http://www.gnu.org/software/guile-gnome/dev/
>
> Personally, I'd rather build from a git clone, because there has been [some not
> fundamental but still...] changes since [the latest tarball release].

Thank you, David.

I tried compiling it, but without luck, so I was unsure.

First, I had to do a minor fix to the configure script of g-wrap so the
warnings about deprecation would not halt the compilation.

Second, with the guile-gnome tarball you referenced, it errors
complaining that only `glib.h' can be included directly, so the
compilation stops.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: guile-gnome and guile 2
  2013-08-09 17:57   ` Diogo F. S. Ramos
@ 2013-08-09 18:31     ` David Pirotte
  2013-08-09 18:51       ` Diogo F. S. Ramos
  0 siblings, 1 reply; 8+ messages in thread
From: David Pirotte @ 2013-08-09 18:31 UTC (permalink / raw)
  To: Diogo F. S. Ramos; +Cc: guile-user

Diogo,

> I tried compiling it, but without luck, so I was unsure.

> First, I had to do a minor fix to the configure script of g-wrap so the
> warnings about deprecation would not halt the compilation.

Yes indeed you'd need to configure like this:

	./configured --disable-Werror

> Second, with the guile-gnome tarball you referenced, it errors
> complaining that only `glib.h' can be included directly, so the
> compilation stops.

That probably is because the '-dev' files/packages are not installed on your
machine. I am on debian it is the libglib2.0-dev package.

Cheers,
David





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: guile-gnome and guile 2
  2013-08-09 18:31     ` David Pirotte
@ 2013-08-09 18:51       ` Diogo F. S. Ramos
  2013-08-09 20:20         ` David Pirotte
  2013-08-10 15:21         ` Aljosha Papsch
  0 siblings, 2 replies; 8+ messages in thread
From: Diogo F. S. Ramos @ 2013-08-09 18:51 UTC (permalink / raw)
  To: David Pirotte; +Cc: guile-user

>> Second, with the guile-gnome tarball you referenced, it errors
>> complaining that only `glib.h' can be included directly, so the
>> compilation stops.
>
> That probably is because the '-dev' files/packages are not installed on your
> machine. I am on debian it is the libglib2.0-dev package.

Thanks again.

I do have libglib2.0-dev installed here, so I don't think this is it.

The complained file is `/glib/gnome/gobject/guile-support.h', line 27.
One can see that it is indeed including something other than `glib.h',
in this case, `glib/gmacros.h', which `gmacros.h' doesn't like and has a
specific #if for this.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: guile-gnome and guile 2
  2013-08-09 18:51       ` Diogo F. S. Ramos
@ 2013-08-09 20:20         ` David Pirotte
  2013-08-10 15:21         ` Aljosha Papsch
  1 sibling, 0 replies; 8+ messages in thread
From: David Pirotte @ 2013-08-09 20:20 UTC (permalink / raw)
  To: Diogo F. S. Ramos; +Cc: guile-user

Hi again,

> I do have libglib2.0-dev installed here, so I don't think this is it.

Sorry, indeed I miss read your message.

> The complained file is `/glib/gnome/gobject/guile-support.h', line 27.
> One can see that it is indeed including something other than `glib.h',
> in this case, `glib/gmacros.h', which `gmacros.h' doesn't like and has a
> specific #if for this.

I still think it is a dependency problem though, but I am a 'user', and do not know
the details as well as developers of course. 

I suggest you send a compressed version of your config.log and an extract of the
latest lines of the make... Did g-wrap and guile-cairo configure/make/install ok?

I personally install[ed] the all suite from git [guile, g-wrap, guile-cairo and
guile-gnome] because even just for guile, debian is too outdated for my needs [and
guile-cairo has been updated to allow me to run guile-clutter] ... If you are on
debian, and if you are interested, I wrote a small .org help for myself, that I'd
happy to share [no warranty :), it is not properly formated, nor complete ... it is
ok 'for me' :)].

Cheers,
David

ps:	you may want to join us on #guile @ freenode, I am sure there will be
other guilers willing to help you too, but I am regularly there too and for quick
quiz it's faster ...



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: guile-gnome and guile 2
  2013-08-09 18:51       ` Diogo F. S. Ramos
  2013-08-09 20:20         ` David Pirotte
@ 2013-08-10 15:21         ` Aljosha Papsch
  2013-08-11 15:53           ` David Pirotte
  1 sibling, 1 reply; 8+ messages in thread
From: Aljosha Papsch @ 2013-08-10 15:21 UTC (permalink / raw)
  To: guile-user

Am Freitag, den 09.08.2013, 15:51 -0300 schrieb Diogo F. S. Ramos:
> >> Second, with the guile-gnome tarball you referenced, it errors
> >> complaining that only `glib.h' can be included directly, so the
> >> compilation stops.
> >
> > That probably is because the '-dev' files/packages are not installed on your
> > machine. I am on debian it is the libglib2.0-dev package.
> 
> Thanks again.
> 
> I do have libglib2.0-dev installed here, so I don't think this is it.
> 
> The complained file is `/glib/gnome/gobject/guile-support.h', line 27.
> One can see that it is indeed including something other than `glib.h',
> in this case, `glib/gmacros.h', which `gmacros.h' doesn't like and has a
> specific #if for this.
> 

This is due to recent Glib only allowing glib.h to be included directly.
Any old program which does this will get this compilation error. So, the
solution for you would be to find all occurences in guile-gnome where
another Glib header is included and remove it (or replace it with glib.h
if needed). But maybe this was already done in Git?

Best regards.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: guile-gnome and guile 2
  2013-08-10 15:21         ` Aljosha Papsch
@ 2013-08-11 15:53           ` David Pirotte
  0 siblings, 0 replies; 8+ messages in thread
From: David Pirotte @ 2013-08-11 15:53 UTC (permalink / raw)
  To: Aljosha Papsch; +Cc: guile-user


> This is due to recent Glib only allowing glib.h to be included directly.
> Any old program which does this will get this compilation error. So, the
> solution for you would be to find all occurences in guile-gnome where
> another Glib header is included and remove it (or replace it with glib.h
> if needed). But maybe this was already done in Git?

yes, it has been fixed in git, see f37f03bb957701d80a1c3977b3f0f3995b6ec655



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-08-11 15:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-09 17:26 guile-gnome and guile 2 Diogo F. S. Ramos
2013-08-09 17:40 ` David Pirotte
2013-08-09 17:57   ` Diogo F. S. Ramos
2013-08-09 18:31     ` David Pirotte
2013-08-09 18:51       ` Diogo F. S. Ramos
2013-08-09 20:20         ` David Pirotte
2013-08-10 15:21         ` Aljosha Papsch
2013-08-11 15:53           ` David Pirotte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).