g-wrap rpm spec file patches

linas@linas.org linas@linas.org
Sat, 30 Dec 2000 00:10:15 -0600 (CST)


It's been rumoured that Derek Atkins said:
> 
> <linas@linas.org> writes:
> 
> > Unless rob fixes it, g-wrap-1.1.4 won't run without guile 1.3.4
> > (it uses various SMOB things defined only in 1.3.4) thats why the
> > pre-req.   Maybe I should ask rob 'do you want to fix this, or is 
> > 1.3.4 a permanent requirement?'
> 
> This must be new.  I knew Rob was keeping the 1.3 compatibility, at
> least as of 0.9.12.  Losing that compatibility would be a hardship on
> many RH 6.2 users (including myself ;) I know that we had worked on a
> set of tests to determine whether guile was using the old or new SMOB
> format, in order to get g-wrap working with both versions.  Did you
> ever test the new g-wrap against guile 1.3 to see if it actually
> fails?

Yes.  it builds fine under 1.3 but when run, complains that the
libguile.so is missing some symbols e.g.

 SCM_RETURN_NEWSMOB

which is a macro in 1.3.4 but doesn't exist in 1.3.0 so loader thinks
its a missing function.

Also, in

g-wrap-runtime-guile.c" line 258

the define for GWRAP_OLD_GUILE_SMOB
is never set, and so the new smob format is picked up.
(resulting in more .so missing symbols)

But at compile time, there are no compliants .... only at run time, the
load fails.

> > > Also, you _DO_ want /usr/bin/g-wrap in the devel package, because you
> > > need it in order to build the language bindings (unless the name has
> > > changed in the 1.x series?).
> > 
> > This confused me too. It seems that he name has been changed.  
> > I no longer have  a /usr/bin/g-wrap
> > 
> > which g-wrap
> > g-wrap: Command not found.
> > 
> > but I can still build gnucash ....
> 
> Interesting....  I wonder what's changed?

the new command seems to be /usr/bin/g-wrap-config

 --linas


> 
> -derek
> -- 
>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>        Member, MIT Student Information Processing Board  (SIPB)
>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>        warlord@MIT.EDU                        PGP key available
>