Ahh, that helped. So now we have the skeleton for an INSTALL doc for the top 
level.

So, if I type gschem, I get the error  message:
Bash: /usr/bin/gschem: No such file or directory

But if I type:
./usr/local/bin/gschem, gschem opens up just fine. It looks like I am missing 
some geda path thing, and it is coming up to an old default.
My path is:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11

Which and Whereis both find gschem in usr/local/bin, so why the error message? 

Sudo gschem works just fine

Ross Amans
Hardware Design Engineer
Biometric Access Co
512-426-9252 (cell)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Clifton
Sent: Monday, June 02, 2008 1:47 PM
To: gEDA developer mailing list
Cc: [EMAIL PROTECTED]
Subject: Re: gEDA-dev: latest

On Mon, 2008-06-02 at 13:30 -0500, Amans,Ross wrote:
> Re-ran autogen.sh, all is well. I seee I should have done make reconfig
> first.
> 
> Andlinux Ubuntu 2.6.22.18-co-0.7.3 on Win XP (thru colinux)
> 
> So I found that the versions of most programs are unreported by foo
> --version. Programs reporting --version: gsch2pcb 1.6, gschupdate 0.2,
> gsymupdate 0.2. Programs which do not currently support --version:
> gsymcheck, gschem, gnetlist, gattrib, garchive, 
> 
> Running gschem, I see the old version comes up just fine, 20070626, with
> untitled.sch.
> Running ./gschem in geda/bin, I see 1.4.0.20080127 opens up with
> nothing, no menus, no toolbars, no schematic. So I copied
> /usr/share/geda/scheme to /usr/local/share/geda/scheme, and reopened
> ./gschem, and got toolbars. No menus, though, and no schematic.

Un-install the old version, as it can cause conflicts.

Install the new version with a "sudo make install" after building.

The symptoms of no menus / no toolbars etc.. indicated gschem hasn't
found some of its (many and various) resource files. It is really
important that the whole suite gets a proper "make install", especially
with version 1.4.0, as some files have changed location / content since
previous releases.

Depending on whether you used "make config" or ran ./configure
individual for the various suite tools, the default install location
will either be $HOME/geda/... or /usr/local/...

I suspect you want /usr/local/...., (otherwise you need to setup some
paths before you can run gEDA).

If this is the case, open up the top level "Makefile" in a text editor,
navigate down to about line 30:

and change:


#
# Set this to the location where you want to install gEDA/gaf
#
prefix?=$(HOME)/geda


to:


#
# Set this to the location where you want to install gEDA/gaf
#
#prefix?=$(HOME)/geda
prefix?=/usr/local

Then:

make libgeda_config libgeda
sudo make libgeda_install
make config
make all
sudo make install

IE.. configure and build libgeda first, then install it as root. The
configure checks for the libgeda in the other tools will find libgeda in
the correct location. Reconfigure the whole lot, build everything then
install the whole lot as root).

Hope this helps

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev


_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to