[gull] libz(devel) ?? Quelqu'un connait ?

Gerome Fournier gerome.fournier at goelaan.ch
Thu Feb 10 09:42:03 CET 2005


Vu que tu as pris la peine de presenter ta question clairement,
ca merite une reponse, aussi incomplete soit-elle.

On Wed, Feb 09, 2005 at 02:17:29PM -0500, vkeller at bluewin.ch wrote:
> 
> J'aimerai installer un package quelconque (f3dformat) sous forme de RPM (dans
> le cadre d'un projet). Résultat: j'obtiens une erreur de dépendance:
> 
> erreur: Dépendances requises:
>         devel(libz) est nécessaire pour f3dformat-5.3-0
> 
> ...
> 
> La bibliothèque libz(devel) est-elle rattachée à la zlib ?

Quand ils mentionnent devel(libz), ils sous entendent zlib-devel
en fait. Extrait du README:

    Installation

    Requires:
    - the zlib package (http://www.gzip.org/zlib/)
    See details in the INSTALL file.

> Le problème est-il résolvable sur une Fedora ?

J'ai teste rapidement sur une FC3 (desole, pas de FC2 sous la
main), ca compile sans probleme. Je mets en attachement l'output
du configure + make, au cas ou cela puisse t'aider.

-- 
Gerome Fournier
-------------- next part --------------
# rpm -qa | grep zlib
zlib-devel-1.2.1.2-1
zlib-1.2.1.2-1


# cd f3dformat-5.3
# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... (cached) ranlib
checking for doxygen... yes
checking for inflateEnd in -lz... yes
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for short... yes
checking size of short... 2
checking for unsigned short... yes
checking size of unsigned short... 2
checking for int... yes
checking size of int... 4
checking for unsigned int... yes
checking size of unsigned int... 4
checking for long... yes
checking size of long... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking for error_at_line... yes
checking for re_comp... yes
checking for strdup... yes
checking for strrchr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating f3dformat.spec
config.status: creating admin/Makefile
config.status: creating msvc6/Makefile
config.status: creating doc/Makefile
config.status: creating doc/Doxyfile
config.status: creating include/Makefile
config.status: creating include/f3d.h
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands


# make
make  all-recursive
make[1]: Entering directory `/tmp/f3dformat-5.3'
Making all in admin
make[2]: Entering directory `/tmp/f3dformat-5.3/admin'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/f3dformat-5.3/admin'
Making all in doc
make[2]: Entering directory `/tmp/f3dformat-5.3/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/f3dformat-5.3/doc'
Making all in include
make[2]: Entering directory `/tmp/f3dformat-5.3/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/f3dformat-5.3/include'
Making all in src
make[2]: Entering directory `/tmp/f3dformat-5.3/src'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include    -g -O2 -c f3d.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -g -O2 -c f3d.c  -fPIC -DPIC -o .libs/f3d.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -g -O2 -c f3d.c -o f3d.o >/dev/null 2>&1
mv -f .libs/f3d.lo f3d.lo
/bin/sh ../libtool --mode=link gcc  -g -O2  -o libf3dformat.la -rpath /usr/local/lib -release 5 -version-info 3:0:3 f3d.lo  -lz 
rm -fr .libs/libf3dformat.la .libs/libf3dformat.* .libs/libf3dformat-5.*
gcc -shared  f3d.lo  -lz  -Wl,-soname -Wl,libf3dformat-5.so.0 -o .libs/libf3dformat-5.so.0.3.0
(cd .libs && rm -f libf3dformat-5.so.0 && ln -s libf3dformat-5.so.0.3.0 libf3dformat-5.so.0)
(cd .libs && rm -f libf3dformat.so && ln -s libf3dformat-5.so.0.3.0 libf3dformat.so)
ar cru .libs/libf3dformat.a  f3d.o 
ranlib .libs/libf3dformat.a
creating libf3dformat.la
(cd .libs && rm -f libf3dformat.la && ln -s ../libf3dformat.la libf3dformat.la)
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include    -g -O2 -c f3dtype.c
/bin/sh ../libtool --mode=link gcc  -g -O2  -o f3dtype  f3dtype.o ../src/libf3dformat.la -lz 
gcc -g -O2 -o .libs/f3dtype f3dtype.o  ../src/.libs/libf3dformat.so -lz -Wl,--rpath -Wl,/usr/local/lib
creating f3dtype
make[2]: Leaving directory `/tmp/f3dformat-5.3/src'
Making all in test
make[2]: Entering directory `/tmp/f3dformat-5.3/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/f3dformat-5.3/test'
Making all in msvc6
make[2]: Entering directory `/tmp/f3dformat-5.3/msvc6'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/f3dformat-5.3/msvc6'
make[2]: Entering directory `/tmp/f3dformat-5.3'
make[2]: Leaving directory `/tmp/f3dformat-5.3'
make[1]: Leaving directory `/tmp/f3dformat-5.3'


More information about the gull mailing list