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

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.


-- 
--------------------------------------------------
                              Mike Jarabek
                                FPGA/ASIC Designer
   http://www.doncaster.on.ca/~mjarabek
--------------------------------------------------