[Zlib-devel] zlib-1.2.4.3: configure script fails on NetBSD 5.0.2 IA-32

Nelson H. F. Beebe beebe at math.utah.edu
Mon Apr 12 17:27:43 EDT 2010


The zlib-1.2.4.3 configure script fails on NetBSD 5.0.2 IA-32:

% env CC=gcc CXX=g++ LDFLAGS=-Wl,-rpath,/usr/local/lib  ./configure
./configure: 143: Syntax error: ";;" unexpected (expecting "fi")

Using bash instead of /bin/sh produces a successful build and test:

% env CC=gcc CXX=g++ LDFLAGS=-Wl,-rpath,/usr/local/lib bash ./configure

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe at math.utah.edu  -
- 155 S 1400 E RM 233                       beebe at acm.org  beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------




More information about the Zlib-devel mailing list