delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2021/10/03/01:54:13

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=20210112;
h=from:date:to:subject:message-id:mail-followup-to:references
:mime-version:content-disposition:in-reply-to;
bh=iv/K2dv9ZTKrGKtZglxn6AzyHNJqAjeGrGw9Fzr4FaU=;
b=WLZ1NWhquiobdz92ldM+pQERUTY/5mTso2XtUV9RXNzZlTAnev0Yhfu7AzA1n6LeNP
WckoAr4PO1iVQQOwpty1gY2yjS83W5JL1YwdRyl3HMHx2bZS5ncFHniEketEJBR5/6a1
yv+xr9AZMkjeAk/t4R7kDmVjL9ATUSX4dmRSDvPGoCyAGTaTKhwRkRtTHn9GB1D7je79
bOX75oLoC3zdlfunTQJZAgMau+TRz6KSzPnkXRiI25u1IbbFvz9X+jmcNhg8y2WPr7wP
OVw1bCv0R2cfPWjTIGodvgLNa/7ySJeIY/PVZEz6c5f4hjekNfmKuI1jLOtu50MYoaQ0
SshA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:from:date:to:subject:message-id:mail-followup-to
:references:mime-version:content-disposition:in-reply-to;
bh=iv/K2dv9ZTKrGKtZglxn6AzyHNJqAjeGrGw9Fzr4FaU=;
b=G6y7yjT+i7K3z1/XwW+Uz21n+Zj2hEsMmQ4xSiismiyOJjyh7OoH/vroeWTpfFIl0P
DPLwVHaZ4DFWZKwfg/GIg5kXSpDxTzQISySeY7F8rJ3pas78SuxJ2gSwogoI5oJpvkYI
Z32+00mWmY35FyE3fh9Ohc+RdbyRxLf/vzfbuH0bfcMkgrC/eW2nWKTgwJmXsAemGC2d
vjx7OddZw7e6alKfFYFvMzpcPLC6M6KkdZLy2A7eRcUqe7L5rf5C7ocks9sn+4oPoGRS
vQEm1ERUsl1N9rYxmehX8CE3zLtVa6rIFBilTjCz/05x9Jsz+E+J3LVFDKfsJX8Qb5DI
2G+A==
X-Gm-Message-State: AOAM530cZTlAbapR9ZrmMFqN1m5mhzJe3j3YVQ33rroFxDq/Vwit9Zc/
PlnZXJy3W2b8AETFfNDIH0K/Px+FbW4=
X-Google-Smtp-Source: ABdhPJyMaxtTSPXhB+db8t4Xp9b1dwMr3TT2r/f4yFrf1NoHM74xN8nYwkmEBeTXdXYUdMF3qpoV5Q==
X-Received: by 2002:a2e:b8d5:: with SMTP id s21mr8119399ljp.300.1633240375768;
Sat, 02 Oct 2021 22:52:55 -0700 (PDT)
From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
X-Google-Original-From: Vladimir Zhbanov <vzh AT lepton>
Date: Sun, 3 Oct 2021 08:52:54 +0300
To: geda-help AT delorie DOT com
Subject: Re: [geda-help] Lepton-EDA Compiling Challenges
Message-ID: <YVlFNvbkCyvayALi@lepton>
Mail-Followup-To: geda-help AT delorie DOT com
References: <20211002151622 DOT 2bde5243b118d2a566d83d97 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <20211002151622.2bde5243b118d2a566d83d97@gmail.com>
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

Hi John,

On Sat, Oct 02, 2021 at 03:16:22PM +0000, John L. Males (jlmales AT gmail DOT com) [via geda-help AT delorie DOT com] wrote:
> Hello,
> 
> On a Debian based system I have customized in sense of packages
> and system post boot scripting I have had assorted problems
> compiling Lepton-EDA.
> 
> I will start with release 1.9.16.
> 
> First, despite the instructions that say the source tarball can run
> from ./configure it does not. ./configure does not exist.
> 
> Second, after running ./autogen.sh the ./configure then exists and
> runs as is with no options provided in what appears to be
> successfully.  I say appears, as then third issue arises.
> 
> Third, running ./make results in error from make:
> 
> make: *** No rule to make target 'version.h', needed by 'all'.
> Stop.
> 
> As FYI I tried to the 1.9.16 release tar file after failed
> two attempts to compile two other versions that were more recent.
> These two other attempts from Debian source packages, for version
> 1.9.13 and 1.9.16, where of the two Debian source packages 1.9.13
> had much more serious issues in compiling from source. The Debian
> source for 1.9.16 appears top be much better than the Lepton-EDS
> source file release from github.  The Debian Buster release
> installed 1.9.7 which is rather old compared to the number of fixes
> and improvements to 1.9.16.  I made no attempt to compile the 1.9.7
> version from Debian source package as a binary package was standard
> in the Debian Buster repositories.

The official Lepton 1.9.16 release page is:

https://github.com/lepton-eda/lepton-eda/releases/tag/1.9.16-20210731

Here, you have to download the following files:

https://github.com/lepton-eda/lepton-eda/releases/download/1.9.16-20210731/lepton-eda-1.9.16.tar.gz
https://github.com/lepton-eda/lepton-eda/releases/download/1.9.16-20210731/lepton-eda-1.9.16.tar.gz.asc

If you use firefox, for example, to download the files, it can put
them somewhere in /home/yourusername/Downloads, YMMV.

Really, using some command line (non-GUI) utilities would be even
simpler, e.g.:

$ wget the_link_above.tar.gz

or

$ curl the_link_above.tar.gz

would do the job quickly just in the directory you want to
download the file to.

Please do NOT download 'Source code' zip and tar.gz files created
by github.  They're just snapshots of the source code tree and
some files necessary for deploy are missing in them.

Next, you may want to check if the downloaded archive is
correct. Run:

$ gpg --verify lepton-eda-1.9.16.tar.gz.asc

in the directory you put the files to.

If anything is correct, move the archive into a desired place, and
untar it:

$ tar -xvzf lepton-eda-1.9.16.tar.gz

Then cd to the source directory and do ./configure:

$ cd lepton-eda-1.9.16/
$ ./configure

It should success. Then:

$ make && sudo make install

Please note:

No 'autogen.sh' or 'autoreconf -ivf' (which means
--in-vitro-fertilization, as explained to me by JPD) steps should
be used.  Those steps are used ONLY, when you're building Lepton
from git sources.

BTW, one more note.  Sometimes, when some versions of some
libraries change, you have to notify your OS about it by using:

$ sudo ldconfig

And, if you're interested in what Debian does about lepton
packages, you may look at the git history of the lepton-eda
package in Debian here:

https://salsa.debian.org/electronics-team/lepton-eda

Another note: you don't have to compile 1.9.16 for Debian since it
is already in testing.

HTH

-- 
  Vladimir

- Raw text -


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