Hi
Am 22-07-2016 18:39, schrieb Dennis Jacobfeuerborn:
On 22.07.2016 17:43, Kuldip Madnani wrote:
I want to compile HAProxy version 1.6.7 for which i am using the
following
steps:
1. tar xzvf haproxy-1.6.7.tar.gz
2. make TARGET="generic" USE_STATIC_PCRE=1 USE_OPENSSL=1
USE_LIBCRYPT=1
USE_ZLIB=1
But getting this error:
$ make TARGET="generic" USE_STATIC_PCRE=1 USE_OPENSSL=1 USE_LIBCRYPT=1
USE_ZLIB=1
[snipp]
include/common/regex.h:31:18: fatal error: pcre.h: No such file or
directory
#include <pcre.h>
^
compilation terminated.
make: *** [src/haproxy.o] Error 1
Could anybody please help?
Try "yum install pcre-devel".
and openssl-devel gcc make zlib-devel readline-devel openssl tar
I use the following Dockerfile to build haproxy maybe this helps you
also.
https://github.com/git001/haproxy/blob/master/Dockerfile
cheers aleks