No problem - shit happens ;)
16/12/2014 21:26, sgrìobh Tibor Bamhor: > Guys, my fault. > > As I mentioned I had v 1.2.8 from system and 1.2.5 installed manually. > Before upgrade to jessie no problem, but now these two somehow > interfered. I removed the one installed manually and now it compiles. > > I apologize for wasting you time > > > 2014-12-16 22:10 GMT+01:00 Fòram na Gàidhlig <[email protected] > <mailto:[email protected]>>: > > Maybe we can borrow some code: > > > https://github.com/pgundlach/LuaTeX/blob/master/source/m4/kpse-zlib-flags.m4 > > > These guys also had the same problem: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707537 > > > 16/12/2014 20:49, sgrìobh Holger Rapp: > > I think there is a real bug lurking here. > > > > Apparently zlib renamed some stuff and now our image_io is broken with > > this change. We need to figure out which version broke and what the > > change zlib did is. Could you open a bug? > > > > > > On 16.12.2014, at 12:11, Tibor Bamhor <[email protected] > <mailto:[email protected]> > > <mailto:[email protected] <mailto:[email protected]>>> wrote: > > > >> Well I found that if I rename /usr/include/zlib.h compilation > goes on. > >> > >> I cannot remove the package: > >> > >> ||/ Name Version Architecture > >> Description > >> > +++-========================-=================-=================-======== > >> ii zlib1g-dev:i386 1:1.2.8.dfsg-2+b1 i386 > >> compression library - development > >> > >> ... because of dependencies. Can I prevent compilator from using > this > >> file/package? > >> > >> Tibor > >> > >> ---------- Forwarded message ---------- > >> From: *Tibor Bamhor* <[email protected] > <mailto:[email protected]> <mailto:[email protected] > <mailto:[email protected]>>> > >> Date: 2014-12-16 11:18 GMT+01:00 > >> Subject: compilation problem > >> To: [email protected] > <mailto:[email protected]> > >> <mailto:[email protected] > <mailto:[email protected]>> > >> > >> Hi, > >> > >> few days ago I noticed that compilation on my wheezy box started to > >> fail. So I upgraded to jessie, upgraded gcc/g++/whatever, but the > >> problem is still here: > >> > >> In file included from /usr/include/png.h:536:0, > >> from > >> /var/widelands/seafaring-ai/src/graphic/image_io.cc:26: > >> /usr/include/zlib.h:86:5: error: 'z_const' does not name a type > >> z_const Bytef *next_in; /* next input byte */ > >> ^ > >> /usr/include/zlib.h:94:5: error: 'z_const' does not name a type > >> z_const char *msg; /* last error message, NULL if no error */ > >> ^ > >> In file included from /usr/include/zlib.h:34:0, > >> from /usr/include/png.h:536, > >> from > >> /var/widelands/seafaring-ai/src/graphic/image_io.cc:26: > >> /usr/include/zlib.h:1025:29: error: 'z_const' has not been declared > >> typedef unsigned (*in_func) OF((void FAR *, > >> ^ > >> /usr/include/zlib.h:1025:29: error: two or more data types in > >> declaration of 'parameter' > >> typedef unsigned (*in_func) OF((void FAR *, > >> ^ > >> In file included from /usr/include/png.h:536:0, > >> from > >> /var/widelands/seafaring-ai/src/graphic/image_io.cc:26: > >> /usr/include/zlib.h:1349:32: error: expected initializer before > 'Z_ARG' > >> ZEXTERN int ZEXPORTVA gzprintf Z_ARG((gzFile file, const char > >> *format, ...)); > >> ^ > >> /usr/include/zlib.h:1748:15: error: 'z_crc_t' does not name a type > >> ZEXTERN const z_crc_t FAR * ZEXPORT get_crc_table OF((void)); > >> ^ > >> /usr/include/zlib.h:1758:44: error: expected initializer before > 'Z_ARG' > >> ZEXTERN int ZEXPORTVA gzvprintf Z_ARG((gzFile file, > >> ^ > >> src/graphic/CMakeFiles/graphic_image_io.dir/build.make:54: recipe for > >> target > 'src/graphic/CMakeFiles/graphic_image_io.dir/image_io.cc.o' failed > >> make[2]: *** > >> [src/graphic/CMakeFiles/graphic_image_io.dir/image_io.cc.o] Error 1 > >> CMakeFiles/Makefile2:12589: recipe for target > >> 'src/graphic/CMakeFiles/graphic_image_io.dir/all' failed > >> make[1]: *** [src/graphic/CMakeFiles/graphic_image_io.dir/all] > Error 2 > >> Makefile:127: recipe for target 'all' failed > >> > >> What should I do? > >> > >> Tibor > >> > >> _______________________________________________ > >> Mailing list: https://launchpad.net/~widelands-dev > >> Post to : [email protected] > <mailto:[email protected]> > >> <mailto:[email protected] > <mailto:[email protected]>> > >> Unsubscribe : https://launchpad.net/~widelands-dev > >> More help : https://help.launchpad.net/ListHelp > > > > > > > > _______________________________________________ > > Mailing list: https://launchpad.net/~widelands-dev > > Post to : [email protected] > <mailto:[email protected]> > > Unsubscribe : https://launchpad.net/~widelands-dev > > More help : https://help.launchpad.net/ListHelp > > > > > > > > ----- > > No virus found in this message. > > Checked by AVG - www.avg.com <http://www.avg.com> > > Version: 2015.0.5577 / Virus Database: 4253/8746 - Release Date: > 12/16/14 > > > > _______________________________________________ > Mailing list: https://launchpad.net/~widelands-dev > Post to : [email protected] > <mailto:[email protected]> > Unsubscribe : https://launchpad.net/~widelands-dev > More help : https://help.launchpad.net/ListHelp > > No virus found in this message. > Checked by AVG - www.avg.com <http://www.avg.com> > Version: 2015.0.5577 / Virus Database: 4253/8746 - Release Date: 12/16/14 > _______________________________________________ Mailing list: https://launchpad.net/~widelands-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~widelands-dev More help : https://help.launchpad.net/ListHelp

