www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2013/05/01/14:42:36

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
Message-ID: <20130501144223.1530403dndgymk9b@www.communityrenewables.com>
Date: Wed, 01 May 2013 14:42:23 -0400
From: Chris Fisichella <chris AT communityrenewables DOT com>
To: geda-help AT delorie DOT com
Subject: Re: [geda-help] m4 missing from tutorial
References: <201305011759 DOT r41HxWkq007504 AT delorie DOT com>
<20130501141510 DOT 55813yut01m6ha5q AT www DOT communityrenewables DOT com>
<201305011819 DOT r41IJ2t8016324 AT envy DOT delorie DOT com>
In-Reply-To: <201305011819.r41IJ2t8016324@envy.delorie.com>
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) H3 (4.3.11)
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - gator1602.hostgator.com
X-AntiAbuse: Original Domain - delorie.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - communityrenewables.com
X-BWhitelist: no
X-Source:
X-Source-Args:
X-Source-Dir:
X-Source-Sender: (localhost) [127.0.0.1]:57472
X-Source-Auth: chris AT communityrenewables DOT com
X-Email-Count: 2
X-Source-Cap: ZmlzaWNoZWw7ZmlzaWNoZWw7Z2F0b3IxNjAyLmhvc3RnYXRvci5jb20=
Reply-To: geda-help AT delorie DOT com

DJ Delorie <dj AT delorie DOT com>:

>
> There's a weird interaction with M4 and symbol names that look like
> mathematical eqations.  M4 sees "-2-1" and substitutes "-3"
>
> Most people disable the M4 library and just use the pre-generated
> libraries, to avoid this problem.
>

Hi DJ,
Thanks. As usual, after I sent the email, I saw help in the tutorial  
in the next paragraph. Now when I execute:

$gsch2pcb -v project
..
..
.----------------------------------------
    Variables which may be changed in gafrc:
    ----------------------------------------
    gsch2pcb:pcb-m4-command:    "/usr/bin/m4"
    gsch2pcb:pcb-m4-dir:        "/usr/local/share/pcb/pcb/m4"
    gsch2pcb:pcb-m4-path:       ("$HOME/.pcb" ".")
    gsch2pcb:m4-files:          ""
..
..
..
The gsch2pcb:pcb-m4-dir: is not correct for my system. You wouldn't to  
happen to know the gafrc syntax for setting the pcb-m4-dir do you? I  
vaguely remember lisp.. it is something like
(setq gsch2pcb:pcb-m4-dir "/usr/local/share/pcb/m4")

and I will look into the pregenerated libraries, although I am sure I  
am going to immediately need to generate my own footprints, so I think  
I will need to use the m4 program.

Thanks,
-Chris

- Raw text -


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