[Gambas-user] ubuntu 12.04 error with libvtkzip or vtkzlib ?

Benoît Minisini gambas at ...1...
Wed Jan 18 11:57:35 CET 2012


Le 18/01/2012 09:32, Girard Henri a écrit :
> Hi,
>
> I have been running precise pangolin for few months now, gambas3
> compiled well... Today first time I have got this error, I can't find
> this libvtkzlib, any help ?
> regards
> Henri
>
> ------------------------------------------------------------------------------------------------------------------
> make[4]: quittant le répertoire «
> /home/riri/svn/trunk/gb.compress.bzlib2/src »
> make[4]: entrant dans le répertoire «
> /home/riri/svn/trunk/gb.compress.bzlib2 »
> make[4]: quittant le répertoire « /home/riri/svn/trunk/gb.compress.bzlib2 »
> make[3]: quittant le répertoire « /home/riri/svn/trunk/gb.compress.bzlib2 »
> make[2]: quittant le répertoire « /home/riri/svn/trunk/gb.compress.bzlib2 »
> Making all in gb.compress.zlib
> make[2]: entrant dans le répertoire «
> /home/riri/svn/trunk/gb.compress.zlib »
> make  all-recursive
> make[3]: entrant dans le répertoire «
> /home/riri/svn/trunk/gb.compress.zlib »
> Making all in src
> make[4]: entrant dans le répertoire «
> /home/riri/svn/trunk/gb.compress.zlib/src »
> /bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I.. -I/usr/local/include/vtk-5.8/vtkzlib/   -pipe -Wall
> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT main.lo
> -MD -MP -MF .deps/main.Tpo -c -o main.lo main.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I..
> -I/usr/local/include/vtk-5.8/vtkzlib/ -pipe -Wall -Wno-unused-value
> -fsigned-char -fvisibility=hidden -g -Os -MT main.lo -MD -MP -MF
> .deps/main.Tpo -c main.c  -fPIC -DPIC -o .libs/main.o
> In file included from /usr/local/include/vtk-5.8/vtkzlib/zlib.h:34:0,
>                    from main.c:35:
> /usr/local/include/vtk-5.8/vtkzlib/zconf.h:15:35: fatal error:
> vtkzlib/zlibDllConfig.h: No such file or directory
> compilation terminated.
> make[4]: *** [main.lo] Erreur 1
> make[4]: quittant le répertoire «
> /home/riri/svn/trunk/gb.compress.zlib/src »
> make[3]: *** [all-recursive] Erreur 1
> make[3]: quittant le répertoire « /home/riri/svn/trunk/gb.compress.zlib »
> make[2]: *** [all] Erreur 2
> make[2]: quittant le répertoire « /home/riri/svn/trunk/gb.compress.zlib »
> make[1]: *** [all-recursive] Erreur 1
> make[1]: quittant le répertoire « /home/riri/svn/trunk »
> make: *** [all] Erreur 2
>

Apparently something located in /usr/local is incorrectly taken for the 
zlib.h header. If you remove it, things will go nicer. If you can't 
remove it, you will have to use "./configure" flags to tell where zlib.h 
is located.

Regards,


-- 
Benoît Minisini




More information about the User mailing list