[Zlib-devel] zlib 1.2.4 released

Volker Grabsch vog at notjusthosting.com
Fri Mar 12 15:03:49 EST 2010


Mark Adler <madler at alumni.caltech.edu> schrieb:
> On Mar 12, 2010, at 3:47 AM, Volker Grabsch wrote:
> > There is a bug in the "--static" option. While the "make install-libs"
> > tries to install shared libs only when they are really available,
> > the _dependencies_ of "install-libs" still require the *.so file to
> > be built.
> 
> Fixed.  Thanks.

Thanks, but the fix seems to be incomplete. Did you actually try it?

There appears to be a problem in Makefile.in, too, because there
are at least two commands which assume that $(SHAREDLIB) as well
as $(SHAREDLIBV) and $(STATICLIB) are always nonempty:

    install-lib: [...]
            [...]
            cd $(DESTDIR)$(libdir); chmod 755 $(SHAREDLIB) ; chmod u=rw,go=r $(STATICLIB)
            [...]
            cd $(DESTDIR)$(libdir); if test -f $(SHAREDLIBV); then \
              [...]

I tried the following test commands (as normal user, not root):

    ./configure --static
    make install DESTDIR=`pwd`/dest

The "make install" then throws a lot or errors as:

    cd /[...]/zlib-1.2.4/dest/usr/local/lib; chmod 755  ; chmod u=rw,go=r libz.a
    chmod: missing operand after `755'
    Try `chmod --help' for more information.
    cd /[...]/zlib-1.2.4/dest/usr/local/lib; if test -f ; then \
              [...] \
            fi
    ln: missing file operand
    Try `ln --help' for more information.
    ln: missing file operand
    Try `ln --help' for more information.
    [...]

The "make install" finally finishes without a fatal error, and
everything is installed. But these error messages in between are
very confusing. It would be great if these could be fixed before
the 1.2.4 release.


Greets,

    Volker

-- 
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR




More information about the Zlib-devel mailing list