[Zlib-devel] zlib 1.2.3.7 available for testing

Török Edwin edwintorok at gmail.com
Sun Jan 24 04:39:07 EST 2010


On 01/24/2010 10:40 AM, Mark Adler wrote:
> All,
>
> You can get it in the usual place:
>
>     http://zlib.net/current/beta/
>
> This is getting closer to a candidate for 1.2.4.  You can find the changes in ChangeLog.
>
> I believe that make_vms.com will need to be fixed for the removal of zlibdefs.h.
>   

Hi,

zlib-1.2.3.7 no longer builds with 'make' on FreeBSD and Solaris.
Everything is fine on Linux.

FreeBSD:
$ ./configure
$ make
make: don't know how to make objs/example.o. Stop

If I install the gmake package, and use gmake then it builds and runs fine.

Solaris:
$ ./configure
$ make
cc -fast -xcg92 -D_LARGEFILE64_SOURCE=1 -c -o objs/example.o example.c
ar rc libz.a
cc -fast -xcg92 -D_LARGEFILE64_SOURCE=1 -o example objs/example.o -L. libz.a
ld: fatal: file libz.a: open failed: No such file or directory

Using gmake instead of make works here too.


I think this is due to these GNU makeisms in the Makefile.in:
OBJS = $(addprefix $(objdir), $(OBJC) $(OBJA))
PIC_OBJS = $(addprefix $(picdir), $(OBJC) $(OBJA))

If you really want to drop support for *BSD/SunOS make, then please
mention in the documentation that
GNU make is required to build, and perhaps create a GNUmakefile from
GNUmakefile.in, and have Makefile just print a message
that GNU make is required.

Best regards,
--Edwin




More information about the Zlib-devel mailing list