[Zlib-devel] zlib-1.2.4 build failure on NetBSD 5.0.2 IA-32

Vincent Torri vtorri at univ-evry.fr
Sat Mar 20 14:50:54 EDT 2010



On Sat, 20 Mar 2010, Mark Adler wrote:

> On Mar 17, 2010, at 10:19 AM, Nelson H. F. Beebe wrote:
>> The configure script for zlib-1.2.4 fails to run with native
>> sh on  NetBSD 5.0.2 IA-32:
>>
>> ./configure: 94: Syntax error: ";;" unexpected (expecting "fi")
>>
>> I was able to get a successful build and install by using
>>
>> 	bash ./configure
>
> Nelson,
>
> Yes, this has been a problem for many years.  I don't know how to fix the configure script for the old sh that that NetBSD system has.

if you still don't want to use the autotools and want to use a configure 
script, i would suggest that you look at the configure script of ffmpeg 
[1] or geexbox [2]. They are quite good and work on a lot of platforms.

Maybe you should do that for 1.2.5

Vincent Torri

[1] http://git.ffmpeg.org/?p=ffmpeg;a=blob_plain;f=configure;hb=HEAD
[2] http://hg.geexbox.org/libnfo/file/8f6237741f72/configure




More information about the Zlib-devel mailing list