[Lunar-bugs] [Lunar Linux 0000424]: ImageMagick fails to compile

noreply at bugs.lunar-linux.org noreply at bugs.lunar-linux.org
Fri Feb 27 07:01:39 GMT 2004


Acest bug a fost INCHIS.
=======================================================================
http://bugs.lunar-linux.org/view_bug_page.php?f_id=0000424
=======================================================================
Reporter:                   jmhodges
Tratat de:                  florin
=======================================================================
Proiect:                    Lunar Linux
ID bug:                     0000424
Categorie:                  moonbase
Reproductibilitate:         totdeauna
Severitate:                 minor
Prioritate:                 fara
Stare:                      inchis
=======================================================================
Data Creatie:               2003-12-16 22:45 GMT
Modificat:                  2004-02-27 07:01 GMT
=======================================================================
Sumar:                      ImageMagick fails to compile
Descriere: 
In file included from /usr/X11R6/include/zlib.h:40,
                 from png.c:79:
/usr/X11R6/include/zconf.h:167: warning: redefinition of `Byte'
/usr/include/zconf.h:252: warning: `Byte' previously declared here
/usr/X11R6/include/zconf.h:168: warning: redefinition of `uInt'
/usr/include/zconf.h:254: warning: `uInt' previously declared here
/usr/X11R6/include/zconf.h:169: warning: redefinition of `uLong'
/usr/include/zconf.h:255: warning: `uLong' previously declared here
/usr/X11R6/include/zconf.h:175: warning: redefinition of `Bytef'
/usr/include/zconf.h:261: warning: `Bytef' previously declared here
/usr/X11R6/include/zconf.h:177: warning: redefinition of `charf'
/usr/include/zconf.h:263: warning: `charf' previously declared here
/usr/X11R6/include/zconf.h:178: warning: redefinition of `intf'
/usr/include/zconf.h:264: warning: `intf' previously declared here
/usr/X11R6/include/zconf.h:179: warning: redefinition of `uIntf'
/usr/include/zconf.h:265: warning: `uIntf' previously declared here
/usr/X11R6/include/zconf.h:180: warning: redefinition of `uLongf'
/usr/include/zconf.h:266: warning: `uLongf' previously declared here
/usr/X11R6/include/zconf.h:183: warning: redefinition of `voidpf'
/usr/include/zconf.h:270: warning: `voidpf' previously declared here
/usr/X11R6/include/zconf.h:184: warning: redefinition of `voidp'
/usr/include/zconf.h:271: warning: `voidp' previously declared here
In file included from png.c:79:
/usr/X11R6/include/zlib.h:42:1: warning: "ZLIB_VERSION" redefined
In file included from /usr/include/png.h:329,
                 from png.c:78:
/usr/include/zlib.h:40:1: warning: this is the location of the previous
definition
In file included from png.c:79:
/usr/X11R6/include/zlib.h:65: warning: redefinition of `alloc_func'
/usr/include/zlib.h:79: warning: `alloc_func' previously declared here
/usr/X11R6/include/zlib.h:66: warning: redefinition of `free_func'
/usr/include/zlib.h:80: warning: `free_func' previously declared here
/usr/X11R6/include/zlib.h:70: redefinition of `struct z_stream_s'
/usr/X11R6/include/zlib.h:89: warning: redefinition of `z_stream'
/usr/include/zlib.h:103: warning: `z_stream' previously declared here
/usr/X11R6/include/zlib.h:91: warning: redefinition of `z_streamp'
/usr/include/zlib.h:105: warning: `z_streamp' previously declared here
/usr/X11R6/include/zlib.h:653: warning: redefinition of `gzFile'
/usr/include/zlib.h:933: warning: `gzFile' previously declared here
/usr/X11R6/include/zlib.h:700: conflicting types for `gzwrite'
/usr/include/zlib.h:982: previous declaration of `gzwrite'
/usr/X11R6/include/zlib.h:859: redefinition of `struct internal_state'
make[1]: *** [png.lo] Error 1
make[1]: Leaving directory `/usr/src/ImageMagick-5.5.7/coders'
make: *** [all-recursive] Error 1
Creating /var/log/lunar/compile/ImageMagick-5.5.7-15.bz2 
! Problem detected during BUILD

=======================================================================

-----------------------------------------------------------------------
 sofar - 2003-12-16 22:52 GMT 
-----------------------------------------------------------------------
rm /usr/X11R6/include/zlib.h
rm /usr/X11R6/include/zconf.h

that'll fix it. We need to prevent this problem. I suggest doing this
again in the BUILD of zlib, since that introduces these files (right?)

-----------------------------------------------------------------------
 sofar - 2003-12-16 22:53 GMT 
-----------------------------------------------------------------------
~ $ lvu from /usr/X11R6/include/zlib.h
xfree86-4.3.0:/usr/X11R6/include/zlib.h

sorry, it seems like florin was correct, but still it breaks. consider
adding it ALSO to zlib (again, thus back, but leave in xfree86 module too)

-----------------------------------------------------------------------
 florin - 2004-02-27 07:01 GMT 
-----------------------------------------------------------------------
the zlib problem for xfree86 was solved now.

-----------------------------------------------------------------------
 florin - 2004-02-27 07:01 GMT 
-----------------------------------------------------------------------
i close this bug now.


More information about the Lunar-bugs mailing list