Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected token `LIBQD,' #271

Open
LunaLuan9555 opened this issue Mar 26, 2024 · 3 comments
Open

unexpected token `LIBQD,' #271

LunaLuan9555 opened this issue Mar 26, 2024 · 3 comments

Comments

@LunaLuan9555
Copy link

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
Copy link
Author

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
Copy link
Author

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

@cr-marcstevens
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants