Menu

#3508 configure is incomplete

closed-fixed
Build
1
2023-12-13
2022-10-22
Felix
No

First, on a system without g++, I get

$ ../configure
[..]
checking for treedec/combinations.hpp... no
configure: treedec library missing, falling back to Thorup.
checking for gala/graph.h... no
checking for boost/graph/adjacency_list.hpp... no
configure: error: boost library not found (boost/graph/adjacency_list.hpp).

config.log reveals that the error is misleading
[..]
configure:5777: result: no
configure:5786: checking for boost/graph/adjacency_list.hpp
configure:5786: g++ -c conftest.cpp >&5
../configure: line 1728: g++: command not found
configure:5786: $? = 127

Perhaps configure should report the missing C++ compiler instead.

Second, during compilation on a system withuot libz-dev, I get
./../../../support/sdbinutils/bfd/compress.c:22:10: fatal error: zlib.h: No such file or directory
22 | #include <zlib.h></zlib.h>

Perhaps configure should report missing zlib instead.

Related

Bugs: #3183

Discussion

  • Tom Li

    Tom Li - 2022-10-23

    Can confirm. The project needs zlib but the configure script does not check it, making it possible for the build to fail half way.

     
  • Philipp Klaus Krause

    • status: open --> closed-fixed
    • assigned_to: Philipp Klaus Krause
    • Category: other --> Build
     
  • Philipp Klaus Krause

    Fixed in [r14532] via the change proposed by Steve Schnepp in [bugs:#3671].

     

    Related

    Bugs: #3671
    Commit: [r14532]


Log in to post a comment.