[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: gEDA-user: geda & guile installation failure
Mike:
Thanks for your reply. There are two options in 'BUILD INSTRUCTIONS' at
http://www.geda.seul.org/devel.html. I used option 1. What you're describing
is option 2 (which I'll do instead). I thought option 1 would build and
install the tools in the right locations but perhaps I misunderstood a step.
It also lists the order in which to compile each tool. I'm not at my machine
at the moment so I'll have to try this later on this evening.
By the way, do you know what the default /bin & /lib locations are that
./configure installs to? Is it /usr/local/bin and /usr/local/lib and is this
standard for the other packages as well? I suppose I can look at the
./configure script. I apologize in advance for the newbie questions.
Thanks,
Scott
-----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.
--
--------------------------------------------------
Mike Jarabek
FPGA/ASIC Designer
http://www.doncaster.on.ca/~mjarabek
--------------------------------------------------