fpylll
fpylll copied to clipboard
unexpected token `LIBQD,'
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?
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
I find this problem only happens on Ubuntu <=18.04, the library works very well on Ubuntu 20.24.
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.