jgarzik / cpuminer

CPU miner for bitcoin
Other
956 stars 2.35k forks source link

Can't install - ./configure fails with "Missing required libcurl >= 7.10.1" #11

Closed davidboy closed 13 years ago

davidboy commented 13 years ago

I got the 0.8.1 tarball, extracted it, cd into the directory, and ran "CFLAGS="-03 -Wall -msse2" ./configure

It echos:

checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc needs -traditional... no checking whether gcc and cc understand -c and -o together... yes checking for ranlib... ranlib checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for working alloca.h... yes checking for alloca... yes checking for json_loads in -ljansson... no checking for pthread_create in -lpthread... yes checking for yasm... /usr/bin/yasm checking if yasm version is greater than 1.0.1... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gawk... (cached) mawk checking for curl-config... no checking whether libcurl is usable... no configure: error: Missing required libcurl >= 7.10.1 it@ubuntu:~/Downloads/cpuminer-0.8.1$ CFLAGE="-03 -Wall -msse2" ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc needs -traditional... no checking whether gcc and cc understand -c and -o together... yes checking for ranlib... ranlib checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for working alloca.h... yes checking for alloca... yes checking for json_loads in -ljansson... no checking for pthread_create in -lpthread... yes checking for yasm... /usr/bin/yasm checking if yasm version is greater than 1.0.1... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gawk... (cached) mawk checking for curl-config... no checking whether libcurl is usable... no configure: error: Missing required libcurl >= 7.10.1

and then exits. I'm pretty sure that my computer has libcurl3 7.21.0 installed. I'm on Ubuntu 10.10, if it helps. Would appriciate any pointers you could give on how to get it working. Thanks!

jgarzik commented 13 years ago

"checking for curl-config... no"

Your libcurl install is missing libcurl development setup, or is otherwise somehow broken.

davidboy commented 13 years ago

Is there anything I should do to set it up for development other than installing libcurl3 in synaptic? How should I go about figuring out what's broken?

davidboy commented 13 years ago

derp .. nevermind. I didn't have the curl header files. feels stupid ;)

zzeroo commented 13 years ago

On my 11.04 ubuntu box i've solved it via: sudo aptitude install libcurl4-gnutls-dev

julio899 commented 10 years ago

zzeroo Thanks solved in Elementary Os " sudo aptitude install libcurl4-gnutls-dev "

ch3ney commented 8 years ago

thks

ilia2s commented 5 years ago

look for lib path at debian packages website at files section and run before configure export LIBCURL_LIBS=-L/path/to/libfile export LIBCURL_CFLAGS=-I/path/to/include/dir