On Thu, 14 Apr 2005, Greg Lauer wrote:
> Hello,
>
> I'm trying to get gwave and ngspice to compile under
> osx. I've been reasonably successful with ngspice outside of fink, but
> having a horrible time with gwave. I believe I have
> a version dependency issue with gtk/guile, but can't resolve the dependency.
>
> Can someone please provide a fink info file and/or patches to
> get gwave and ngspice to compile under fink?
>
> If there are no os x friendly developers on this board, can you please
> suggest some './compile' options I might try?
I know gwave pretty well, having written it (although been busy and
neglectful recently) but know next to nothing about OS X. Fink is a sort
of package manager, is that right?
Gwave depends on the three packages gtk+, guile, and guile-gtk.
At present it (still) requires the older gtk+-1.2. (gtk+-1.2.10)
Guile and guile-gtk are quite fussy about what version works with what.
guile-1.6.4 or guile-1.6.7 is recommended, as is guile-gtk 1.2-0.31.
The other general hint is that installing guile-gtk often goes much better
if it is installed into the same prefix as guile itself. It can be done
otherwise, but you'll likely have to set $LD_LIBRARY_PATH and
$GUILE_LOAD_PATH both while building and runnng gwave.
In difficult situations I recomend testing that the guile-gtk examples
work properly by themselves before trying to build gwave:
cd guile-gtk-1.2-0.31/examples
guile -s ./test-gtk.scm
Steve