Re: "@GUILE@" and "Segmentation fault"

David Pirotte <[email protected]> Fri, 6 Jun 2014 13:53:10 -0300
Newsgroups gmane.lisp.guile.gtk
Message-ID <20140606135310.09d8f0c4@capac>
Hello Wolfkin,

> 1, ...
> I installed guile-gnome by
>    # apt-get install ...

It is rather unfortunate but guile-gnome-2 debian packages have been built and
still depend upon/install guile-1.8, which is unsupported since almost 3 years now.

You really need and want to use guile-2, which means that you'll have to manually
install guile-gnome, itself requiring guile-g-wrap and guile-cairo [and you also
won't be able to use existing debian packages for any of these 2 either].

So:
	-] purge all guile-gnome packages;
	-] purge guile-g-wrap;
	-] purge guile-cairo;

	-] install guile-2.0.11 [it's in debian testing].

Then get, configure, make and install guile-g-wrap 1.19.4, the latest guile-cairo
[from git, the latest tarball is outdated] and finally guile-gnome 2.16.2.  I would
recommend you do this using git clones for all, although you may install from the
tarball for guile-g-wrap and guile-gnome, as you prefer.

I recommend you install all these form source code.

-] g-wrap

	http://www.nongnu.org/g-wrap/development.html

	git clone git://git.sv.gnu.org/g-wrap.git
	cd g-wrap 
	./autogen.sh --prefix=... && make && make install

-] guile-cairo

	http://www.nongnu.org/guile-cairo/dev/

	git clone git://git.savannah.nongnu.org/guile-cairo.git
	cd guile-cairo
	./autogen.sh --prefix=... && make && make install

-] guile-gnome

	http://www.gnu.org/software/guile-gnome/dev/
	
	Caution: the 'developers' web page is out of date, there is no need to run
	scripts... anymore

	git clone git://git.sv.gnu.org/guile-gnome.git guile-gnome-platform
	cd guile-gnome-platform
	./autogen.sh --prefix=... && make && make install


> 2, ... examples ...

Most examples come from the very first version of guile-gnome, some still work as
is, but others need some love...


Cheers,
David