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=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=+EPGpqyvIhl/QPLfXYETH4x9K0DNuEr2l/LC5n7Q1BU=; b=jQ8R9SvqRYaMwjOVePmBiBzV1wBvKV9EQWhUdq01AUW6rc7Dzi5TeuZRJFPFgTWP0i 7SKFt0Sc4Kbcr891hpppgV67255G0F5fuvVzxo4KkRW/bjdbPT9noPWV9z2tdGIV172f iIcqUCpWq1WYqzvDR+yqfT6n4Y6am1OBUVaZZ/xOY9DZ/pfW4JoHV7lfegIckYEnXh3B aX+O646w3umRP0g3JSzrjJAsdmVDwmE7POmSq2ssv8hng0V3A+LbIr+RfkMb7q0AV9yE xMRj5HjBanTbDLFrJCD/RM6ovzMyOvKDBtbAcdzz9J2v4xAAE74WE5tRwJz72tT7AA7k gDKw== X-Received: by 10.152.6.132 with SMTP id b4mr44065183laa.53.1435278089500; Thu, 25 Jun 2015 17:21:29 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20150625203939.GA5176@localhost.localdomain> References: <20150625131553 DOT GA9844 AT localhost DOT localdomain> <20150625203939 DOT GA5176 AT localhost DOT localdomain> From: "Ala'a Mohammad (amalawi AT gmail DOT com)" Date: Fri, 26 Jun 2015 04:20:50 +0400 Message-ID: Subject: Re: [geda-help] gsch2pcb gives 'No elements found' To: geda-help AT delorie DOT com Content-Type: text/plain; charset=UTF-8 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 Precedence: bulk Hi Vladimir, Setting PCBDATA didn't work also. I'm searching inside system wide config files, but do not know which one is affecting 'pcb' as I'm trying to replicate what gsch2pcb is doing when it is creating a temperary scm config file. the line I try defining is (define m4-pcbdir "/usr/local/share/pcb/m4") Ala'a On Fri, Jun 26, 2015 at 12:39 AM, Vladimir Zhbanov (vzhbanov AT gmail DOT com) wrote: > 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