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: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-04 16:59 GMT-03:00 Lukas Tribus <[email protected]>: > 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 > > > Ok, the lib is there. Please: > > - use current code, get dev22 from http://haproxy.1wt.eu/ > - use the generic makefile, not the BSD one, try: > make TARGET=openbsd CPU=native USE_ZLIB=1 > - try to force the path, which is probably (otherwise lookup the header > files, your already found .a file): > make TARGET=openbsd CPU=native USE_ZLIB=1 ZLIB_INC=/usr/include > ZLIB_LIB=/usr/lib > - if it still doesn't work, post the full make process somewhere > > > > Regards, > > Lukas -- Atte Jorge Severino Numero movil Personal: 08-7775834

