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

Syntax Error on LIBCURL_CHECK_CONFIG #85

Closed
godofgrunts opened this issue Oct 1, 2014 · 7 comments
Closed

Syntax Error on LIBCURL_CHECK_CONFIG #85

godofgrunts opened this issue Oct 1, 2014 · 7 comments

Comments

@godofgrunts
Copy link

uname -a
Linux 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Steps to reproduce:

git clone https://github.com/pooler/cpuminer.git
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"

./configure: line 5609: syntax error near unexpected token ,' ./configure: line 5609:LIBCURL_CHECK_CONFIG(, 7.15.2, ,'

In configure:

5609:LIBCURL_CHECK_CONFIG(, 7.15.2, ,
5610: AC_MSG_ERROR([Missing required libcurl >= 7.15.2]))

@pooler
Copy link
Owner

pooler commented Oct 1, 2014

You need the development package for libcurl, did you install it? If not, try with libcurl4-openssl-dev.

@godofgrunts
Copy link
Author

Yes, sorry I should have mentioned that.

Just to check, I tried to reinstall

libcurl4-openssl-dev is already the newest version.
libcurl4-openssl-dev:amd64/trusty-security 7.35.0-1ubuntu2.1 uptodate

@pooler
Copy link
Owner

pooler commented Oct 1, 2014

What version of Ubuntu are you on?
It is possible that your libcurl-dev package is missing libcurl.m4.
At any rate, you should have no problem building cpuminer from the latest tarball rather than from the git repo.

@godofgrunts
Copy link
Author

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

http://packages.ubuntu.com/trusty/amd64/libcurl4-openssl-dev/filelist

libcurl.m4 is located in /usr/share/aclocal (confirmed on my system as well)

I'll try the tarball

@pooler
Copy link
Owner

pooler commented Oct 1, 2014

Did you (re)run autogen.sh after installing libcurl-dev?

@godofgrunts
Copy link
Author

I installed libcurl-dev before the git clone.

Just to be sure, deleted the and recloned. Same error.

Tarball did work however.

@godofgrunts
Copy link
Author

Strange. I rebooted and tried again and it worked...

I don't know what that fixed but it's working now. I did have some updates this morning, but I didn't really think anything of it.

Closing ticket.

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