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
configure: line 17503: syntax error near unexpected token `ATOMIC_OPS' #69
Comments
As written in configure.ac: Note: "syntax error near unexpected token ATOMIC_OPS" reported by configuremeans Autotools pkg.m4 file was not found during aclocal.m4 generation.So, please check the installation of Autotools. Actually I added this comment after having this issue on my PC. (BTW If you download the release tarball then no need to run Autotools.) PS I will check "make -f Makefile.direct test" a bit later. |
I must note that the problem with the undefined references was only happening on Windows, sorry. Also, was very happy to see I could compile with CMake, that worked fine. |
I checked "make -f Makefile.direct test" on Cygwin - I cannot reproduce the issue. |
Hi I run into same problem. Even with installed autotools. I have clean playground with Docker on Debian Jessie. You can check what I am doing there and tell me what should I do? https://gist.github.com/schovi/6ba1ca8084619639383d7540ce61c649 Error is obviously
|
As written in configure.ac: Note: "syntax error near unexpected token ATOMIC_OPS" reported by configuremeans Autotools pkg.m4 file was not found during aclocal.m4 generation.So, please check the installation of Autotools. Actually I added this comment after having this issue on my PC. (BTW If you download the release tarball then no need to run Autotools.) If you know a better fix, please contribute. |
Sorry to bother, but maybe my question can help other newbies too. I'm hitting this bug trying to compile bdwgc on Bash on Ubuntu on Windows 10. I've been hitting errors and errors due to packages that weren't installed previously and things like that. I know no one has probably tested the project on this platform - I expect things to be broken, but want to make sure if they work or not, and try to help fixing if that helps. Anyways, what I've done:
And hit this bug. I read your note, and all I know to do to "check the installation of Autotools" is to run So I think I have Am I missing something? What could I check or do to go on with this? Thanks :) PS: the full log of the build is here: https://gist.github.com/matiasgarciaisaia/039593189c3bbe235a05d7135d2b9720 I'm hitting the same issue in a Ubuntu 14.04.1 LTS installation, also. |
This means that pkg.m4 file was not found. I don't know the proper fix. |
🎉 🎉 🎉 Nailed it! I didn't have that I've tried it, and wasn't installed - and Ubuntu suggested me to install either I'm not sure if you want to document that anywhere else - maybe this issue is enough. I'm letting the Crystal guys know, by the way. Thanks for your help! 😄 |
Documented in README.md - see c91eb28 |
This happens when I run
./configure
in Linux and Windows using Autoconf 2.69.This occurs on the master branch and on the 7.4.2 release.
I am able to get a makefile by using the
make -f Makefile.direct test
command, but when running make then it gives me:The text was updated successfully, but these errors were encountered: