unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: David Pirotte <david@altosw.be>
To: Andy Wingo <wingo@pobox.com>
Cc: Thien-Thi Nguyen <ttn@gnuvola.org>, guile-devel@gnu.org
Subject: Re: guile-gnome-0 - guile-1.6.8-6.3 - random crash
Date: Sat, 10 Apr 2010 11:23:39 -0300	[thread overview]
Message-ID: <20100410112339.7456425a@rascar> (raw)
In-Reply-To: <m3y6gx22ua.fsf@pobox.com>

Le Thu, 08 Apr 2010 20:53:17 +0200,
Andy Wingo <wingo@pobox.com> a écrit :

> Hi David,
> 
> I'm happy to help, and glad to hear things are going OK. You probably
> have the largest guile-gnome-using apps out there... Also, one of these
> three lists is probably enough ;)

:-) left guile-devel only this time

> On Thu 08 Apr 2010 20:06, David Pirotte <david@altosw.be> writes:
> ...

> I just downloaded
> http://vychodil.inf.upol.cz/research/development/gtrees/download/gtrees-0.5-alpha.tar.bz2,
> and it seems to compile fine against 2.0. I did a (load-extension
> "./libgtrees" "define_gtrees_module") and that worked, and then
> (use-modules (gtrees-module)) and that worked too.

Yes. Just made things working both with guile-1.6 and guile-1.8 [on the same
machine I mean], by changing the module definition as this [if others would like to
do so...]:

;; --
(define-module (struct gtrees))

(let ((ef-ver (string->symbol (effective-version))))
  (case ef-ver
    ((#{1.6}#)
     (dynamic-call "init_gtrees_module"
		   (dynamic-link "/usr/local/lib/gtrees-0.3/libgtrees.so")))
    (else
     (dynamic-call "init_gtrees_module"
		   (dynamic-link "/usr/local/lib/gtrees-0.5/libgtrees.so")))
    ))
;; --

> Perhaps you will be able to skip 1.8 ;-) But it should work with 1.8 as well.

Well, as much as possible, due to the amount of work I have, I'll stick to debian
packages until I finish the application I am working on, then I'll try 2.0 and
guile-vm, I can't wait! but I have to :-(

> > 	guile-1.8 and guile-pg, a prehistoric version which will remain so until
>                       ^^ 

> No such luck with guile-pg, it will need patches. I even tried applying
> debian's patches to see if that would help, but guile-pg uses gh.h.
> Copying Thien-Thi, who appears to be the upstream: what is the right
> thing to do here? Get it into a project on savannah in git hosting, no?

If you remember, thanks to dsmith, on xchat, I could produce a guile-pg [debian]
package patched that works with guile-1.8 [the problem was a dependency one: here is
what I wrote to myself:

;;;
;;; Debian package [patching guile-pg-0.16]
;;;

A] Getting the source

	cd ~/alto/admin/guile-pg
	apt-get build-dep guile-pg
	apt-get source guile-pg
	cd guile-pg-0.16

B] Changing the dependency towards guile-1.8
   
 	cd guile-pg-0.16/debian
	
   perform the following change

<	Build-Depends: debhelper (>> 4.0), quilt, libpq-dev, guile-1.6-dev
>	Build-Depends: debhelper (>> 4.0), quilt, libpq-dev, guile-1.8-dev

	But I also wrote something about patching libpostgres.c and .h,
	[postgres-7.4: the only SW that's still is not a debian package [in my
	dependency 'little tower'] but a manual compilation [and they are @ 8.4 now,
	so quite late on this side too ...] can't find right now but if people are
	interested i'll make that info avalable too, let me know.

C] Then I changed the module definition [attached]

;; --

So I was wondering, in order to be as practicle as possible and save 'lost'
debugging time, is it possible to install both guile-gnom0 and guile-gnome2 on the
same machine ?

	I think I tried and didn't work, but I might be wrong.

That would fantastic because I could right away porting the development I am doing
and later on port the old apps.

Cheers,
David








  parent reply	other threads:[~2010-04-10 14:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100317170918.0a21c8be@rascar>
     [not found] ` <m3bpegw0y9.fsf@pobox.com>
2010-04-08 18:06   ` guile-gnome-0 - guile-1.6.8-6.3 - random crash David Pirotte
2010-04-08 18:53     ` Andy Wingo
2010-04-08 20:06       ` Thien-Thi Nguyen
2010-04-08 22:13         ` Andy Wingo
2010-04-09  7:08           ` Thien-Thi Nguyen
2010-04-09  8:40             ` Andy Wingo
2010-04-10 14:23       ` David Pirotte [this message]
2010-04-11 20:24         ` Andy Wingo
2010-04-10 14:36       ` David Pirotte
2010-04-13 14:09       ` guile-gnome-0 - guile-1.6-latest - corrupted double-linked David Pirotte
2010-04-14 18:55         ` Andy Wingo
2010-04-15 19:46           ` David Pirotte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100410112339.7456425a@rascar \
    --to=david@altosw.be \
    --cc=guile-devel@gnu.org \
    --cc=ttn@gnuvola.org \
    --cc=wingo@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).