fpylll icon indicating copy to clipboard operation
fpylll copied to clipboard

unexpected token `LIBQD,'

Open LunaLuan9555 opened this issue 11 months ago • 3 comments

I'm using aotumatic installation, and when configuring the the fplll module, an error occurs like this:

./configure: line 17501: syntax error near unexpected token 'LIBQD,' ./configure: line 17501: 'PKG_CHECK_MODULES(LIBQD, qd, have_libqd="yes",' make: *** No rule to make target 'clean'. Stop. ... Making fplll failed.

I searched through the configure file for fplll and find a variable LIBQD_LIBS but no LIBQD, is there anything wrong?

LunaLuan9555 avatar Mar 26 '24 03:03 LunaLuan9555

I temporarily avoid this issue by deleting line 107-130 in configure.ac of fplll lib, and then manually copy the modified fplll lib into fpylll folder instead of using git in install-dependencies.sh

LunaLuan9555 avatar Mar 26 '24 11:03 LunaLuan9555

I find this problem only happens on Ubuntu <=18.04, the library works very well on Ubuntu 20.24.

LunaLuan9555 avatar Mar 31 '24 08:03 LunaLuan9555

I think the error here is misleading: PKG_CHECK_MODULES should have been expanded to code by autotools, but wasn't. Please try to install pkgconfig and libtool if they aren't already installed. Then run autoreconf -i -f and then try configure again.

cr-marcstevens avatar Mar 31 '24 09:03 cr-marcstevens