[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-team] libz?



je n arrive pas à compiler gnome-lib
qd je fais ./configure:
...
checking for grantpt in -lpt... no
checking for inflate in -lz... no
checking for compress in -lz... no
configure: error:
*** Incorrect libz version found.  Please make sure you do not have
*** an outdated libz.a or libz.so hiding in your X11 distribution or
*** elsewhere on your system.  Versions of libz with the compress and
*** uncompress symbols are sufficiently rencet to build GNOME.
vincent@galaxie:/tmp/gnome-libs-1.0.8 >

puis j ai pris libz.tar.gz et je sais pas quoi faire avec

vincent@galaxie:/tmp/libz > ls
Makefile.dist  a.out          etcetera       newctime.3     tzfile.5
Makefile.real  asctime.c      europe         northamerica   tzfile.h
Original.head  asia           gen            pacificnew     zdump.8
Patchlevel.h   australasia    ialloc.c       scheck.c       zdump.c
README         c.c            localtime.c    solar87        zic.8
README.MMDF    ctime.c        mkdir.c        systemv        zic.c
Theory         dysize.c       newctime.0     timemk.c

voila le README

vincent@galaxie:/tmp/libz > more README
@(#)README      3.1

Please send comments or information to
        seismo!elsie!tz
for forwarding to folks interested in time zone matters.

Be sure to read the comments in "Makefile" and make any changes
needed to make things right for your system.

This version of the time zone software uses a new format
(based on the work of Guy Harris, a.k.a guy@sun.UUCP)
for the time zone information files.  They are now stored by default in a
directory named "/etc/zoneinfo" rather than "/etc/tzdir" or "/etc/timezones"
as before.  If you've already compiled programs with older time zone software,
just leave the "/etc/tzdir" and/or "/etc/timezones" files around until you
have a chance to recompile.

For better compatability with other versions of time conversion functions,
the time zone abbreviation to be used with localtime's return value is now
pointed to by one of the two elements of the (char *) array tzname, rather
than by the (char *) tz_abbr.  If you have code that uses tz_abbr, add a
        -DTZA_COMPAT
to the end of the
        CFLAGS=
line in "Makefile".

To use the new functions, use a "-lz" option when compiling or linking.

Historical local time information has been included here not because it
is particularly useful, but rather to:

*       give an idea of the variety of local time rules that have
        existed in the past and thus an idea of the variety that may be
        expected in the future;

*       provide a test of the generality of the local time rule description
        system.

The information in the time zone data files is by no means authoritative;
if you know that the rules are different from those in a file, by all means
feel free to change file (and please send the changed version to seismo!elsie!tz
for use in the future).  Europeans take note!