Reputation: 602
I downloaded the latest release of the PCRE library from http://www.pcre.org, obtaining a tar.gz file. I'm using Ubuntu 12.04.1.
Then I use
gzip -d pcre-NN.tar.gz
tar xvf pcre-NN.tar
cd pcre-NN
./configure
make
and then I obtain this error
libtool: compile: unrecognized option `-DHAVE_CONFIG_H'
libtool: compile: Try `libtool --help' for more information.
make[1]: * [pcrecpp.lo] Error 1
Then i find out that libtool was not installed, and so
sudo apt-get install libtool
But even now, the make has the same error ...
How can I resolve?
Upvotes: 0
Views: 902
Reputation: 579
I would suggest doing. It installs all libraries needed to build pcre
apt-get build-dep libpcre3-dev
Upvotes: 1