|
From: | Max Barraclough |
Subject: | Re: Fw: 3 Bugs in Lightning |
Date: | Fri, 18 Sep 2020 19:12:14 +0000 |
Hi again Paulo,
I tried installing Ubuntu's zlib dev package but I still got the same "binutils not found" error when I ran './configure --enable-disassembler'
Full list of packages installed this time: build-essential gdb m4 binutils-dev binutils-multiarch-dev libz-dev
-Max
From: Paulo César Pereira de Andrade <paulo.cesar.pereira.de.andrade@gmail.com>
Sent: 14 September 2020 14:32 To: Max Barraclough <maxbarraclough@outlook.com> Cc: lightning@gnu.org <lightning@gnu.org> Subject: Re: Fw: 3 Bugs in Lightning Em qui., 27 de ago. de 2020 às 18:14, Max Barraclough
<maxbarraclough@outlook.com> escreveu: > Hi Paulo, so far I've only had time to look again at Issue 1: > > I see I'd missed the '--enable-disassembler' flag in the configure script. Using it confirms the configure script failed to discover binutils-dev, as the script fails with a message saying such: 'configure: error: binutils not found, see http://www.gnu.org/software/binutils/' > > > I don't see any of what you mentioned in the config.log file. There's no mention of 'jit_private' or 'disassembler_ftype'. This is the case whether running './configure' or './configure --enable-disassembler'. > > I'm not familiar with autotools but I took a look in configure.ac and saw a mention of libiberty, but installing the package libiberty-dev didn't make any difference. I also tried installing binutils-multiarch-dev but that made no difference either. > > Here's a line-numbered excerpt from the config.log from when I ran './configure --enable-disassembler'. Line 517 is the only line matching 'binutils'. It's a fresh Ubuntu 20.04, except for the packages mentioned above, and for the following: build-essential gdb m4 binutils-dev > > > > -Max > > > 466 configure: failed program was: > 467 | /* confdefs.h */ > 468 | #define PACKAGE_NAME "GNU lightning" > 469 | #define PACKAGE_TARNAME "lightning" > 470 | #define PACKAGE_VERSION "2.1.3" > 471 | #define PACKAGE_STRING "GNU lightning 2.1.3" > 472 | #define PACKAGE_BUGREPORT "pcpa@gnu.org" > 473 | #define PACKAGE_URL "http://www.gnu.org/software/lightning/" > 474 | #define PACKAGE "lightning" > 475 | #define VERSION "2.1.3" > 476 | #define STDC_HEADERS 1 > 477 | #define HAVE_SYS_TYPES_H 1 > 478 | #define HAVE_SYS_STAT_H 1 > 479 | #define HAVE_STDLIB_H 1 > 480 | #define HAVE_STRING_H 1 > 481 | #define HAVE_MEMORY_H 1 > 482 | #define HAVE_STRINGS_H 1 > 483 | #define HAVE_INTTYPES_H 1 > 484 | #define HAVE_STDINT_H 1 > 485 | #define HAVE_UNISTD_H 1 > 486 | #define HAVE_DLFCN_H 1 > 487 | #define LT_OBJDIR ".libs/" > 488 | #define HAVE_MREMAP 1 > 489 | #define HAVE_FFSL 1 > 490 | #define HAVE_GETOPT_LONG_ONLY 1 > 491 | #define HAVE_ISNAN 1 > 492 | #define HAVE_ISINF 1 > 493 | #define HAVE_GETOPT_H 1 > 494 | #define HAVE_STDINT_H 1 > 495 | #define HAVE_LIBBFD 1 > 496 | /* end confdefs.h. */ > 497 | > 498 | /* Override any GCC internal prototype to avoid an error. > 499 | Use char because int might match the return type of a GCC > 500 | builtin and then its argument prototype would still apply. */ > 501 | #ifdef __cplusplus > 502 | extern "C" > 503 | #endif > 504 | char compressBound (); > 505 | int > 506 | main () > 507 | { > 508 | return compressBound (); > 509 | ; > 510 | return 0; > 511 | } > 512 configure:9005: result: no > 513 configure:9018: checking for init_disassemble_info in -lopcodes > 514 configure:9043: gcc -o conftest -g -O2 conftest.c -lopcodes -lbfd >&5 > 515 configure:9043: $? = 0 > 516 configure:9052: result: yes > 517 configure:9070: error: binutils not found, see http://www.gnu.org/software/binutils/ > 518 Looks like it is missing a zlib devel package. The message should be more clear about it. In configure.ac it is failing in the chunk: AC_CHECK_LIB(z, compressBound, , [HAVE_Z="no"]) and just prints a generic message if zlib devel is not installed. Thanks! Paulo |
[Prev in Thread] | Current Thread | [Next in Thread] |