gEDA-dev: gsch2pcb, xgsch2pcb: searchpath for the pcb libraries
Werner Hoch
werner.ho at gmx.de
Fri Jan 4 15:27:20 EST 2008
Hi Peter and all,
I'm using pcb 20070912 installed in /usr and gEDA installed in
$HOME/geda/
When running xgsch2pcb, gsch2pcb does not find all pcb libraries.
gsch2pcb searches in:
----------------
-d, --elements-dir D
Search D for PCB file elements. These defaults
are searched if they exist: ./packages,
/usr/local/share/pcb/newlib, /usr/share/pcb/newlib,
(old pcb) /usr/local/lib/pcb_lib, /usr/lib/pcb_lib,
(old pcb) /usr/local/pcb_lib
------------
The libraries of newer pcb versions are located in:
/usr/share/pcb/pcblib-newlib
/usr/share/pcb/m4
/usr/share/pcb/newlib
xgsch2pcb should set the library path to the datadir of pcb.
If pcb is located in /usr/bin/ ($bindir), gsch2pcb should look at
$bindir/../share/pcb/
Maybe two additional lines in the [project].tmp.gsch2pcb file will work.
elements-dir /usr/share/pcb/newlib
elements-dir /usr/share/pcb/pcblib-newlib
Don't know if both are required.
Regards
Werner
More information about the geda-dev
mailing list