If install gmake for compile in openbsd, i work?
2014-04-07 12:34 GMT-03:00 Jorge Severino <severino.jo...@gmail.com>: > 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 (Makefile:207) > *** Parse error: Need an operator in 'else' (Makefile:213) > *** Parse error: Missing dependency operator (Makefile:214) > *** Parse error: Need an operator in 'else' (Makefile:221) > *** Parse error: Missing dependency operator (Makefile:222) > *** Parse error: Need an operator in 'else' (Makefile:231) > *** Parse error: Missing dependency operator (Makefile:232) > *** Parse error: Need an operator in 'else' (Makefile:241) > *** Parse error: Missing dependency operator (Makefile:242) > *** Parse error: Need an operator in 'else' (Makefile:256) > *** Parse error: Missing dependency operator (Makefile:257) > *** Parse error: Need an operator in 'else' (Makefile:267) > *** Parse error: Missing dependency operator (Makefile:268) > *** Parse error: Need an operator in 'else' (Makefile:274) > *** Parse error: Missing dependency operator (Makefile:275) > *** Parse error: Need an operator in 'else' (Makefile:281) > *** Parse error: Missing dependency operator (Makefile:282) > *** Parse error: Need an operator in 'else' (Makefile:287) > *** Parse error: Missing dependency operator (Makefile:288) > *** Parse error: Need an operator in 'else' (Makefile:294) > *** Parse error: Missing dependency operator (Makefile:295) > *** Parse error: Missing dependency operator (Makefile:301) > *** Parse error: Missing dependency operator (Makefile:302) > *** Parse error: Missing dependency operator (Makefile:303) > *** Parse error: Missing dependency operator (Makefile:304) > *** Parse error: Missing dependency operator (Makefile:305) > *** Parse error: Missing dependency operator (Makefile:306) > *** Parse error: Missing dependency operator (Makefile:307) > *** Parse error: Missing dependency operator (Makefile:308) > *** Parse error: Missing dependency operator (Makefile:309) > *** Parse error: Missing dependency operator (Makefile:310) > *** Parse error: Missing dependency operator (Makefile:311) > *** Parse error: Missing dependency operator (Makefile:312) > *** Parse error: Missing dependency operator (Makefile:323) > *** Parse error: Need an operator in '' (Makefile:325) > *** Parse error: Need an operator in 'endif' (Makefile:326) > *** Parse error: Missing dependency operator (Makefile:328) > *** Parse error: Need an operator in '' (Makefile:330) > *** Parse error: Need an operator in 'endif' (Makefile:331) > *** Parse error: Missing dependency operator (Makefile:334) > *** Parse error: Need an operator in '' (Makefile:336) > *** Parse error: Need an operator in 'endif' (Makefile:337) > *** Parse error: Missing dependency operator (Makefile:345) > *** Parse error: Need an operator in ',)' (Makefile:347) > Bad modifier: %ci | cut -f1 -d' ' | tr '-' '/') > *** Parse error: Need an operator in 'endif' (Makefile:351) > *** Parse error: Need an operator in 'endif' (Makefile:352) > *** Parse error: Need an operator in ',)' (Makefile:355) > *** Parse error: Need an operator in 'endif' (Makefile:357) > *** Parse error: Need an operator in ',)' (Makefile:358) > *** Parse error: Need an operator in 'endif' (Makefile:360) > Bad modifier: %ci | cut -f1 -d' ' | tr '-' '/') > *** Parse error: Missing dependency operator (Makefile:361) > *** Parse error: Need an operator in 'endif' (Makefile:363) > *** Parse error: Missing dependency operator (Makefile:381) > *** Parse error: Need an operator in '' (Makefile:382) > *** Parse error: Need an operator in 'endif' (Makefile:383) > *** Parse error: Missing dependency operator (Makefile:385) > *** Parse error: Need an operator in 'endif' (Makefile:388) > *** Parse error: Missing dependency operator (Makefile:390) > *** Parse error: Need an operator in 'endif' (Makefile:394) > *** Parse error: Missing dependency operator (Makefile:396) > *** Parse error: Need an operator in 'endif' (Makefile:399) > *** Parse error: Missing dependency operator (Makefile:401) > *** Parse error: Need an operator in 'endif' (Makefile:404) > *** Parse error: Missing dependency operator (Makefile:406) > *** Parse error: Need an operator in 'endif' (Makefile:410) > *** Parse error: Missing dependency operator (Makefile:412) > *** Parse error: Need an operator in 'endif' (Makefile:415) > *** Parse error: Missing dependency operator (Makefile:417) > *** Parse error: Need an operator in 'endif' (Makefile:420) > *** Parse error: Missing dependency operator (Makefile:422) > *** Parse error: Need an operator in 'endif' (Makefile:429) > *** Parse error: Missing dependency operator (Makefile:431) > *** Parse error: Need an operator in 'endif' (Makefile:435) > *** Parse error: Missing dependency operator (Makefile:437) > *** Parse error: Need an operator in 'endif' (Makefile:441) > *** Parse error: Missing dependency operator (Makefile:443) > *** Parse error: Need an operator in 'endif' (Makefile:446) > *** Parse error: Missing dependency operator (Makefile:448) > *** Parse error: Need an operator in 'endif' (Makefile:452) > *** Parse error: Missing dependency operator (Makefile:454) > *** Parse error: Need an operator in 'endif' (Makefile:458) > *** Parse error: Missing dependency operator (Makefile:460) > *** Parse error: Need an operator in 'endif' (Makefile:463) > *** Parse error: Missing dependency operator (Makefile:465) > *** Parse error: Need an operator in 'endif' (Makefile:468) > *** Parse error: Missing dependency operator (Makefile:470) > *** Parse error: Need an operator in 'endif' (Makefile:473) > *** Parse error: Missing dependency operator (Makefile:475) > *** Parse error: Need an operator in 'endif' (Makefile:478) > *** Parse error: Missing dependency operator (Makefile:480) > *** Parse error: Need an operator in 'endif' (Makefile:483) > *** Parse error: Missing dependency operator (Makefile:485) > *** Parse error: Need an operator in 'endif' (Makefile:488) > *** Parse error: Missing dependency operator (Makefile:490) > *** Parse error: Need an operator in 'endif' (Makefile:493) > *** Parse error: Missing dependency operator (Makefile:495) > *** Parse error: Need an operator in 'endif' (Makefile:498) > *** Parse error: Missing dependency operator (Makefile:501) > *** Parse error: Need an operator in 'endif' (Makefile:503) > *** Parse error: Missing dependency operator (Makefile:505) > *** Parse error: Missing dependency operator (Makefile:507) > *** Parse error: Need an operator in 'endif' (Makefile:509) > *** Parse error: Need an operator in 'endif' (Makefile:510) > *** Parse error: Missing dependency operator (Makefile:512) > *** Parse error: Need an operator in 'endif' (Makefile:516) > *** Parse error: Missing dependency operator (Makefile:518) > *** Parse error: Missing dependency operator (Makefile:528) > *** Parse error: Need an operator in 'else' (Makefile:530) > *** Parse error: Missing dependency operator (Makefile:531) > *** Parse error: Need an operator in 'else' (Makefile:533) > *** Parse error: Need an operator in 'endif' (Makefile:535) > *** Parse error: Need an operator in 'endif' (Makefile:536) > *** Parse error: Need an operator in 'endif' (Makefile:537) > *** Parse error: Missing dependency operator (Makefile:539) > *** Parse error: Missing dependency operator (Makefile:548) > *** Parse error: Need an operator in 'endif' (Makefile:551) > *** Parse error: Missing dependency operator (Makefile:553) > *** Parse error: Need an operator in 'else' (Makefile:558) > *** Parse error: Need an operator in 'endif' (Makefile:563) > *** Parse error: Missing dependency operator (Makefile:565) > *** Parse error: Need an operator in 'endif' (Makefile:568) > *** Parse error: Need an operator in 'endif' (Makefile:569) > *** Parse error: Missing dependency operator (Makefile:572) > *** Parse error: Need an operator in 'endif' (Makefile:575) > *** Parse error: Need an operator in ',)' (Makefile:586) > *** Parse error: Need an operator in 'endif' (Makefile:588) > *** Parse error: Need an operator in ',)' (Makefile:590) > *** Parse error: Need an operator in 'endif' (Makefile:592) > *** Parse error: Missing dependency operator (Makefile:594) > *** Parse error: Need an operator in 'endif' (Makefile:598) > *** Parse error: Missing dependency operator (Makefile:605) > *** Parse error: Need an operator in 'else' (Makefile:625) > *** Parse error: Need an operator in 'endif' (Makefile:627) > *** Parse error: Missing dependency operator (Makefile:647) > *** Parse error: Need an operator in 'endif' (Makefile:649) > root@haproxy01 $ > > > > 2014-04-05 14:26 GMT-03:00 Lukas Tribus <luky...@hotmail.com>: > > > 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 then compile with the USE flag (so that you workaround the #ifdefs): >> make -f Makefile.bsd USE_ZLIB=1 >> >> >> Thats should make it work. >> >> >> >> Regards, >> >> Lukas > > > > > -- > Atte > Jorge Severino > Numero movil Personal: 08-7775834 > -- Atte Jorge Severino Numero movil Personal: 08-7775834