-   Linux - Server (
-   -   Zarafa 7.0.6: Invalid Conversion from &gzFile_s*... (

GraysonPeddie 04-21-2012 03:52 AM

Zarafa 7.0.6: Invalid Conversion from &gzFile_s*...
Running Debian Sid with Linux 3.3 kernel

I'm getting stuck with the error message for gzFile_s even with zlib1g-dev installed:


root@debian-server:/usr/src/zarafa-7.0.6# make
make  all-recursive
make[1]: Entering directory `/usr/src/zarafa-7.0.6'
Making all in common
make[2]: Entering directory `/usr/src/zarafa-7.0.6/common'
make  all-am
make[3]: Entering directory `/usr/src/zarafa-7.0.6/common'
/bin/bash ../libtool --tag=CXX  --mode=compile g++ -DHAVE_CONFIG_H -I.  -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy  -g -O2  -g -rdynamic -Wall -Wno-write-strings  -DHAVE_CONFIG_H -pedantic -Wno-long-long  -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT platform.lo -MD -MP -MF .deps/platform.Tpo -c -o platform.lo platform.cpp
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy -g -O2 -g -rdynamic -Wall -Wno-write-strings -DHAVE_CONFIG_H -pedantic -Wno-long-long -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT platform.lo -MD -MP -MF .deps/platform.Tpo -c platform.cpp  -fPIC -DPIC -o .libs/platform.o
mv -f .deps/platform.Tpo .deps/platform.Plo
/bin/bash ../libtool --tag=CXX  --mode=compile g++ -DHAVE_CONFIG_H -I.  -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy  -g -O2  -g -rdynamic -Wall -Wno-write-strings  -DHAVE_CONFIG_H -pedantic -Wno-long-long  -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT platform.linux.lo -MD -MP -MF .deps/platform.linux.Tpo -c -o platform.linux.lo platform.linux.cpp
 g++ -DHAVE_CONFIG_H -I. -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy -g -O2 -g -rdynamic -Wall -Wno-write-strings -DHAVE_CONFIG_H -pedantic -Wno-long-long -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT platform.linux.lo -MD -MP -MF .deps/platform.linux.Tpo -c platform.linux.cpp  -fPIC -DPIC -o .libs/platform.linux.o
mv -f .deps/platform.linux.Tpo .deps/platform.linux.Plo
/bin/bash ../libtool --tag=CXX  --mode=compile g++ -DHAVE_CONFIG_H -I.  -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy  -g -O2  -g -rdynamic -Wall -Wno-write-strings  -DHAVE_CONFIG_H -pedantic -Wno-long-long  -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c -o md5.lo md5.cpp
 g++ -DHAVE_CONFIG_H -I. -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy -g -O2 -g -rdynamic -Wall -Wno-write-strings -DHAVE_CONFIG_H -pedantic -Wno-long-long -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.cpp  -fPIC -DPIC -o .libs/md5.o
mv -f .deps/md5.Tpo .deps/md5.Plo
/bin/bash ../libtool --tag=CXX  --mode=compile g++ -DHAVE_CONFIG_H -I.  -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy  -g -O2  -g -rdynamic -Wall -Wno-write-strings  -DHAVE_CONFIG_H -pedantic -Wno-long-long  -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c -o base64.lo base64.cpp
 g++ -DHAVE_CONFIG_H -I. -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy -g -O2 -g -rdynamic -Wall -Wno-write-strings -DHAVE_CONFIG_H -pedantic -Wno-long-long -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.cpp  -fPIC -DPIC -o .libs/base64.o
mv -f .deps/base64.Tpo .deps/base64.Plo
/bin/bash ../libtool --tag=CXX  --mode=compile g++ -DHAVE_CONFIG_H -I.  -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy  -g -O2  -g -rdynamic -Wall -Wno-write-strings  -DHAVE_CONFIG_H -pedantic -Wno-long-long  -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT ECLogger.lo -MD -MP -MF .deps/ECLogger.Tpo -c -o ECLogger.lo ECLogger.cpp
 g++ -DHAVE_CONFIG_H -I. -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy -g -O2 -g -rdynamic -Wall -Wno-write-strings -DHAVE_CONFIG_H -pedantic -Wno-long-long -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT ECLogger.lo -MD -MP -MF .deps/ECLogger.Tpo -c ECLogger.cpp  -fPIC -DPIC -o .libs/ECLogger.o
ECLogger.cpp: In constructor ‚ECLogger_File::ECLogger_File(int, int, const char*, bool)‚:
ECLogger.cpp:169:14: error: invalid conversion from ‚gzFile_s* (*)(const char*, const char*)‚ to ‚ECLogger_File::open_func {aka void* (*)(const char*, const char*)}‚ [-fpermissive]
ECLogger.cpp:170:15: error: invalid conversion from ‚int (*)(gzFile) {aka int (*)(gzFile_s*)}‚ to ‚ECLogger_File::close_func {aka int (*)(void*)}‚ [-fpermissive]
ECLogger.cpp:171:16: error: invalid conversion from ‚int (*)(gzFile, const char*, ...) {aka int (*)(gzFile_s*, const char*, ...)}‚ to ‚ECLogger_File::printf_func {aka int (*)(void*, const char*, ...)}‚ [-fpermissive]
make[3]: *** [ECLogger.lo] Error 1
make[3]: Leaving directory `/usr/src/zarafa-7.0.6/common'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/zarafa-7.0.6/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/zarafa-7.0.6'
make: *** [all] Error 2

Does anyone know of my solution to the problem? I'm trying to install Zarafa in Debian Sid, which is unsupported by Zarafa when I try to install the deb packages of Zarafa.

knudfl 05-04-2012 08:02 AM

Should be OK when you use some patches (or all) from e.g. zarafa-7.0.6-1.src.rpm

Zarafa "patches only package" : zarafa-patches-7.0.6.tar.gz ( 3.3 kB.)

g++-4.5 / boost-1.42 was used for a compile test. ( Not Debian Sid.)


All times are GMT -5. The time now is 10:19 PM.