Binaries for HAProxy.

2014-07-16 Thread Kuldip Madnani
Hi,

Where can i find the compiled binaries for haproxy.My system configuration
is this :

$ uname -a
Linux  2.6.32-279.22.1.el6.x86_64 #1 SMP Sun Jan 13 09:21:40 EST 2013
x86_64 x86_64 x86_64 GNU/Linux

Thanks & Regards,
Kuldip


Re: Binaries for HAProxy.

2014-07-16 Thread Mathew Levett
Hi Kuldip,

I think you may need to provide a little more information, it may be that
your Linux distribution may already have haproxy in their repository.
However the information supplied does not really show what your running.
Do you know the distribution name?

If its Debian then something like 'apt-get install haproxy' may be all you
need, RedHat based distros may use yum so 'yum install haproxy'.  however
its also not that hard to compile the latest version from source and is
well documented in the download file.

Usually on a list like this you need to supply as much information as
possible so the people here can help.

Kind Regards,

Mathew


On 16 July 2014 14:50, Kuldip Madnani  wrote:

> Hi,
>
> Where can i find the compiled binaries for haproxy.My system configuration
> is this :
>
> $ uname -a
> Linux  2.6.32-279.22.1.el6.x86_64 #1 SMP Sun Jan 13 09:21:40 EST 2013
> x86_64 x86_64 x86_64 GNU/Linux
>
> Thanks & Regards,
> Kuldip
>
>


Re: Binaries for HAProxy.

2014-07-16 Thread Kuldip Madnani
My Linux Distribution is :

Red Hat Enterprise Linux Server release 6.3 (Santiago)


On Wed, Jul 16, 2014 at 9:03 AM, Mathew Levett 
wrote:

> Hi Kuldip,
>
> I think you may need to provide a little more information, it may be that
> your Linux distribution may already have haproxy in their repository.
> However the information supplied does not really show what your running.
> Do you know the distribution name?
>
> If its Debian then something like 'apt-get install haproxy' may be all you
> need, RedHat based distros may use yum so 'yum install haproxy'.  however
> its also not that hard to compile the latest version from source and is
> well documented in the download file.
>
> Usually on a list like this you need to supply as much information as
> possible so the people here can help.
>
> Kind Regards,
>
> Mathew
>
>
> On 16 July 2014 14:50, Kuldip Madnani  wrote:
>
>> Hi,
>>
>> Where can i find the compiled binaries for haproxy.My system
>> configuration is this :
>>
>> $ uname -a
>> Linux  2.6.32-279.22.1.el6.x86_64 #1 SMP Sun Jan 13 09:21:40 EST 2013
>> x86_64 x86_64 x86_64 GNU/Linux
>>
>> Thanks & Regards,
>> Kuldip
>>
>>
>


Re: Binaries for HAProxy.

2014-07-16 Thread Kobus Bensch
Hi

I have built my own RPM with a spec file and it works great. I can share
the rpm if anybody is interested



Kobus Bensch

*Address:*
*Phone:*
*Email:*22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD
0207 871 3890
kobus.ben...@trustpayglobal.com




On 16 July 2014 15:07, Kuldip Madnani  wrote:

> My Linux Distribution is :
>
> Red Hat Enterprise Linux Server release 6.3 (Santiago)
>
>
> On Wed, Jul 16, 2014 at 9:03 AM, Mathew Levett 
> wrote:
>
>> Hi Kuldip,
>>
>> I think you may need to provide a little more information, it may be that
>> your Linux distribution may already have haproxy in their repository.
>> However the information supplied does not really show what your running.
>> Do you know the distribution name?
>>
>> If its Debian then something like 'apt-get install haproxy' may be all
>> you need, RedHat based distros may use yum so 'yum install haproxy'.
>> however its also not that hard to compile the latest version from source
>> and is well documented in the download file.
>>
>> Usually on a list like this you need to supply as much information as
>> possible so the people here can help.
>>
>> Kind Regards,
>>
>> Mathew
>>
>>
>> On 16 July 2014 14:50, Kuldip Madnani  wrote:
>>
>>> Hi,
>>>
>>> Where can i find the compiled binaries for haproxy.My system
>>> configuration is this :
>>>
>>> $ uname -a
>>> Linux  2.6.32-279.22.1.el6.x86_64 #1 SMP Sun Jan 13 09:21:40 EST 2013
>>> x86_64 x86_64 x86_64 GNU/Linux
>>>
>>> Thanks & Regards,
>>> Kuldip
>>>
>>>
>>
>

-- 


Trustpay Global Limited is an authorised Electronic Money Institution 
regulated by the Financial Conduct Authority registration number 900043. 
Company No 07427913 Registered in England and Wales with registered address 
130 Wood Street, London, EC2V 6DL, United Kingdom.

For further details please visit our website at www.trustpayglobal.com.

The information in this email and any attachments are confidential and 
remain the property of Trustpay Global Ltd unless agreed by contract. It is 
intended solely for the person to whom or the entity to which it is 
addressed. If you are not the intended recipient you may not use, disclose, 
copy, distribute, print or rely on the content of this email or its 
attachments. If this email has been received by you in error please advise 
the sender and delete the email from your system. Trustpay Global Ltd does 
not accept any liability for any personal view expressed in this message.


Re: Binaries for HAProxy.

2014-07-16 Thread Thomas Heil
Hi,


On 16.07.2014 16:07, Kuldip Madnani wrote:
> My Linux Distribution is : 
>
> Red Hat Enterprise Linux Server release 6.3 (Santiago)
>
As far as I know redhat or centos 6.x has only haproxy 1.4 packages in
his repo. You might want to use
my repo at http://nd-build-01.linux-appliance.net/repos/centos/haproxy/

Just put
http://nd-build-01.linux-appliance.net/repos/centos/haproxy/haproy-centos-6x.repo
under /etc/yum.repos.d/
and issue yum install haproxy.

After that you should have 1.5.2 on you box.

> On Wed, Jul 16, 2014 at 9:03 AM, Mathew Levett
> mailto:mat...@loadbalancer.org>> wrote:
>
> Hi Kuldip,
>
> I think you may need to provide a little more information, it may
> be that your Linux distribution may already have haproxy in their
> repository. However the information supplied does not really show
> what your running.  Do you know the distribution name?
>
> If its Debian then something like 'apt-get install haproxy' may be
> all you need, RedHat based distros may use yum so 'yum install
> haproxy'.  however its also not that hard to compile the latest
> version from source and is well documented in the download file.
>
> Usually on a list like this you need to supply as much information
> as possible so the people here can help.
>
> Kind Regards,
>
> Mathew
>
>
> On 16 July 2014 14:50, Kuldip Madnani  > wrote:
>
> Hi,
>
> Where can i find the compiled binaries for haproxy.My system
> configuration is this :
>
> $ uname -a
> Linux  2.6.32-279.22.1.el6.x86_64 #1 SMP Sun Jan 13 09:21:40
> EST 2013 x86_64 x86_64 x86_64 GNU/Linux
>
> Thanks & Regards,
> Kuldip
>
>
>
cheers,
thomas


Re: Binaries for HAProxy.

2014-07-16 Thread Thomas Heil
Hi,

On 16.07.2014 16:14, Kobus Bensch wrote:
> Hi
>
> I have built my own RPM with a spec file and it works great. I can
> share the rpm if anybody is interested
>
I would be interestet. Can you share your source rpm?
>
>
> Kobus Bensch
>
> *Address:*  
> *Phone:**
> **Email:* 22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD
> 0207 871 3890
> kobus.ben...@trustpayglobal.com 
>
>
>
>
>
> On 16 July 2014 15:07, Kuldip Madnani  > wrote:
>
> My Linux Distribution is : 
>
> Red Hat Enterprise Linux Server release 6.3 (Santiago)
>
>
> On Wed, Jul 16, 2014 at 9:03 AM, Mathew Levett
> mailto:mat...@loadbalancer.org>> wrote:
>
> Hi Kuldip,
>
> I think you may need to provide a little more information, it
> may be that your Linux distribution may already have haproxy
> in their repository. However the information supplied does not
> really show what your running.  Do you know the distribution
> name?
>
> If its Debian then something like 'apt-get install haproxy'
> may be all you need, RedHat based distros may use yum so 'yum
> install haproxy'.  however its also not that hard to compile
> the latest version from source and is well documented in the
> download file.
>
> Usually on a list like this you need to supply as much
> information as possible so the people here can help.
>
> Kind Regards,
>
> Mathew
>
>
> On 16 July 2014 14:50, Kuldip Madnani  > wrote:
>
> Hi,
>
> Where can i find the compiled binaries for haproxy.My
> system configuration is this :
>
> $ uname -a
> Linux  2.6.32-279.22.1.el6.x86_64 #1 SMP Sun Jan 13
> 09:21:40 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
>
> Thanks & Regards,
> Kuldip
>
>
>
>
>
> Trustpay Global Limited is an authorised Electronic Money Institution
> regulated by the Financial Conduct Authority registration number
> 900043. Company No 07427913 Registered in England and Wales with
> registered address 130 Wood Street, London, EC2V 6DL, United Kingdom.
>
> For further details please visit our website at www.trustpayglobal.com
> .
>
> The information in this email and any attachments are confidential and
> remain the property of Trustpay Global Ltd unless agreed by contract.
> It is intended solely for the person to whom or the entity to which it
> is addressed. If you are not the intended recipient you may not use,
> disclose, copy, distribute, print or rely on the content of this email
> or its attachments. If this email has been received by you in error
> please advise the sender and delete the email from your system.
> Trustpay Global Ltd does not accept any liability for any personal
> view expressed in this message.
>

cheers,
thomas


Re: Binaries for HAProxy.

2014-07-16 Thread Mathew Levett
Hello Kuldip,

Ok in that case you can probably use the following command to install the
binary.

yum install haproxy

however this may be an older 1.4 version, if you want to build the latest
version you can use the guide here and simply skip over the
Transparent/T_Proxy part.

http://blog.loadbalancer.org/setting-up-haproxy-with-transparent-mode-on-centos-6-x/




On 16 July 2014 15:14, Kobus Bensch  wrote:

> Hi
>
> I have built my own RPM with a spec file and it works great. I can share
> the rpm if anybody is interested
>
>
>
> Kobus Bensch
>
> *Address:*
> *Phone:*
> *Email:*22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD
> 0207 871 3890
> kobus.ben...@trustpayglobal.com
>
>
>
>
> On 16 July 2014 15:07, Kuldip Madnani  wrote:
>
>> My Linux Distribution is :
>>
>> Red Hat Enterprise Linux Server release 6.3 (Santiago)
>>
>>
>> On Wed, Jul 16, 2014 at 9:03 AM, Mathew Levett 
>> wrote:
>>
>>> Hi Kuldip,
>>>
>>> I think you may need to provide a little more information, it may be
>>> that your Linux distribution may already have haproxy in their repository.
>>> However the information supplied does not really show what your running.
>>> Do you know the distribution name?
>>>
>>> If its Debian then something like 'apt-get install haproxy' may be all
>>> you need, RedHat based distros may use yum so 'yum install haproxy'.
>>> however its also not that hard to compile the latest version from source
>>> and is well documented in the download file.
>>>
>>> Usually on a list like this you need to supply as much information as
>>> possible so the people here can help.
>>>
>>> Kind Regards,
>>>
>>> Mathew
>>>
>>>
>>> On 16 July 2014 14:50, Kuldip Madnani  wrote:
>>>
 Hi,

 Where can i find the compiled binaries for haproxy.My system
 configuration is this :

 $ uname -a
 Linux  2.6.32-279.22.1.el6.x86_64 #1 SMP Sun Jan 13 09:21:40 EST 2013
 x86_64 x86_64 x86_64 GNU/Linux

 Thanks & Regards,
 Kuldip


>>>
>>
>
> Trustpay Global Limited is an authorised Electronic Money Institution
> regulated by the Financial Conduct Authority registration number 900043.
> Company No 07427913 Registered in England and Wales with registered address
> 130 Wood Street, London, EC2V 6DL, United Kingdom.
>
> For further details please visit our website at www.trustpayglobal.com.
>
> The information in this email and any attachments are confidential and
> remain the property of Trustpay Global Ltd unless agreed by contract. It is
> intended solely for the person to whom or the entity to which it is
> addressed. If you are not the intended recipient you may not use, disclose,
> copy, distribute, print or rely on the content of this email or its
> attachments. If this email has been received by you in error please advise
> the sender and delete the email from your system. Trustpay Global Ltd does
> not accept any liability for any personal view expressed in this message.
>



-- 
-- 
With Kind Regards.

Mathew Levett
Loadbalancer.org
http://www.loadbalancer.org
Tel (UK) - +44 (0) 3303801064 (24x7)
Tel (US) - +1 888.867.9504 (Toll Free)(24x7)


Re: Binaries for HAProxy.

2014-07-16 Thread Ryan O'Hara
On Wed, Jul 16, 2014 at 09:07:48AM -0500, Kuldip Madnani wrote:
> My Linux Distribution is :
> 
> Red Hat Enterprise Linux Server release 6.3 (Santiago)

HAProxy is not included in RHEL 6.3. You will need RHEL 6.4 with Load
Balancer AddOn or RHEL7.

Ryan

> On Wed, Jul 16, 2014 at 9:03 AM, Mathew Levett 
> wrote:
> 
> > Hi Kuldip,
> >
> > I think you may need to provide a little more information, it may be that
> > your Linux distribution may already have haproxy in their repository.
> > However the information supplied does not really show what your running.
> > Do you know the distribution name?
> >
> > If its Debian then something like 'apt-get install haproxy' may be all you
> > need, RedHat based distros may use yum so 'yum install haproxy'.  however
> > its also not that hard to compile the latest version from source and is
> > well documented in the download file.
> >
> > Usually on a list like this you need to supply as much information as
> > possible so the people here can help.
> >
> > Kind Regards,
> >
> > Mathew
> >
> >
> > On 16 July 2014 14:50, Kuldip Madnani  wrote:
> >
> >> Hi,
> >>
> >> Where can i find the compiled binaries for haproxy.My system
> >> configuration is this :
> >>
> >> $ uname -a
> >> Linux  2.6.32-279.22.1.el6.x86_64 #1 SMP Sun Jan 13 09:21:40 EST 2013
> >> x86_64 x86_64 x86_64 GNU/Linux
> >>
> >> Thanks & Regards,
> >> Kuldip
> >>
> >>
> >



Re: Binaries for HAProxy.

2014-07-16 Thread Kuldip Madnani
Thanks Ryan/Mathew.

I was trying to compile HAProxy 1.5.2 with SSL support on my box but was
facing below error.Am i missing some pre requisites.Could anybody help:
Step 1 : tar xzvf haproxy-1.5.2.tar.gz

Step 2 : cd haproxy-1.5.2

Step 3 : make TARGET=linux2628 USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1

gcc -Iinclude -Iebtree -Wall  -O2 -g -fno-strict-aliasing
-DCONFIG_HAP_LINUX_SPLICE -DTPROXY -DCONFIG_HAP_LINUX_TPROXY
-DCONFIG_HAP_CRYPT -DUSE_ZLIB  -DENABLE_POLL -DENABLE_EPOLL
-DUSE_CPU_AFFINITY -DASSUME_SPLICE_WORKS -DUSE_ACCEPT4 -DNETFILTER
-DUSE_GETSOCKNAME -DUSE_OPENSSL  -DUSE_SYSCALL_FUTEX -DUSE_PCRE
-I/usr/local/include  -DCONFIG_HAPROXY_VERSION=\"1.5.2\"
-DCONFIG_HAPROXY_DATE=\"2014/07/12\" \
  -DBUILD_TARGET='"linux2628"' \
  -DBUILD_ARCH='""' \
  -DBUILD_CPU='"generic"' \
  -DBUILD_CC='"gcc"' \
  -DBUILD_CFLAGS='"-O2 -g -fno-strict-aliasing"' \
  -DBUILD_OPTIONS='"USE_ZLIB=1 USE_OPENSSL=1 USE_PCRE=1"' \
   -c -o src/haproxy.o src/haproxy.c
In file included from include/types/proxy.h:34,
 from include/proto/log.h:32,
 from include/common/cfgparse.h:29,
 from src/haproxy.c:61:
include/common/regex.h:30:18: error: pcre.h: No such file or directory
include/common/regex.h:31:23: error: pcreposix.h: No such file or directory
In file included from include/types/proxy.h:34,
 from include/proto/log.h:32,
 from include/common/cfgparse.h:29,
 from src/haproxy.c:61:
include/common/regex.h:38: error: expected specifier-qualifier-list before
âpcreâ
include/common/regex.h:67: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âpmatchâ
include/common/regex.h:80: warning: type defaults to âintâ in declaration
of âregmatch_tâ
include/common/regex.h:80: error: expected â;â, â,â or â)â before â*â token
include/common/regex.h: In function âregex_execâ:
include/common/regex.h:89: warning: implicit declaration of function
âpcre_execâ
include/common/regex.h:89: error: âconst struct my_regexâ has no member
named âregâ
include/common/regex.h:89: error: âconst struct my_regexâ has no member
named âextraâ
include/common/regex.h: In function âregex_exec2â:
include/common/regex.h:109: error: âconst struct my_regexâ has no member
named âregâ
include/common/regex.h:109: error: âconst struct my_regexâ has no member
named âextraâ
include/common/regex.h: At top level:
include/common/regex.h:125: error: expected declaration specifiers or â...â
before âregmatch_tâ
include/common/regex.h:127: error: expected declaration specifiers or â...â
before âregmatch_tâ
include/common/regex.h: In function âregex_freeâ:
include/common/regex.h:131: warning: implicit declaration of function
âpcre_freeâ
include/common/regex.h:131: error: âstruct my_regexâ has no member named
âregâ
In file included from include/types/acl.h:33,
 from include/types/proxy.h:40,
 from include/proto/log.h:32,
 from include/common/cfgparse.h:29,
 from src/haproxy.c:61:
include/types/server.h:29:25: error: openssl/ssl.h: No such file or
directory
In file included from include/types/connection.h:30,
 from include/types/server.h:36,
 from include/types/acl.h:33,
 from include/types/proxy.h:40,
 from include/proto/log.h:32,
 from include/common/cfgparse.h:29,
 from src/haproxy.c:61:
include/types/listener.h: At top level:
include/types/listener.h:127: error: expected specifier-qualifier-list
before âSSL_CTXâ
In file included from include/types/session.h:35,
 from include/types/queue.h:29,
 from include/types/server.h:41,
 from include/types/acl.h:33,
 from include/types/proxy.h:40,
 from include/proto/log.h:32,
 from include/common/cfgparse.h:29,
 from src/haproxy.c:61:
include/types/compression.h:28:18: error: zlib.h: No such file or directory
In file included from include/types/session.h:35,
 from include/types/queue.h:29,
 from include/types/server.h:41,
 from include/types/acl.h:33,
 from include/types/proxy.h:40,
 from include/proto/log.h:32,
 from include/common/cfgparse.h:29,
 from src/haproxy.c:61:
include/types/compression.h:40: error: expected specifier-qualifier-list
before âz_streamâ
In file included from include/types/acl.h:33,
 from include/types/proxy.h:40,
 from include/proto/log.h:32,
 from include/common/cfgparse.h:29,
 from src/haproxy.c:61:
include/types/server.h:207: error: expected specifier-qualifier-list before
âSSL_CTXâ
In file included from src/haproxy.c:90:
include/proto/listener.h: In function âbind_conf_allocâ:
include/pro

Re: Binaries for HAProxy.

2014-07-16 Thread Peter M Souter
I've made a custom RPM I've been using for version 1.5.1 and I've hosted it
here:

https://bitbucket.org/PeteMS/haproxy-rpm-vagrant/downloads

I adapted the spec from https://github.com/nmilford/rpm-haproxy


On Wed, Jul 16, 2014 at 3:18 PM, Ryan O'Hara  wrote:

> On Wed, Jul 16, 2014 at 09:07:48AM -0500, Kuldip Madnani wrote:
> > My Linux Distribution is :
> >
> > Red Hat Enterprise Linux Server release 6.3 (Santiago)
>
> HAProxy is not included in RHEL 6.3. You will need RHEL 6.4 with Load
> Balancer AddOn or RHEL7.
>
> Ryan
>
> > On Wed, Jul 16, 2014 at 9:03 AM, Mathew Levett 
> > wrote:
> >
> > > Hi Kuldip,
> > >
> > > I think you may need to provide a little more information, it may be
> that
> > > your Linux distribution may already have haproxy in their repository.
> > > However the information supplied does not really show what your
> running.
> > > Do you know the distribution name?
> > >
> > > If its Debian then something like 'apt-get install haproxy' may be all
> you
> > > need, RedHat based distros may use yum so 'yum install haproxy'.
>  however
> > > its also not that hard to compile the latest version from source and is
> > > well documented in the download file.
> > >
> > > Usually on a list like this you need to supply as much information as
> > > possible so the people here can help.
> > >
> > > Kind Regards,
> > >
> > > Mathew
> > >
> > >
> > > On 16 July 2014 14:50, Kuldip Madnani  wrote:
> > >
> > >> Hi,
> > >>
> > >> Where can i find the compiled binaries for haproxy.My system
> > >> configuration is this :
> > >>
> > >> $ uname -a
> > >> Linux  2.6.32-279.22.1.el6.x86_64 #1 SMP Sun Jan 13 09:21:40 EST 2013
> > >> x86_64 x86_64 x86_64 GNU/Linux
> > >>
> > >> Thanks & Regards,
> > >> Kuldip
> > >>
> > >>
> > >
>
>


Re: Binaries for HAProxy.

2014-07-16 Thread Ryan O'Hara
On Wed, Jul 16, 2014 at 09:22:46AM -0500, Kuldip Madnani wrote:
> Thanks Ryan/Mathew.
> 
> I was trying to compile HAProxy 1.5.2 with SSL support on my box but was
> facing below error.Am i missing some pre requisites.Could anybody help:
> Step 1 : tar xzvf haproxy-1.5.2.tar.gz
> 
> Step 2 : cd haproxy-1.5.2
> 
> Step 3 : make TARGET=linux2628 USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1

You need devel packages if you are building from source. Install
openssl-devel, zlib-devel and pcre-devel.

Ryan


> gcc -Iinclude -Iebtree -Wall  -O2 -g -fno-strict-aliasing
> -DCONFIG_HAP_LINUX_SPLICE -DTPROXY -DCONFIG_HAP_LINUX_TPROXY
> -DCONFIG_HAP_CRYPT -DUSE_ZLIB  -DENABLE_POLL -DENABLE_EPOLL
> -DUSE_CPU_AFFINITY -DASSUME_SPLICE_WORKS -DUSE_ACCEPT4 -DNETFILTER
> -DUSE_GETSOCKNAME -DUSE_OPENSSL  -DUSE_SYSCALL_FUTEX -DUSE_PCRE
> -I/usr/local/include  -DCONFIG_HAPROXY_VERSION=\"1.5.2\"
> -DCONFIG_HAPROXY_DATE=\"2014/07/12\" \
>   -DBUILD_TARGET='"linux2628"' \
>   -DBUILD_ARCH='""' \
>   -DBUILD_CPU='"generic"' \
>   -DBUILD_CC='"gcc"' \
>   -DBUILD_CFLAGS='"-O2 -g -fno-strict-aliasing"' \
>   -DBUILD_OPTIONS='"USE_ZLIB=1 USE_OPENSSL=1 USE_PCRE=1"' \
>-c -o src/haproxy.o src/haproxy.c
> In file included from include/types/proxy.h:34,
>  from include/proto/log.h:32,
>  from include/common/cfgparse.h:29,
>  from src/haproxy.c:61:
> include/common/regex.h:30:18: error: pcre.h: No such file or directory
> include/common/regex.h:31:23: error: pcreposix.h: No such file or directory
> In file included from include/types/proxy.h:34,
>  from include/proto/log.h:32,
>  from include/common/cfgparse.h:29,
>  from src/haproxy.c:61:
> include/common/regex.h:38: error: expected specifier-qualifier-list before
> âpcreâ
> include/common/regex.h:67: error: expected â=â, â,â, â;â, âasmâ or
> â__attribute__â before âpmatchâ
> include/common/regex.h:80: warning: type defaults to âintâ in declaration
> of âregmatch_tâ
> include/common/regex.h:80: error: expected â;â, â,â or â)â before â*â token
> include/common/regex.h: In function âregex_execâ:
> include/common/regex.h:89: warning: implicit declaration of function
> âpcre_execâ
> include/common/regex.h:89: error: âconst struct my_regexâ has no member
> named âregâ
> include/common/regex.h:89: error: âconst struct my_regexâ has no member
> named âextraâ
> include/common/regex.h: In function âregex_exec2â:
> include/common/regex.h:109: error: âconst struct my_regexâ has no member
> named âregâ
> include/common/regex.h:109: error: âconst struct my_regexâ has no member
> named âextraâ
> include/common/regex.h: At top level:
> include/common/regex.h:125: error: expected declaration specifiers or â...â
> before âregmatch_tâ
> include/common/regex.h:127: error: expected declaration specifiers or â...â
> before âregmatch_tâ
> include/common/regex.h: In function âregex_freeâ:
> include/common/regex.h:131: warning: implicit declaration of function
> âpcre_freeâ
> include/common/regex.h:131: error: âstruct my_regexâ has no member named
> âregâ
> In file included from include/types/acl.h:33,
>  from include/types/proxy.h:40,
>  from include/proto/log.h:32,
>  from include/common/cfgparse.h:29,
>  from src/haproxy.c:61:
> include/types/server.h:29:25: error: openssl/ssl.h: No such file or
> directory
> In file included from include/types/connection.h:30,
>  from include/types/server.h:36,
>  from include/types/acl.h:33,
>  from include/types/proxy.h:40,
>  from include/proto/log.h:32,
>  from include/common/cfgparse.h:29,
>  from src/haproxy.c:61:
> include/types/listener.h: At top level:
> include/types/listener.h:127: error: expected specifier-qualifier-list
> before âSSL_CTXâ
> In file included from include/types/session.h:35,
>  from include/types/queue.h:29,
>  from include/types/server.h:41,
>  from include/types/acl.h:33,
>  from include/types/proxy.h:40,
>  from include/proto/log.h:32,
>  from include/common/cfgparse.h:29,
>  from src/haproxy.c:61:
> include/types/compression.h:28:18: error: zlib.h: No such file or directory
> In file included from include/types/session.h:35,
>  from include/types/queue.h:29,
>  from include/types/server.h:41,
>  from include/types/acl.h:33,
>  from include/types/proxy.h:40,
>  from include/proto/log.h:32,
>  from include/common/cfgparse.h:29,
>  from src/haproxy.c:61:
> include/types/compression.h:40: error: expected specifier-qualifier-list
> before âz_streamâ
> In file included from include/types/acl.h:33,
>  

Re: Binaries for HAProxy.

2014-07-16 Thread Peter M Souter
> I was trying to compile HAProxy 1.5.2 with SSL support on my box but was
facing below error.Am i missing some pre requisites.Could anybody help:

Pre-reqs are:

sudo yum -y install pcre-devel gcc make openssl-devel


Taken from https://github.com/nmilford/rpm-haproxy

On Wed, Jul 16, 2014 at 3:22 PM, Kuldip Madnani 
wrote:

> Thanks Ryan/Mathew.
>
>
> Step 1 : tar xzvf haproxy-1.5.2.tar.gz
>
> Step 2 : cd haproxy-1.5.2
>
> Step 3 : make TARGET=linux2628 USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1
>
> gcc -Iinclude -Iebtree -Wall  -O2 -g -fno-strict-aliasing
> -DCONFIG_HAP_LINUX_SPLICE -DTPROXY -DCONFIG_HAP_LINUX_TPROXY
> -DCONFIG_HAP_CRYPT -DUSE_ZLIB  -DENABLE_POLL -DENABLE_EPOLL
> -DUSE_CPU_AFFINITY -DASSUME_SPLICE_WORKS -DUSE_ACCEPT4 -DNETFILTER
> -DUSE_GETSOCKNAME -DUSE_OPENSSL  -DUSE_SYSCALL_FUTEX -DUSE_PCRE
> -I/usr/local/include  -DCONFIG_HAPROXY_VERSION=\"1.5.2\"
> -DCONFIG_HAPROXY_DATE=\"2014/07/12\" \
>   -DBUILD_TARGET='"linux2628"' \
>   -DBUILD_ARCH='""' \
>   -DBUILD_CPU='"generic"' \
>   -DBUILD_CC='"gcc"' \
>   -DBUILD_CFLAGS='"-O2 -g -fno-strict-aliasing"' \
>   -DBUILD_OPTIONS='"USE_ZLIB=1 USE_OPENSSL=1 USE_PCRE=1"' \
>-c -o src/haproxy.o src/haproxy.c
> In file included from include/types/proxy.h:34,
>  from include/proto/log.h:32,
>  from include/common/cfgparse.h:29,
>  from src/haproxy.c:61:
> include/common/regex.h:30:18: error: pcre.h: No such file or directory
> include/common/regex.h:31:23: error: pcreposix.h: No such file or directory
> In file included from include/types/proxy.h:34,
>  from include/proto/log.h:32,
>  from include/common/cfgparse.h:29,
>  from src/haproxy.c:61:
> include/common/regex.h:38: error: expected specifier-qualifier-list before
> âpcreâ
> include/common/regex.h:67: error: expected â=â, â,â, â;â, âasmâ or
> â__attribute__â before âpmatchâ
> include/common/regex.h:80: warning: type defaults to âintâ in declaration
> of âregmatch_tâ
> include/common/regex.h:80: error: expected â;â, â,â or â)â before â*â token
> include/common/regex.h: In function âregex_execâ:
> include/common/regex.h:89: warning: implicit declaration of function
> âpcre_execâ
> include/common/regex.h:89: error: âconst struct my_regexâ has no member
> named âregâ
> include/common/regex.h:89: error: âconst struct my_regexâ has no member
> named âextraâ
> include/common/regex.h: In function âregex_exec2â:
> include/common/regex.h:109: error: âconst struct my_regexâ has no member
> named âregâ
> include/common/regex.h:109: error: âconst struct my_regexâ has no member
> named âextraâ
> include/common/regex.h: At top level:
> include/common/regex.h:125: error: expected declaration specifiers or
> â...â before âregmatch_tâ
> include/common/regex.h:127: error: expected declaration specifiers or
> â...â before âregmatch_tâ
> include/common/regex.h: In function âregex_freeâ:
> include/common/regex.h:131: warning: implicit declaration of function
> âpcre_freeâ
> include/common/regex.h:131: error: âstruct my_regexâ has no member named
> âregâ
> In file included from include/types/acl.h:33,
>  from include/types/proxy.h:40,
>  from include/proto/log.h:32,
>  from include/common/cfgparse.h:29,
>  from src/haproxy.c:61:
> include/types/server.h:29:25: error: openssl/ssl.h: No such file or
> directory
> In file included from include/types/connection.h:30,
>  from include/types/server.h:36,
>  from include/types/acl.h:33,
>  from include/types/proxy.h:40,
>  from include/proto/log.h:32,
>  from include/common/cfgparse.h:29,
>  from src/haproxy.c:61:
> include/types/listener.h: At top level:
> include/types/listener.h:127: error: expected specifier-qualifier-list
> before âSSL_CTXâ
> In file included from include/types/session.h:35,
>  from include/types/queue.h:29,
>  from include/types/server.h:41,
>  from include/types/acl.h:33,
>  from include/types/proxy.h:40,
>  from include/proto/log.h:32,
>  from include/common/cfgparse.h:29,
>  from src/haproxy.c:61:
> include/types/compression.h:28:18: error: zlib.h: No such file or directory
> In file included from include/types/session.h:35,
>  from include/types/queue.h:29,
>  from include/types/server.h:41,
>  from include/types/acl.h:33,
>  from include/types/proxy.h:40,
>  from include/proto/log.h:32,
>  from include/common/cfgparse.h:29,
>  from src/haproxy.c:61:
> include/types/compression.h:40: error: expected specifier-qualifier-list
> before âz_streamâ
> In file included from include/types/acl.h:33,
>  

Re: Binaries for HAProxy.

2014-07-16 Thread Kobus Bensch
I just downloaded the standard source off haproxy website


Kobus Bensch

*Address:*
*Phone:*
*Email:*22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD
0207 871 3890
kobus.ben...@trustpayglobal.com




On 16 July 2014 15:18, Thomas Heil  wrote:

>  Hi,
>
> On 16.07.2014 16:14, Kobus Bensch wrote:
>
>  Hi
>
>  I have built my own RPM with a spec file and it works great. I can share
> the rpm if anybody is interested
>
>  I would be interestet. Can you share your source rpm?
>
>
>
> Kobus Bensch
>
>   *Address:*
> *Phone:*
> *Email:* 22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD
> 0207 871 3890
> kobus.ben...@trustpayglobal.com
>
>
>
>
> On 16 July 2014 15:07, Kuldip Madnani  wrote:
>
>> My Linux Distribution is :
>>
>>  Red Hat Enterprise Linux Server release 6.3 (Santiago)
>>
>>
>> On Wed, Jul 16, 2014 at 9:03 AM, Mathew Levett 
>> wrote:
>>
>>>   Hi Kuldip,
>>>
>>>  I think you may need to provide a little more information, it may be
>>> that your Linux distribution may already have haproxy in their repository.
>>> However the information supplied does not really show what your running.
>>> Do you know the distribution name?
>>>
>>>  If its Debian then something like 'apt-get install haproxy' may be all
>>> you need, RedHat based distros may use yum so 'yum install haproxy'.
>>> however its also not that hard to compile the latest version from source
>>> and is well documented in the download file.
>>>
>>>  Usually on a list like this you need to supply as much information as
>>> possible so the people here can help.
>>>
>>>  Kind Regards,
>>>
>>> Mathew
>>>
>>>
>>>  On 16 July 2014 14:50, Kuldip Madnani  wrote:
>>>
 Hi,

  Where can i find the compiled binaries for haproxy.My system
 configuration is this :

  $ uname -a
 Linux  2.6.32-279.22.1.el6.x86_64 #1 SMP Sun Jan 13 09:21:40 EST 2013
 x86_64 x86_64 x86_64 GNU/Linux

  Thanks & Regards,
 Kuldip


>>>
>>
>
> Trustpay Global Limited is an authorised Electronic Money Institution
> regulated by the Financial Conduct Authority registration number 900043.
> Company No 07427913 Registered in England and Wales with registered address
> 130 Wood Street, London, EC2V 6DL, United Kingdom.
>
> For further details please visit our website at www.trustpayglobal.com.
>
> The information in this email and any attachments are confidential and
> remain the property of Trustpay Global Ltd unless agreed by contract. It is
> intended solely for the person to whom or the entity to which it is
> addressed. If you are not the intended recipient you may not use, disclose,
> copy, distribute, print or rely on the content of this email or its
> attachments. If this email has been received by you in error please advise
> the sender and delete the email from your system. Trustpay Global Ltd does
> not accept any liability for any personal view expressed in this message.
>
>
> cheers,
> thomas
>

-- 


Trustpay Global Limited is an authorised Electronic Money Institution 
regulated by the Financial Conduct Authority registration number 900043. 
Company No 07427913 Registered in England and Wales with registered address 
130 Wood Street, London, EC2V 6DL, United Kingdom.

For further details please visit our website at www.trustpayglobal.com.

The information in this email and any attachments are confidential and 
remain the property of Trustpay Global Ltd unless agreed by contract. It is 
intended solely for the person to whom or the entity to which it is 
addressed. If you are not the intended recipient you may not use, disclose, 
copy, distribute, print or rely on the content of this email or its 
attachments. If this email has been received by you in error please advise 
the sender and delete the email from your system. Trustpay Global Ltd does 
not accept any liability for any personal view expressed in this message.


Re: Binaries for HAProxy.

2014-07-16 Thread Ghislain




Just put 
http://nd-build-01.linux-appliance.net/repos/centos/haproxy/haproy-centos-6x.repo 
under /etc/yum.repos.d/

and issue yum install haproxy.


of course you do trust the security of your entire server on  this repo 
? before doing that just be sure of what this implies :)


there is no issue on trusting someone but remember that you trust this 
someone to install software as root on your server and update the 
package when new version comes.


 Do a minimum homework before authorizing repos. I do trust the debian 
team for backported 1.5 haproxy package but nevertheless i asked here if 
they were legit , verified what i could and limited the  package i 
accept from the repo to a minimum just in case. I think the same goes on 
for centOS/Redhat repos, do chack the source and if not sure build 
yourself  if there is no official sources.



regards,
Ghislain.



Re: Binaries for HAProxy.

2014-07-16 Thread Neil - HAProxy List
And lets not do too much to dampen any pressure to get haproxy 1.5 into
rhel7 and ubuntu1404

Neil
On 16 Jul 2014 16:12, "Ghislain"  wrote:

>
>
>> Just put http://nd-build-01.linux-appliance.net/repos/centos/
>> haproxy/haproy-centos-6x.repo under /etc/yum.repos.d/
>> and issue yum install haproxy.
>>
>
> of course you do trust the security of your entire server on  this repo ?
> before doing that just be sure of what this implies :)
>
> there is no issue on trusting someone but remember that you trust this
> someone to install software as root on your server and update the package
> when new version comes.
>
>  Do a minimum homework before authorizing repos. I do trust the debian
> team for backported 1.5 haproxy package but nevertheless i asked here if
> they were legit , verified what i could and limited the  package i accept
> from the repo to a minimum just in case. I think the same goes on for
> centOS/Redhat repos, do chack the source and if not sure build yourself  if
> there is no official sources.
>
>
> regards,
> Ghislain.
>
>


Re: Binaries for HAProxy.

2014-07-16 Thread Kuldip Madnani
Thanks Ryan/Peter.

I installed the required devel packages and the compilation went fine but i
could see a message at the bottom(skipping incompatible
/usr/lib/libcrypt.so when searching for -lcrypt) .Is it severe or can be
ignored?

gcc  -g -o haproxy src/haproxy.o src/sessionhash.o src/base64.o
src/protocol.o src/uri_auth.o src/standard.o src/buffer.o src/log.o
src/task.o src/chunk.o src/channel.o src/listener.o src/time.o src/fd.o
src/pipe.o src/regex.o src/cfgparse.o src/server.o src/checks.o src/queue.o
src/frontend.o src/proxy.o src/peers.o src/arg.o src/stick_table.o
src/proto_uxst.o src/connection.o src/proto_http.o src/raw_sock.o
src/appsession.o src/backend.o src/lb_chash.o src/lb_fwlc.o src/lb_fwrr.o
src/lb_map.o src/lb_fas.o src/stream_interface.o src/dumpstats.o
src/proto_tcp.o src/session.o src/hdr_idx.o src/ev_select.o src/signal.o
src/acl.o src/sample.o src/memory.o src/freq_ctr.o src/auth.o
src/compression.o src/payload.o src/hash.o src/pattern.o src/map.o
src/ev_poll.o src/ev_epoll.o src/ssl_sock.o src/shctx.o ebtree/ebtree.o
ebtree/eb32tree.o ebtree/eb64tree.o ebtree/ebmbtree.o ebtree/ebsttree.o
ebtree/ebimtree.o ebtree/ebistree.o   -lcrypt  -lz  -lssl -lcrypto
-L/usr/lib -lpcreposix -lpcre
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for
-lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
gcc -Iinclude -Iebtree -Wall  -O2 -g -fno-strict-aliasing
-DCONFIG_HAP_LINUX_SPLICE -DTPROXY -DCONFIG_HAP_LINUX_TPROXY
-DCONFIG_HAP_CRYPT -DUSE_ZLIB  -DENABLE_POLL -DENABLE_EPOLL
-DUSE_CPU_AFFINITY -DASSUME_SPLICE_WORKS -DUSE_ACCEPT4 -DNETFILTER
-DUSE_GETSOCKNAME -DUSE_OPENSSL  -DUSE_SYSCALL_FUTEX -DUSE_PCRE
-I/usr/include  -DCONFIG_HAPROXY_VERSION=\"1.5.2\"
-DCONFIG_HAPROXY_DATE=\"2014/07/12\" \
  -DSBINDIR='"/usr/local/sbin"' \
   -c -o src/haproxy-systemd-wrapper.o
src/haproxy-systemd-wrapper.c
gcc  -g -o haproxy-systemd-wrapper src/haproxy-systemd-wrapper.o   -lcrypt
 -lz  -lssl -lcrypto -L/usr/lib -lpcreposix -lpcre
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for
-lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc



On Wed, Jul 16, 2014 at 9:27 AM, Peter M Souter  wrote:

> > I was trying to compile HAProxy 1.5.2 with SSL support on my box but was
> facing below error.Am i missing some pre requisites.Could anybody help:
>
> Pre-reqs are:
>
> sudo yum -y install pcre-devel gcc make openssl-devel
>
>
> Taken from https://github.com/nmilford/rpm-haproxy
>
> On Wed, Jul 16, 2014 at 3:22 PM, Kuldip Madnani 
> wrote:
>
>> Thanks Ryan/Mathew.
>>
>>
>> Step 1 : tar xzvf haproxy-1.5.2.tar.gz
>>
>> Step 2 : cd haproxy-1.5.2
>>
>> Step 3 : make TARGET=linux2628 USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1
>>
>> gcc -Iinclude -Iebtree -Wall  -O2 -g -fno-strict-aliasing
>> -DCONFIG_HAP_LINUX_SPLICE -DTPROXY -DCONFIG_HAP_LINUX_TPROXY
>> -DCONFIG_HAP_CRYPT -DUSE_ZLIB  -DENABLE_POLL -DENABLE_EPOLL
>> -DUSE_CPU_AFFINITY -DASSUME_SPLICE_WORKS -DUSE_ACCEPT4 -DNETFILTER
>> -DUSE_GETSOCKNAME -DUSE_OPENSSL  -DUSE_SYSCALL_FUTEX -DUSE_PCRE
>> -I/usr/local/include  -DCONFIG_HAPROXY_VERSION=\"1.5.2\"
>> -DCONFIG_HAPROXY_DATE=\"2014/07/12\" \
>>   -DBUILD_TARGET='"linux2628"' \
>>   -DBUILD_ARCH='""' \
>>   -DBUILD_CPU='"generic"' \
>>   -DBUILD_CC='"gcc"' \
>>   -DBUILD_CFLAGS='"-O2 -g -fno-strict-aliasing"' \
>>   -DBUILD_OPTIONS='"USE_ZLIB=1 USE_OPENSSL=1 USE_PCRE=1"' \
>>-c -o src/haproxy.o src/haproxy.c
>> In file included from include/types/proxy.h:34,
>>  from include/proto/log.h:32,
>>  from include/common/cfgparse.h:29,
>>  from src/haproxy.c:61:
>> include/common/regex.h:30:18: error: pcre.h: No such file or directory
>> include/common/regex.h:31:23: error: pcreposix.h: No such file or
>> directory
>> In file included from include/types/proxy.h:34,
>>  from include/proto/log.h:32,
>>  from include/common/cfgparse.h:29,
>>  from src/haproxy.c:61:
>> include/common/regex.h:38: error: expected specifier-qualifier-list
>> before âpcreâ
>> include/common/regex.h:67: error: expected â=â, â,â, â;â, âasmâ or
>> â__attribute__â before âpmatchâ
>> include/common/regex.h:80: warning: type defaults to âintâ in declaration
>> of âregmatch_tâ
>> include/common/regex.h:80: error: expected â;â, â,â or â)â before â*â
>> token
>> include/common/regex.h: In function âregex_execâ:
>> include/common/regex.h:89: warning: implicit declaration of function
>> âpcre_execâ
>> include/common/regex.h:89: error: âconst struct my_regexâ has no member
>> named âregâ
>> include/common/regex.h:89: error: âconst struct my_regexâ has no member
>> named âextraâ
>> include/common/regex.h: In function âregex_exec2â:
>> include/common/regex.h:109: error: âconst struct my_regexâ has no member
>> named âregâ
>> include/common/regex.h:109: error: