Dne po 1. října 2012 Jean Raby napsal(a): > On 12-10-01 10:11 AM, Slávek Banko wrote: > > Hi all, > > > > as with several previous versions, I'm trying to rebuild the source > > DEB package for Squeeze to add patches from: > > > > + http://www.sogo.nu/bugs/view.php?id=1866 > > + http://www.sogo.nu/bugs/view.php?id=1061 > > > > But with SOGo 2.0.0 rebuild fails. I use the original source package > > from Inverse APT source. And pbuilder for rebuild. > > > > Making all for bundle SOGoBackend... > > Creating SOGoBackend.MAPIStore/.... > > Traceback (most recent call last): > > File "./samba-get-config.py", line 4, in<module> > > import samba.param > > ImportError: No module named samba.param > > Compiling file MAPIApplication.m ... > > In file included from MAPIStoreTypes.h:31, > > from MAPIApplication.m:33: > > /usr/include/gen_ndr/exchange.h:4809: error: field > > 'ReplyTemplateGUID' has incomplete type > > /usr/include/gen_ndr/exchange.h:4876: error: field 'lpguid' has > > incomplete type > > /usr/include/gen_ndr/exchange.h:5986: error: field 'GUID' has > > incomplete type > > /usr/include/gen_ndr/exchange.h:5996: error: field 'GUID' has > > incomplete type > > /usr/include/gen_ndr/exchange.h:6545: error: field 'DatabaseGuid' has > > incomplete type > > /usr/include/gen_ndr/exchange.h:6884: error: field 'lpguid' has > > incomplete type > > /usr/include/gen_ndr/exchange.h:7000: error: field 'guid' has > > incomplete type > > /usr/include/gen_ndr/exchange.h:7016: error: field 'DatabaseGuid' has > > incomplete type > > /usr/include/gen_ndr/exchange.h:7029: error: field 'DatabaseGuid' has > > incomplete type > > /usr/include/gen_ndr/exchange.h:7051: error: field 'ReplGuid' has > > incomplete type > > /usr/include/gen_ndr/exchange.h:7374: error: field 'ReplGuid' has > > incomplete type > > /usr/include/gen_ndr/exchange.h:7436: error: field 'NotificationGuid' > > has incomplete type > > /usr/include/gen_ndr/exchange.h:7569: error: field 'Guid' has > > incomplete type > > /usr/include/gen_ndr/exchange.h:7570: error: field 'PerUserGuid' has > > incomplete type > > /usr/include/gen_ndr/exchange.h:7588: error: field 'MailboxGuid' has > > incomplete type > > /usr/include/gen_ndr/exchange.h:7590: error: field 'ReplGUID' has > > incomplete type > > In file included from MAPIStoreTypes.h:31, > > from MAPIApplication.m:33: > > /usr/include/gen_ndr/exchange.h:8119: error: field 'SessionGuid' has > > incomplete type > > /usr/include/gen_ndr/exchange.h:8125: error: field 'SessionGuid' has > > incomplete type > > /usr/include/gen_ndr/exchange.h:8232: error: field 'ProcessGuid' has > > incomplete type > > make[4]: *** [obj/SOGoBackend.obj/MAPIApplication.m.o] Error 1 > > make[3]: *** [internal-bundle-run-compile-submake] Error 2 > > make[2]: *** [SOGoBackend.all.bundle.variables] Error 2 > > make[1]: *** [internal-all] Error 2 > > make[1]: Leaving directory `/tmp/buildd/sogo-2.0.0/OpenChange' > > make: *** [build-arch-stamp] Error 2 > > dpkg-buildpackage: error: debian/rules build gave error exit status 2 > > > > Please, what is wrong? > > How can I fix it? > > Do you have samba4 and openchange in the chroot environment? > > > Thanks, > > Slavek > > -- > Jean Raby > jr...@inverse.ca :: +1.514.447.4918 (x120) :: www.inverse.ca > Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence > (www.packetfence.org)
I have the standard Debian Squeeze apt sources, Inverse "stable" apt source and also Inverse "nightly" apt source. Previous three versions I built by this way without any problems. All that was needed for build SOGo from Samby4 was used from Inverse APT sources. Slavek -- -- users@sogo.nu https://inverse.ca/sogo/lists