delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2015/06/25/16:40:11

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=20120113;
h=date:from:to:subject:message-id:mail-followup-to:references
:mime-version:content-type:content-disposition:in-reply-to
:user-agent;
bh=vZFLHpJNIQje4CxJptRdR3r71PVQTIlrjHdSEDT5MgI=;
b=xeAvgS+/J01fbdGYNC0ep2JXPanzaQN9FJMV6v7EvpDvOIJjYJSvIOz2vggPuVm0zl
I6oRGhLCsD5xALxmujkFYi5MR2GHD6nHzPv4IdURvpQx55aajst3/cT6MmT6XOoOkG6U
S07OfbYl6Dnb1uPU0eAjEvLrpXAdOsVDyb1TNjnzA0B5GFILO47wC6w3voLKMTyNb67s
bRFTWitb7FSaQVmwNjx8UbFngzZdhDstjH5PNg2NZnj8rN0Ti3NPLOkw3af8jp9yNcqU
bLKO0ugBqEsCr/3aYTib/tJ9f/2+XgIX813wvCozEWfoz38S6wCzX6hjwz7kL1hf3Ttg
R14A==
X-Received: by 10.112.119.198 with SMTP id kw6mr45698666lbb.97.1435264782794;
Thu, 25 Jun 2015 13:39:42 -0700 (PDT)
Date: Thu, 25 Jun 2015 23:39:39 +0300
From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com)" <geda-help AT delorie DOT com>
To: geda-help AT delorie DOT com
Subject: Re: [geda-help] gsch2pcb gives 'No elements found'
Message-ID: <20150625203939.GA5176@localhost.localdomain>
Mail-Followup-To: geda-help AT delorie DOT com
References: <CAJ--6mY1kvj5dvVD7r6-v+Zm9jtC-iq2zwwQ+RBArz0Q94iKOA AT mail DOT gmail DOT com>
<20150625131553 DOT GA9844 AT localhost DOT localdomain>
<CAJ--6mbr24doNB4C-VCyBWQ+-3MfpDkxxdjv5-eR+TyU0mZWhg AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAJ--6mbr24doNB4C-VCyBWQ+-3MfpDkxxdjv5-eR+TyU0mZWhg@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Reply-To: geda-help AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-help AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, Jun 25, 2015 at 11:08:01PM +0400, Ala'a Mohammad (amalawi AT gmail DOT com) wrote:
...
> One more thing. One of the symbols used an m4 macro "Connector 2 1"
> and did not appear in the pcb, checking the terminal for gsch2pcb
> verbose output, I noticed the following
> 
> CONN1: need new file element for footprint  CONNECTOR-2-1 (value=unknown)
> CONN1: can't find PCB element for footprint CONNECTOR-2-1 (value=unknown)
> So device CONN1 will not be in the layout.
> 
> I suspected PCBM4DIR and appended the env var to my shell dot file
> .zshrc pointing to where they were installed, reloaded .zshrc and
> nothing changed, then added the option inside the project file as
> 
> m4-pcbdir /usr/local/share/pcb/m4
> 
> and it worked (generating the proper connector as per the tutorial).
> 
> my question is, How to make this value a default and avoid adding it
> explicitly in each project file? I tried search in the net but did not
> succeed, maybe I missed the proper keywords or place to search for!

Try to set PCBDATA=/usr/local/share/pcb (I don't know how to write the
environment variable correctly for zsh, though).

Cheers,
  Vladimir

- Raw text -


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