delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2018/07/03/08:46:22

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20161025;
h=mime-version:reply-to:from:date:message-id:subject:to
:content-transfer-encoding;
bh=9EdDPxWMms245CvFOdBP/gLopXVyjdblhlm5mT/U1U8=;
b=N7HB6Nw/GFJk7slW96cq6fxHYXzx2H6EvyLtdyxtK8GuhpOLdhwCLcrnUaM3nhZr/P
jqrOKMeYc3S1cwaWhddqmWNU+qV3yc/RmufEffwKS29FfBuuG8HJR5qhJz5w/UBRsQLm
4Qdkp10VYW6z4SG+k2aHJXU/7v1IWXobu5oNvXnTT+JYGhtBhRed+wsJN8BIJyybk9uu
RgXvRhIcH1hIMjr7vUkKbzOXbvBb7KpziKoXd/OwmoKIXoo5wZzV3CKs/yYc05TMf7y3
RY4N26Q/mcobu6tawkQQHDbuRQTjecfUFcD4yGJa/nKacFWnX3xsL7uSLoOuTrDcfR3n
JYoA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:reply-to:from:date:message-id
:subject:to:content-transfer-encoding;
bh=9EdDPxWMms245CvFOdBP/gLopXVyjdblhlm5mT/U1U8=;
b=cxuO4Y+Ojkq3T7iWUA97iIy+Tnyp2XUh6N0oWZmpPnl9qd2ZV+KE2WIkWQQIDwmKZH
wTaXp3p4UMwi3UtpA+l3Nf+5W1N6Lng961wbrGK1LmmDDTCm48jLiwpDB6C2NTvLwiCk
MHqzFWkc/lOnK9K2Py6rUQisvpLQSU+whTJ6bPCH7VTm0Ndu559hEk4RUp5K8Mtq/Y2p
QFcuocSp+SMnXRIASaMEUNqitQj0kenOap+hhrxr/mBQ969fml7xGpzHiOtA7gnXYt8o
dKEGZ6IKGwDHtJfWDWCjfYZkKefJ0NhEOcnBEqP6lTtyVDMScmA3Ev9mzwpSe6EcLuzJ
tlZg==
X-Gm-Message-State: APt69E0dlu850GUVE2W7XU567msQwQ6JvqvTygG6i12q9I25WC1IUZ9e
auBD1lRPMexu0pQZ1E9Y1aHz3S07h8kxaXXLMwLYLjCn
X-Google-Smtp-Source: AAOMgpectxOyfdUiz5wq8PT54CVREhz2O8+TC3X6VDQEPWeSu81Cn2vwzSo+sZ8e91lhU4p7fd1ao0DheuM2SYyBKn8=
X-Received: by 2002:a65:5d88:: with SMTP id f8-v6mr20057846pgt.25.1530621932052;
Tue, 03 Jul 2018 05:45:32 -0700 (PDT)
MIME-Version: 1.0
From: "=?UTF-8?B?Q3PDoW55aSBQw6Fs?= (csanyipal AT gmail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
Date: Tue, 3 Jul 2018 14:45:31 +0200
Message-ID: <CAONhAotNE2B-7AReKkEUWYdjYi41Txw4RQMRC9BFKYyUOYy2yA@mail.gmail.com>
Subject: [geda-help] Using gEDA - Gschem Veroroute?
To: gEDA Help <geda-help AT delorie DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w63CjYw1030610
Reply-To: geda-help AT delorie DOT com

Hi,

I found the VeroRoute application very interesting to use together
with gEDA, namely Gschem:
https://sourceforge.net/projects/veroroute/

However it is needed to setup gEDA to work with VeroRoute.

I am on Gentoo linux system, and have downloaded
VeroRoute_V124_LinuxMint183_64bit.zip

then unpacked it so get the VeroRoute directory out here.

Then I make the VeroRoute file in that directory executable so I can run it.
And I can start VeroRoute out here.

The 'Using_gEDA_with_VeroRoute.txt' file is in
VeroRoute/Libraries/gEDA directory.

In this file is explained how to set gEDA to work with VeroRoute.
I quote those lines here.
<quote>
The first thing to do is to copy the "veroroute_" symbol folders
to the location where gEDA keeps its libraries.
So if the "veroroute_" folders are in "/home/alex/VeroRoute/Libraries/gEDA/"
then you would do

sudo cp -rf /home/alex/VeroRoute/Libraries/gEDA/veroroute_* /usr/share/gEDA/sym/

Now using a text editor, open the example file "geda-clib.scm.example".
See lines 19 to 29 in that file.
You will need to edit the file "/usr/share/gEDA/gafrc.d/geda-clib.scm"
on your system so that it contains those same lines.
</quote>

What I did instead is following.
Copy veroroute_* directories into my gEDA/gschem-sym/ directory.
I have already setup gEDA for normal work and I can start Gschem
without any error so far.

But, when I follow advices from the above mentioned
'Using_gEDA_with_VeroRoute.txt' file I get errors. See bellow.

So after I copy the symbols, I found on my Gentoo linux system the
/usr/share/gEDA/scheme/gschem.scm file and try to add lines to it.

I added the lines 6-29 from 'geda-clib.scm.example' and not 19 to 29
lines because I don't find the
6 to 18 lines in the /usr/share/gEDA/scheme/gschem.scm file out there:

(define geda-sym-path (build-path geda-data-path "sym"))

; NOTE: Some of the below component libraries below are commented out.
;       This was done because there are conflicting filenames within these
;       libraries.
(for-each
 (lambda (dir)
   (if (list? dir)
       (component-library (build-path geda-sym-path (car dir)) (cadr dir))
       (component-library (build-path geda-sym-path dir)))
   )
 (reverse '(
    "local"
  ; VeroRoute symbols
    ("veroroute_battery" "VeroRoute Battery")
    ("veroroute_bbd" "VeroRoute BBD")
    ("veroroute_connector" "VeroRoute Connector")
    ("veroroute_diode" "VeroRoute Diode")
    ("veroroute_electromechanical" "VeroRoute ElectroMechanical")
    ("veroroute_linear" "VeroRoute Linear")
    ("veroroute_logic" "VeroRoute Logic")
    ("veroroute_passive" "VeroRoute Passive")
    ("veroroute_regulator" "VeroRoute Regulator")
    ("veroroute_transistor" "VeroRoute Transistor")

Now when I start Gschem, I get error messages in the Status window like this:
Backtrace:
In ice-9/boot-9.scm:
 160: 9 [catch #t #<catch-closure 55c178c545c0> ...]
In unknown file:
   ?: 8 [apply-smob/1 #<catch-closure 55c178c545c0>]
In ice-9/boot-9.scm:
 160: 7 [catch #t #<catch-closure 55c178d0c5a0> ...]
In unknown file:
   ?: 6 [apply-smob/1 #<catch-closure 55c178d0c5a0>]
In ice-9/eval.scm:
 453: 5 [eval # ()]
 386: 4 [eval #<memoized (build-path geda-data-path (quote "sym"))> ()]
 393: 3 [eval #<memoized build-path> ()]
In unknown file:
   ?: 2 [memoize-variable-access! # #]
In ice-9/boot-9.scm:
 105: 1 [#<procedure 55c178d1ffc0 at ice-9/boot-9.scm:100:6 (thrown-k
. args)> unbound-variable ...]
In unknown file:
   ?: 0 [apply-smob/1 #<catch-closure 55c178d0c560> unbound-variable ...]

ERROR: In procedure apply-smob/1:
ERROR: Unbound variable: build-path
[/usr/share/gEDA/scheme/gschem.scm] init scm fájl olvasása sikertelen.
Parsed config from [/usr/share/gEDA/system-gafrc]
Parsed config from [/home/pali/.gEDA/gafrc]
Parsed config from [/usr/share/gEDA/system-gschemrc]
[/home/pali/Irataim/CAD/gEDA/TranzisztorosSzunyogRiaszto/TranzisztorosSzunyogRiaszto.sch]
rajz betöltése

So what am I missing here?
How can I set gEDA to work with VeroRoute?

-- 
Best, Pali

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019