configure: error: Missing required libcurl dev >= 7.18.2

Error in CentOS


configure: error: Missing required libcurl dev >= 7.18.2
[[email protected] cgminer]# yum install libcurl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.mirror.nexicom.net
* epel: ftp.osuosl.org
* extras: centos.mirror.nexicom.net
* updates: centos.mirror.nexicom.net
Setting up Install Process
Package libcurl-7.19.7-37.el6_4.x86_64 already installed and latest version
Nothing to do

You have the newer version of libcurl, but it still showing errors.
I guess it need libcurl-devel.

So, it could be solved like this

Solved


yum install curl-devel

configure.ac:94: error: possibly undefined macro: AC_DEFINE

Error in CentOS

configure.ac:94: error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:125: error: possibly undefined macro: AC_MSG_ERROR
autoreconf: /usr/bin/autoconf failed with exit status: 1
Configuring...
configure: error: cannot find install-sh or install.sh in "." "./.." "./../.."

Solved

yum install pkgconfig

configure.ac:39: error: possibly undefined macro: AC_PROG_LIBTOOL

Error in CentOS


[[email protected] cgminer]# ./autogen.sh
configure.ac:39: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
Configuring...
./autogen.sh: line 10: /root/cgminer/configure: No such file or directory

Solve


yum install libtool