From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77858 invoked by alias); 23 Feb 2018 21:08:22 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 77838 invoked by uid 89); 23 Feb 2018 21:08:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD,UNSUBSCRIBE_BODY autolearn=no version=3.3.2 spammy=mastering, Distributor, recipes, informed X-HELO: gpm.stappers.nl Received: from gpm.stappers.nl (HELO gpm.stappers.nl) (82.161.218.215) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 23 Feb 2018 21:08:18 +0000 Received: by gpm.stappers.nl (Postfix, from userid 1000) id E80D9304035; Fri, 23 Feb 2018 22:08:15 +0100 (CET) Date: Fri, 23 Feb 2018 21:08:00 -0000 From: Geert Stappers To: crossgcc@sourceware.org Subject: Re: ./configure --enable-local Message-ID: <20180223210815.GF9226@gpm.stappers.nl> References: <1519404370.21789.15.camel@gmail.com> <1ef09456-ba48-676e-cd1a-a25160ac1a78@att.net> <20180223180711.GZ9226@gpm.stappers.nl> <1519416542.21789.23.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1519416542.21789.23.camel@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2018-02/txt/msg00016.txt.bz2 On Fri, Feb 23, 2018 at 03:09:02PM -0500, William Main wrote: > On Fri, Feb 23, 2018 at 09:12:23AM -0800, Alexey Neyman wrote: > > On 02/23/2018 08:46 AM, William Main wrote: > > > > > >      I am new to YOCTO but experienced in other emddeded systems. > > > I am following recipes in a book published in June 2017 by Chris > > > Symmonds > > > "Mastering Embedded Linux Programming" and am stuck on pg 29 > > > which is frustrating. > > >  I have become stuck for two days now on the error show below > > > even though I have confirmed the two files showing issues > > > are present and installed. > > > > > > Setting up libtool (2.4.6-0.1)  << this is what is installed > > > > > > $ sudo apt-get install make > > > Reading package lists... Done > > > Building dependency tree > > > Reading state information... Done > > > make is already the newest version (4.1-6).  << definitely > > > installed > > > make set to manually installed. > > > > > > git clone https://github.com/crosstool-ng/crosstool-ng.git > > >     lots of output and succeeded > > > cd crosstool-ng > > > git checkout crosstool-ng-1.22.0 > > >     lots of output and succeeded > > > $ ./bootstrap > > > succeeded > > > then the issue begins > > > > > > william@NEMT-Yocto:~/crosstool-ng$ ./configure --enable-local > > >         lots of output that looks ok then -- > > > checking for make 3.81... no > > > checking for GNU libtool >= 1.5.26... no > > > configure: error: could not find GNU libtool >= 1.5.26 > > > > > > > > > system details: > > > Distributor ID: Ubuntu > > > Description: Ubuntu 16.04.3 LTS > > > Release: 16.04 > > > Codename: xenial > > > > > > crosstool-ng-1.22.0 > > > > > > can you either shed some light on what is going wrong or point me > > > to where I might find help? > > > > > First, do not write to me personally. I will not respond to private > > questions like that - if there is an issue that needs explanation, > > a question on a archived  mailing list will benefit all of the > > community, not just you. > > > > As to your question: with any question regarding configure, the > > config.log should be provided. That's the basic rule for any > > configure-based project so you should've been aware of that. > > > > For both make and libtool, configure tries to check their versions > > by invoking them with --version and then trying to match the > > following regexps: > > > > ^GNU Make (3.[89][[:digit:]]|[4-9]) > > \(GNU libtool.*\) > > (2[[:digit:]]*\.|1\.6[[:digit:]]*\.|1\.5\.[2-9][[:digit:]]+) > > > > So: > > - Ensure that the versions of make/libtool you've installed are > > available in the $PATH (and not preceded in $PATH by some outdated > > version, e.g. in your $HOME/bin). > > - See what your `make --version` and `libtool --version` print and > > see if it matches the regexps above. > > > >     The libtool problem is solved thanks to your help and process of > elimination and make file "no" was not an issue just a note as to which > version of make is loaded. > >     The problem was a missing step in the ubuntu OS prep (I started > with a bare machine install). > > sudo apt-get install libtool-bin > > was required before things worked (it did take a while to figure out > the -bin part of the name) Is the -bin also in the book? Needs the book author be informed?? > Again, thanks for bearing with me on this one. It is the first time in > all my years I needed to use the mail list help. You are welcome. Thanks for replying below the text. Archive readers do benefit most from it. Search engines bring those readers. Groeten Geert Stappers -- Leven en laten leven