[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FW: gEDA-user: geda & guile installation failure



SMOBERLY wrote:

> 
> -----Original Message-----
> From: Mike Jarabek [mailto:mjarabek@istop.com]
> Sent: Wednesday, April 17, 2002 10:32 AM
> To: geda-user@seul.org
> Subject: Re: gEDA-user: geda & guile installation failure
> 
> 
> SMOBERLY <SMOBERLY@Mykotronx.com> said:
> 
>> My installation crashes and I would appreciate any help you could
> 
> provide...
> 
>> I installed all the tarballs in the $HOME/geda directory. The ./configure
>> script in the libgeda directory fails because it says it can't find Guile.
>> Guile 1.4 directory is also located in $HOME/geda. I've identified the
>> statement in the config.h file where the error is flagged. Is there
>> something special I need to do to make Guile visible to ./configure? 
> 
> 
> What actually matters is where Guile and friends are installed after being
> compiled separately.  This would have been specified in the Guile configure
> command as `./configure --prefix=/blah/blah'.  After building Guile and
> friends, you need to do a `make install'  (or gmake if you are on a *BSD) to
> copy the needed files to `/blah/blah/bin' and `/blah/blah/lib' etc.
> `/blah/blah/bin' must be in your path, as this is where `guile-config' is
> located.  If you have installed Guile and have LD_LIBRARY_PATH and the PATH
> set right and are still getting this error.  Try doing a `which
> guile-config'
> from a shell window, you should get the absolute path to where this script
> is
> located, if it doesnt match where you set the prefix to, then your PATH has
> things in the wrong order, make sure that your prefix/bin appears before
> other
> ones. If which prints out `not found', then your path is not set right. (The
> gEDA dist does not try to build these packages, it assumes that they have
> been
> installed and are working prior to compilation of GAF.)
> 
> (This may sound a bit complicated, but the same proceedure
> configure/build/install is (should be) used for most GNU tools. The tricky
> bit
> is getting the package building order right, and that is usually left to the
> user as an excersise, in the case of geda the order is something like:glib,
> gtk, guile, libgeda, gschem and friends.)
> 
>> I've
>> updated my LD_LIBRARY_PATH and PATH environment variables per
> 
> instructions.
> 
>> Do I need to put Guile in my library path?
> 
> 
> yes, be sure to include prefix/lib as part of your LD_LIBRARY_PATH. (if you
> install guile in a different prefix than the other geda tools.)
> 
>> Thanks in advance,
> 
> 
> Hope this helps.
> 
> 
I wanted to thank all the people who helped me today. I got the tool 
installed and am starting to play with it. Special thanks to Mike 
Jarabek for his great instructions and for the "./configure --prefix.." 
tip. It made all the difference. Guile compilation threw me a curve (the 
fix is in the archive if anyone wants to see what I did) but I 
eventually got it. For others out there, the LD_LIBRARY_PATH and PATH 
variables must be exact as Mike stated or it won't be able to find 
Guile. Now I can get on to doing some work.

Thanks again,

Scott