RE: Compile ZLIB in OpenBSD 5.4

2014-09-27 Thread Lukas Tribus
> At the end, i have compiled Haproxy in OpenBSD 5.4 with SSL > > .- Haproxy 1.5.4 > .- install gmake and gcc from ports and compile with gmake USE_SSL > > All Ok, thanks Thats the correct thing todo, yes. BSD and OSX makefiles have since been removed, because they lacked all the new

Re: Compile ZLIB in OpenBSD 5.4

2014-09-26 Thread Jorge Severino
At the end, i have compiled Haproxy in OpenBSD 5.4 with SSL .- Haproxy 1.5.4 .- install gmake and gcc from ports and compile with gmake USE_SSL All Ok, thanks 2014-04-04 11:47 GMT-03:00 Jorge Severino : > Hello: > > I tried the enable ZLIB Compression in OpenBSD 5.4 amd64 but not work: > >

RE: Compile ZLIB in OpenBSD 5.4

2014-04-13 Thread Lukas Tribus
> Looks like there are currently multiple issues in the build system when > using openbsd. > > Go back do dev19, install gmake and compile with: > $ gmake TARGET=openbsd CPU=native USE_ZLIB=1 Actually, you can stick to dev22 as long as you use gmake instead of make. The issue that caused the buil

RE: Compile ZLIB in OpenBSD 5.4

2014-04-12 Thread Lukas Tribus
Hi, > Hello. > > Sorry for my little problem. > > My workstation is linux centos. > I edit Makefile.bsd direct with vi in openbsd. > > Maybe makefile.bsd corrupt in dev22, in dev19 no problem for compile. > > I will Tomorrow install gmake. Looks like there are currently multiple issues in the bu

RE: Compile ZLIB in OpenBSD 5.4

2014-04-12 Thread Jorge Severino
Hello. Sorry for my little problem. My workstation is linux centos. I edit Makefile.bsd direct with vi in openbsd. Maybe makefile.bsd corrupt in dev22, in dev19 no problem for compile. I will Tomorrow install gmake. Haproxy is a production system. El 12/04/2014 07:01, "Lukas Tribus" escribió

RE: Compile ZLIB in OpenBSD 5.4

2014-04-12 Thread Lukas Tribus
Hi Jorge, > I changed line 72 for include -lz > > root@haproxy01 $ make -f Makefile.bsd USE_ZLIB=1 > gcc -Wall -Iinclude -Iebtree -O2 -DENABLE_POLL -DENABLE_KQUEUE > -fno-strict-aliasing -DBUFSIZE=8030 -DMAXREWRITE=1030 > -DSYSTEM_MAXCONN=1024 -DCONFIG_HAPROXY_VERSION=\"1.5-dev22-1a34d57 \" > -DC

RE: Compile ZLIB in OpenBSD 5.4

2014-04-07 Thread Lukas Tribus
Hi, > The same error, i add -lz in ADDLIB the Makefile.bsd and run: > > root@haproxy01 $ make Makefile.bsd USE_ZLIB=1 Wrong command, you are missing the "-f". And yes, GNU make would work with the default makefile. Regards, Lukas

Re: Compile ZLIB in OpenBSD 5.4

2014-04-07 Thread Jorge Severino
If install gmake for compile in openbsd, i work? 2014-04-07 12:34 GMT-03:00 Jorge Severino : > The same error, i add -lz in ADDLIB the Makefile.bsd and run: > > root@haproxy01 $ make Makefile.bsd > USE_ZLIB=1 > *** Parse error in /tmp/haproxy-1.5-dev22: Missing dependency operator > (Makefile:2

Re: Compile ZLIB in OpenBSD 5.4

2014-04-07 Thread Jorge Severino
The same error, i add -lz in ADDLIB the Makefile.bsd and run: root@haproxy01 $ make Makefile.bsd USE_ZLIB=1 *** Parse error in /tmp/haproxy-1.5-dev22: Missing dependency operator (Makefile:202) *** Parse error: Need an operator in 'else' (Makefile:206) *** Parse error: Missing dependency operator

RE: Compile ZLIB in OpenBSD 5.4

2014-04-05 Thread Lukas Tribus
> You should use bsd make with Makefile.bsd provided in HAProxy source > archive or git. Problem is bsd and osx Makefiles don't support USE flags, so they can't be used to enable zlib, ssl, etc. If using GNU make is not an option, add -lz to ADDLIB in Makefile.bsd (72nd line): ADDLIB = -lz and t

Re: Compile ZLIB in OpenBSD 5.4

2014-04-05 Thread Jorge Severino
What is a option for enable zlib in makefile.bsd? El 05/04/2014 09:26, "Baptiste" escribió: > You should use bsd make with Makefile.bsd provided in HAProxy source > archive or git. > > Baptiste > > On Sat, Apr 5, 2014 at 1:43 AM, William Lallemand > wrote: > > On Fri, 4 Apr 2014 18:36:10 -0300

Re: Compile ZLIB in OpenBSD 5.4

2014-04-05 Thread Baptiste
You should use bsd make with Makefile.bsd provided in HAProxy source archive or git. Baptiste On Sat, Apr 5, 2014 at 1:43 AM, William Lallemand wrote: > On Fri, 4 Apr 2014 18:36:10 -0300 > Jorge Severino wrote: > >> root@haproxy01 $ make TARGET=openbsd CPU=native USE_ZLIB=1 >> ZLIB_INC=/usr/inc

Re: Compile ZLIB in OpenBSD 5.4

2014-04-04 Thread William Lallemand
On Fri, 4 Apr 2014 18:36:10 -0300 Jorge Severino wrote: > root@haproxy01 $ make TARGET=openbsd CPU=native USE_ZLIB=1 > ZLIB_INC=/usr/include ZLIB_LIB=/usr/lib > *** Parse error in /tmp/haproxy-1.5-dev22: Missing dependency operator > (Makefile:202) > *** Parse error: Need an operator in 'else' (M

Re: Compile ZLIB in OpenBSD 5.4

2014-04-04 Thread Jorge Severino
root@haproxy01 $ make TARGET=openbsd CPU=native USE_ZLIB=1 ZLIB_INC=/usr/include ZLIB_LIB=/usr/lib *** Parse error in /tmp/haproxy-1.5-dev22: Missing dependency operator (Makefile:202) *** Parse error: Need an operator in 'else' (Makefile:206) *** Parse error: Missing dependency operator (Makefile:

RE: Compile ZLIB in OpenBSD 5.4

2014-04-04 Thread Lukas Tribus
Hi, > In OpenBSD library is libZ? > > I have in /usr/lib > > root@haproxy01 $ ls -l /usr/lib/libz* > -r--r--r--  1 root  bin  296850 Jul 30  2013 /usr/lib/libz.a > -r--r--r--  1 root  bin  201378 Jul 30  2013 /usr/lib/libz.so.4.1 > -r--r--r--  1 root  bin  305920 Jul 30  2013 /usr/lib/libz_p.a

Re: Compile ZLIB in OpenBSD 5.4

2014-04-04 Thread Jorge Severino
GMT-03:00 Lukas Tribus : > Hi Jorge, > > > > Date: Fri, 4 Apr 2014 12:53:26 -0300 > > Subject: Re: Compile ZLIB in OpenBSD 5.4 > > From: severino.jo...@gmail.com > > > > haproxy not support ZLIB in OpenBSD? > > No, I don't think this is intentiona

RE: Compile ZLIB in OpenBSD 5.4

2014-04-04 Thread Lukas Tribus
Hi Jorge, > Date: Fri, 4 Apr 2014 12:53:26 -0300 > Subject: Re: Compile ZLIB in OpenBSD 5.4 > From: severino.jo...@gmail.com > > haproxy not support ZLIB in OpenBSD? No, I don't think this is intentional. Please try with current code, if it still doesn't work,

RE: Compile ZLIB in OpenBSD 5.4

2014-04-04 Thread Lukas Tribus
Hi, > I tried the enable ZLIB Compression in OpenBSD 5.4 amd64 but not work:  >  > root@haproxy01 $ ./haproxy -vv  > HA-Proxy version 1.5-dev19 2013/06/17  Please try recent code (latest snapshot preferably). But I suspect the bsd makefile doesn't implement zlib. Regards, Lukas