unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Debian guile-1.8 and ttn guile-pg
@ 2008-03-29 16:34 Sebastian Tennant
       [not found] ` <20080329135511.68737330@altosw.be>
  0 siblings, 1 reply; 13+ messages in thread
From: Sebastian Tennant @ 2008-03-29 16:34 UTC (permalink / raw)
  To: guile-user

Hi list,

Has anyone successfully built ttn's guile-pg (0.36) using Debian's
guile-1.8?

Needless to say I haven't been able to get it to work.

I can run configure successfully once I tell it where Debian's
libpq-dev package puts the libpq includes:

  ./configure --with-libpq-includes=/usr/include/postgresql

but make fails, complaining about two files not found:

 ac_nonexistent.h
 guile/modsup.h

Any help much appreciated.

Sebastian





^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: Debian guile-1.8 and ttn guile-pg
@ 2008-03-31 20:18 dsmich
  2008-03-31 20:38 ` Sebastian Tennant
  0 siblings, 1 reply; 13+ messages in thread
From: dsmich @ 2008-03-31 20:18 UTC (permalink / raw)
  To: Greg Troxel; +Cc: guile-user, Sebastian Tennant


---- Greg Troxel <gdt@ir.bbn.com> wrote: 
>   [guile-pg and guile 1.8]
> 
>   I was hoping his guile-pg would work because it doesn't explicity
>   state that a 1.4.x guile is required like some of his other packages
>   do.
> 
> It works fine under 1.6.  What it needs is the feature, deprecated in
> 1.6 and removed in 1.8, of looking for a shlib when a module is used,
> and loading it and running the init function.  The 1.8 way is to have a
> scheme stub that dynlinks the module and exports the symbols.  So
> guile-pg needs a new .scm file that does this, and I suspect that's all
> that's required but I'm not sure.

That is one issue but not all.  There are other apis that were deprecated in 1.6 and finally removed in 1.8.  I'm pretty sure it's not possible to wite a C Guile extension that works without change on 1.4 *and* 1.8.

-Dale





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

end of thread, other threads:[~2008-05-28 19:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-29 16:34 Debian guile-1.8 and ttn guile-pg Sebastian Tennant
     [not found] ` <20080329135511.68737330@altosw.be>
2008-03-30 12:11   ` Sebastian Tennant
2008-03-30 15:34     ` David Pirotte
2008-03-30 16:17       ` Sebastian Tennant
2008-03-31 19:04         ` Greg Troxel
2008-05-25 18:08           ` Thien-Thi Nguyen
2008-05-27 12:46             ` Greg Troxel
2008-05-27 13:04               ` Thien-Thi Nguyen
2008-05-27 16:17                 ` David Pirotte
2008-05-28 12:29                   ` Thien-Thi Nguyen
2008-05-28 19:18                     ` Greg Troxel
  -- strict thread matches above, loose matches on Subject: below --
2008-03-31 20:18 dsmich
2008-03-31 20:38 ` Sebastian Tennant

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).