Bug #1800

Cap'n Proto version test in configure is far too fragile

Added by Chris Cannam about 7 years ago. Updated about 7 years ago.

Status:ClosedStart date:2017-02-24
Priority:HighDue date:
Assignee:Chris Cannam% Done:

0%

Category:-
Target version:-

Description

Patrick Dupuis writes:

I am trying to build Sonic Visualiser beta 3 on Fedora 25. There seems to be a problem with Cap'n Proto (I built 0.6-dev from Git). Here is the what I get when I try and ./configure SV :

[...]

configure: checking specifically for a newer Cap'n Proto than the 0.5.3 release
checking for capnp... no
configure: Failed to find required module capnp using pkg-config, trying again by old-fashioned means
checking capnp/common.h usability... yes
checking capnp/common.h presence... yes
checking for capnp/common.h... yes
checking for _ZN5capnp29expectedSizeInWordsFromPrefixEN2kj8ArrayPtrIKNS_4wordEEE in -lcapnp... no
configure: error: Failed to find library capnp for required module capnp

The check I have in configure is dumb: improve it.

History

#1 Updated by Chris Cannam about 7 years ago

  • Status changed from New to Resolved

Fixed as of e86e23110e42, using AC_COMPILE_IFELSE instead.

#2 Updated by Chris Cannam about 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF