X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 X-Exmh-Isig-CompType: repl X-Exmh-Isig-Folder: inbox From: karl AT aspodata DOT se To: geda-user AT delorie DOT com Subject: Re: [geda-user] running mult. versions of kicad In-reply-to: <20190401173627.5c03239f@demon> References: <20190329142529 DOT 0883A81FA169 AT turkos DOT aspodata DOT se> <20190401173627 DOT 5c03239f AT demon> Comments: In-reply-to "(graahnul DOT grom AT gmail DOT com) [via geda-user AT delorie DOT com]" message dated "Mon, 01 Apr 2019 17:36:27 +0300." Mime-Version: 1.0 Content-Type: text/plain Message-Id: <20190402140358.53A6381FA166@turkos.aspodata.se> Date: Tue, 2 Apr 2019 16:03:58 +0200 (CEST) X-Virus-Scanned: ClamAV using ClamSMTP Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Dmitry: > On Fri, 29 Mar 2019 15:25:28 +0100 (CET) > karl AT aspodata DOT se wrote: > > I'm doing some pcb-rnd/pcb <-> pcbnew file conversion > > test. > > Is there anyone here who knows how to run kicad v4.0.7 > > and v5.1.0 side by side so I can test and compare ? > > Currently I build and istalled kicad, footprints, > > libraries and the 3dthings in: > > /usr/local/kicad_4.0.7/ > > /usr/local/kicad_5.1.0/ > > and I can start them as /usr/local/kicad_xxx/bin/pcbnew, > > but they are using the same config files in > > ~/.config/kicad/. > I would try to create two separate folders to be used as > home directories for each kicad instance, then launch it > with $HOME environment variable set to point to > appropriate directory. Hopefully, kicad will > use /.config/kicad/ subdirectories from these "homes". E.g.: > > $ mkdir /tmp/kicad4home /tmp/kicad5home > $ HOME=/tmp/kicad4home /usr/local/kicad_407/bin/pcbnew > $ HOME=/tmp/kicad5home /usr/local/kicad_510/bin/pcbnew To sum up, that seems to work with some pain. /// I tested with mkdir -p ~/kicad/{4.0.7,5.1.0} and HOME=/home/karl/kicad/4.0.7 /usr/local/kicad_4.0.7/bin/pcbnew and it worked fine except that it cannot find 3dlibraries. 5.1.0 was a pain to configure the fp paths and such. Running HOME=/home/karl/kicad/4.0.7 /usr/local/kicad_4.0.7/bin/kicad doesn't work, since it couldn't (?) find its associated binaries for some reason. Adding a export PATH=/usr/local/kicad_4.0.7/bin:$PATH didn't help. So, how do the kicad devs do this, or do they just forget about any older version than bleading edge ? Regards, /Karl Hammar