Hi --

Some quick points:

* I purposely did not have the "install wizard" on the CD try to
install gwave.  This is because building gwave usually fails.  I
think it needs some tender loving care from its developer before it is
really ready for prime time.  I included the necessary prerequisites
on the CD for intrepid users to try building it on their own.  But I
can make no guarantee of success, as you can see!!!

*  Make 100% certain that libguile lives in teh same prefix
as guile.  That is, if the guile executable lives in /usr/local/bin,
then libguile must live in /usr/local/lib.  Guile is very persnickity
about where teh various packages live.  You can do "locate guile" and
"locate libguile" to see where they live.

*  This message:

> message: "libguilegtk-1.2.so: cannot open shared object file: No such file
> or directory"

looks to me like you did not set your ${LD_LIBRARY_PATH} to include
the path to the place where you put libguilegtk-1.2.so.  Make sure
your $LD_LIBRARY_PATH (and $PATH) are correctly set before trying to
run the program.  Also make sure to run ldconfig (as root) after
setting your $LD_LIBRARY_PATH.    Better yet, close your current xterm
window, run ldconfig as root, then open a new xterm before trying again.

Have fun!

Stuart





> 
> ------=_Part_3975_14378576.1134138996674
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
> 
> Thanks for the reply. I managed to build guile-gtk-0.40 from the gEDA suit
> CDROM (as downloaded from the gEDA site). Then I built gwave from the same
> CDROM. (I first had the exact same problem than described here:
> http://www.geda.seul.org//mailinglist/geda-dev46/msg00108.html , but it
> compiled after I also manually included "-lguilegtk-1.2" to the makefile).
> As far as I know, I now have the following packages installed:
> 
> >From the Debion CDs:
> libgtk1.2 1.2.10-12
> libgtk1.2-common 1.2.10-17
> libgtk1.2-dbg 1.2.10-17
> libgtk1.2-dev 1.2.10-17
> (I also have libgtk2.0 packages installed - it looks like gnome needs it)
> guile-1.6-libs 1.6.7-1
> 
> >From the gEDA suite CDROM:
> guile-gtk-0.40
> gwave 20031224
> 
> As I gather from the gwave website this combination of versions should work=
> ?
> (The gwave website specifies guile-gtk 0.31, but since 0.40 was on the gEDA
> CDROM I suppose that should also work?)
> 
> However, when I execute gwave I get the following output:
> 
> 
> In unknown file:
>    ?: 67  [try-load-module (gtk-1.2 gdk)]
>    ?: 68  (or (begin (try-module-linked name)) (try-module-autoload name)
> ...)
>    ?: 69* [try-module-autoload (gtk-1.2 gdk)]
>    ?: 70  (let* (# # # #) (resolve-module dir-hint-module-name #f) (and #
> #))
>     ...
>    ?: 71  (letrec ((load-file #)) (dynamic-wind (lambda () #) (lambda () #)
> ...) ...)
>    ?: 72* [dynamic-wind #<procedure #f ()> #<procedure #f ()> #<procedure #=
> f
> ()>]
>    ?: 73* [#<procedure #f ()>]
>    ?: 74* (let ((file #)) (cond (# =3D> #) (# =3D> #)))
>    ?: 75  [#<procedure #f (full)> "/usr/local/share/guile/gtk-1.2/gdk.scm"]
>    ?: 76  [load-file #<primitive-procedure primitive-load> ...]
>    ?: 77* [save-module-excursion #<procedure #f ()>]
>    ?: 78  (let (# #) (dynamic-wind # thunk #))
>    ?: 79  [dynamic-wind #<procedure #f ()> #<procedure #f ()> #<procedure #=
> f
> ()>]
>    ?: 80* [#<procedure #f ()>]
>    ?: 81* [primitive-load "/usr/local/share/guile/gtk-1.2/gdk.scm"]
> In /usr/local/share/guile/gtk-1.2/gdk.scm:
>   23: 82* [merge-compiled-code "sgtk_init_gtk_gdk_glue" "libguilegtk-1.2"]
> In /usr/local/share/guile/gtk-1.2/dynlink.scm:
>   25: 83  (let* ((module #) (interface #)) (module-use! module interface)
> ...)
> In unknown file:
>     ...
>    ?: 84  [dynamic-wind #<procedure #f ()> #<procedure #f ()> #<procedure #=
> f
> ()>]
>    ?: 85* [#<procedure #f ()>]
> In /usr/local/share/guile/gtk-1.2/dynlink.scm:
>   32: 86* [load-extension "libguilegtk-1.2" "sgtk_init_gtk_gdk_glue"]
> 
> /usr/local/share/guile/gtk-1.2/dynlink.scm:32:8: In procedure dynamic-link
> in expression (load-extension libname init-func):
> /usr/local/share/guile/gtk-1.2/dynlink.scm:32:8: file: "libguilegtk-1.2",
> message: "libguilegtk-1.2.so: cannot open shared object file: No such file
> or directory"
> gwave: Error(s) in gwave-startup.scm or other startup files
> gwave: %load-path was (/usr/local/share/guile /usr/share/guile/site
> /usr/share/guile/1.6 /usr/share/guile .)
> 
> 
> Any suggestions to fix this? (Please keep in mind that I am a Linux newbie =
> -
> I will probably need detailed instructions. Maybe installing gEDA should no=
> t
> be attempted before x years of Linux experience.)
> 
> Steve, in your previous mail you suggested the following:
> 
> On 12/9/05, steve tell <[EMAIL PROTECTED]> wrote:
> >
> > <snip>
> >
> 1. Did the guile build+install process install its include files?
> 
> 
> It looked like it finished normally, but I do not know where to check for
> the include files, or what files should be installed.
> 
> 2. Did guile-gtk and gwave find the _right_ guile includes?
> 
> 
> How do I know that? It looked like the build went ok. As far as I know I
> only have one guile installed (according to Synaptic, anyway).
> 
> 3. When you run gwave, is it finding the matching libguile.so shared libs?
> > ("ldd gwave" will list what shared libraries it is finding.
> >    LD_LIBRARY_PATH can influence that)
> 
> 
> "ldd gwave" results in the following lguile-related output:
> 
>         libguile.so.12 =3D> /usr/lib/libguile.so.12 (0x40027000)
>         libguile-ltdl.so.1 =3D> /usr/lib/libguile-ltdl.so.1 (0x400c4000)
> 
> Both these files exist.
> 
> 4. Are there any other versions of guile laying around?
> >          If, for example, you have a guile in /usr but installed another
> >          version in /usr/local, preventing your compiler from seeing the
> >          one in /usr first can be very difficult.
> 
> 
> I don't think so - how do I determine that? When finding file "libguile.*" =
> I
> found two "libguile.la" files: in /usr/lib and in a "src" sub-directory -
> must I just delete one of them?
> 
> Steve
> 
> 
> Thanks
> Thinus
> 
> ------=_Part_3975_14378576.1134138996674
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
> 
> Thanks for the reply. I managed to build guile-gtk-0.40 from the gEDA
> suit CDROM (as downloaded from the gEDA site). Then I built gwave from
> the same CDROM. (I first had the exact same problem than described
> here: <a href=3D"http://www.geda.seul.org//mailinglist/geda-dev46/msg00108.=
> html">http://www.geda.seul.org//mailinglist/geda-dev46/msg00108.html</a> ,
> but it compiled after I also manually included &quot;-lguilegtk-1.2&quot; t=
> o the
> makefile). As far as I know, I now have the following packages
> installed:<br>
> <br>
> >From the Debion CDs:<br>
> libgtk1.2 1.2.10-12<br>
> libgtk1.2-common 1.2.10-17<br>
> libgtk1.2-dbg 1.2.10-17<br>
> libgtk1.2-dev 1.2.10-17<br>
> (I also have libgtk2.0 packages installed - it looks like gnome needs it)<b=
> r>
> guile-1.6-libs 1.6.7-1<br>
> <br>
> >From the gEDA suite CDROM:<br>
> guile-gtk-0.40<br>
> gwave 20031224<br>
> <br>
> As I gather from the gwave website this combination of versions should
> work? (The gwave website specifies guile-gtk 0.31, but since 0.40 was
> on the gEDA CDROM I suppose that should also work?)<br>
> <br>
> However, when I execute gwave I get the following output:<br>
> <br>
> <br>
> In unknown file:<br>
> &nbsp;&nbsp; ?: 67&nbsp; [try-load-module (gtk-1.2 gdk)]<br>
> &nbsp;&nbsp; ?: 68&nbsp; (or (begin (try-module-linked name)) (try-module-a=
> utoload name) ...)<br>
> &nbsp;&nbsp; ?: 69* [try-module-autoload (gtk-1.2 gdk)]<br>
> &nbsp;&nbsp; ?: 70&nbsp; (let* (# # # #) (resolve-module dir-hint-module-na=
> me #f) (and # #))<br>
> &nbsp;&nbsp;&nbsp; ...<br>
> &nbsp;&nbsp; ?: 71&nbsp; (letrec ((load-file #)) (dynamic-wind (lambda () #=
> ) (lambda () #) ...) ...)<br>
> &nbsp;&nbsp; ?: 72* [dynamic-wind #&lt;procedure #f ()&gt; #&lt;procedure #=
> f ()&gt; #&lt;procedure #f ()&gt;]<br>
> &nbsp;&nbsp; ?: 73* [#&lt;procedure #f ()&gt;]<br>
> &nbsp;&nbsp; ?: 74* (let ((file #)) (cond (# =3D&gt; #) (# =3D&gt; #)))<br>
> &nbsp;&nbsp; ?: 75&nbsp; [#&lt;procedure #f (full)&gt; &quot;/usr/local/sha=
> re/guile/gtk-1.2/gdk.scm&quot;]<br>
> &nbsp;&nbsp; ?: 76&nbsp; [load-file #&lt;primitive-procedure primitive-load=
> &gt; ...]<br>
> &nbsp;&nbsp; ?: 77* [save-module-excursion #&lt;procedure #f ()&gt;]<br>
> &nbsp;&nbsp; ?: 78&nbsp; (let (# #) (dynamic-wind # thunk #))<br>
> &nbsp;&nbsp; ?: 79&nbsp; [dynamic-wind #&lt;procedure #f ()&gt; #&lt;proced=
> ure #f ()&gt; #&lt;procedure #f ()&gt;]<br>
> &nbsp;&nbsp; ?: 80* [#&lt;procedure #f ()&gt;]<br>
> &nbsp;&nbsp; ?: 81* [primitive-load &quot;/usr/local/share/guile/gtk-1.2/gd=
> k.scm&quot;]<br>
> In /usr/local/share/guile/gtk-1.2/gdk.scm:<br>
> &nbsp; 23: 82* [merge-compiled-code &quot;sgtk_init_gtk_gdk_glue&quot; &quo=
> t;libguilegtk-1.2&quot;]<br>
> In /usr/local/share/guile/gtk-1.2/dynlink.scm:<br>
> &nbsp; 25: 83&nbsp; (let* ((module #) (interface #)) (module-use! module in=
> terface) ...)<br>
> In unknown file:<br>
> &nbsp;&nbsp;&nbsp; ...<br>
> &nbsp;&nbsp; ?: 84&nbsp; [dynamic-wind #&lt;procedure #f ()&gt; #&lt;proced=
> ure #f ()&gt; #&lt;procedure #f ()&gt;]<br>
> &nbsp;&nbsp; ?: 85* [#&lt;procedure #f ()&gt;]<br>
> In /usr/local/share/guile/gtk-1.2/dynlink.scm:<br>
> &nbsp; 32: 86* [load-extension &quot;libguilegtk-1.2&quot; &quot;sgtk_init_=
> gtk_gdk_glue&quot;]<br>
> <br>
> /usr/local/share/guile/gtk-1.2/dynlink.scm:32:8: In procedure dynamic-link =
> in expression (load-extension libname init-func):<br>
> /usr/local/share/guile/gtk-1.2/dynlink.scm:32:8: file:
> &quot;libguilegtk-1.2&quot;, message: &quot;<a href=3D"http://libguilegtk-1=
> .2.so">libguilegtk-1.2.so</a>: cannot open shared
> object file: No such file or directory&quot;<br>
> gwave: Error(s) in gwave-startup.scm or other startup files<br>
> gwave: %load-path was (/usr/local/share/guile /usr/share/guile/site /usr/sh=
> are/guile/1.6 /usr/share/guile .)<br>
> <br>
> <br>
> Any suggestions to fix this? (Please keep in mind that I am a Linux
> newbie - I will probably need detailed instructions. Maybe installing
> gEDA should not be attempted before x years of Linux experience.)<br>
> <br>
> Steve, in your previous mail you suggested the following:<br>
> <br><div><span class=3D"gmail_quote">On 12/9/05, <b class=3D"gmail_senderna=
> me">steve tell</b> &lt;<a href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]
> nics.org</a>&gt; wrote:</span><blockquote class=3D"gmail_quote" style=3D"bo=
> rder-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding=
> -left: 1ex;">
> &lt;snip&gt; <br>
> </blockquote><blockquote class=3D"gmail_quote" style=3D"border-left: 1px so=
> lid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">1. D=
> id the guile build+install process install its include files?</blockquote>
> <div><br>
> It looked like it finished normally, but I do not know where to check for t=
> he include files, or what files should be installed. <br>
> </div><br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid=
>  rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2. Did =
> guile-gtk and gwave find the _right_ guile includes?</blockquote><div><br>
> 
> How do I know that? It looked like the build went ok. As far as I know
> I only have one guile installed (according to Synaptic, anyway).<br>
> </div><br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid=
>  rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">3. When=
>  you run gwave, is it finding the matching libguile.so shared libs?<br>(&qu=
> ot;ldd gwave&quot; will list what shared libraries it is finding.
> <br>&nbsp;&nbsp; LD_LIBRARY_PATH can influence that)</blockquote><div><br>
> &quot;ldd gwave&quot; results in the following lguile-related output:<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libguile.so.12 =3D&gt; /usr/lib/=
> libguile.so.12 (0x40027000)<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libguile-ltdl.so.1 =3D&gt; /usr/=
> lib/libguile-ltdl.so.1 (0x400c4000)<br>
> <br>
> Both these files exist.<br>
> </div><br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid=
>  rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">4. Are =
> there any other versions of guile laying around?<br>&nbsp;&nbsp;&nbsp;&nbsp=
> ;&nbsp;&nbsp;&nbsp;&nbsp; If, for example, you have a guile in /usr but ins=
> talled another
> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; version in /usr/local,=
>  preventing your compiler from seeing the<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
> &nbsp;&nbsp;&nbsp; one in /usr first can be very difficult.</blockquote><di=
> v><br>
> I don't think so - how do I determine that? When finding file
> &quot;libguile.*&quot; I found two &quot;<a href=3D"http://libguile.la";>lib=
> guile.la</a>&quot; files: in /usr/lib and in a
> &quot;src&quot; sub-directory - must I just delete one of them?<br>
> </div><br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid=
>  rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Steve</=
> blockquote><div><br>
> Thanks<br>
> Thinus<br>
> &nbsp;</div><br></div><br>
> 
> ------=_Part_3975_14378576.1134138996674--
> 

Reply via email to