On 11/10/11 11:16, Chris Moules wrote: > On 07/10/11 17:19, Ludovic Marcotte wrote: >> Hello, >> > If I get some time, I will take a clean Squeeze install and try to backport > these.
Well, it took a shot at this and spent some hours trying to get this working. There are a bunch of additional dependencies that need backporting, but not *all* that many. Thanks to Jelmer Vernooij for assistance with the ldb package. I am having an issue with installing the samba4 package, something with library paths... With a little more work I think it is do-able, for Squeeze at least, I doubt that Lenny is a viable target and it being old-stable is probably not worth the effort. After installing most of this I was able to build both SOPE and SOGo src's as in the doc "SOGo Native Microsoft Outlook Configuration", but using the dpkg-buildpackage. The SOGo package comes out labled sogo_1.3.5 as the control file is not updated, but it runs as 2.0: version 2.0.0 (build r...@trash.lan.gms.lu 201110121218) -- starting I was unable to build the OpenChange connector however: root@trash:/home/chris/sogo/SOGo/OpenChange# make This is gnustep-make 2.4.0. Type 'make print-gnustep-make-help' for help. Auto-generating MAPIStorePropertySelectors.[hm]... Traceback (most recent call last): File "./gen-property-selectors.py", line 211, in <module> "mapistore/mapistore_nameid.h": ParseMapistoreNameIDH }) File "./gen-property-selectors.py", line 182, in ProcessHeaders header_filename = FindHFile(filename) File "./gen-property-selectors.py", line 176, in FindHFile raise Exception, "'%s' not found in include dirs" % filename Exception: 'mapistore/mapistore_nameid.h' not found in include dirs make: *** [MAPIStorePropertySelectors.m] Error 1 I don't know what is wrong here and I am out of time to mess with this for now. The Debian Packages ------------------- I took these packages from the Wheezy or Sid trees on http://packages.debian.org: talloc_2.0.7-3.dsc tevent_0.9.14-1.dsc heimdal_1.5.dfsg.1-3.dsc tdb_1.2.9-4.dsc ldb_1.1.2~git20110807-2.dsc samba4_4.0.0~alpha17-3.dsc openchange_0.11-2.dsc Using 'dget' from devscripts on the .dsc URL it will pull all the sources. Add 'squeeze-backports' to your '/etc/apt/sources.list' file: deb http://backports.debian.org/debian-backports squeeze-backports main Then update and install debhelper from squeeze-backports: aptitude -t squeeze-backports install debhelper Other basic build components: aptitude install build-essential devscripts swig There are a lot of other build dependencies for the other packages, get a list of these with 'dpkg-checkbuilddeps' for each package and install. There are some things that need fixing in the Debian packages as there is a move to Multiarch for Wheezy and onwards: http://wiki.debian.org/Multiarch The 'quick fix' that allowed me to get the packages to build are, in the unpacked source-tree: sed -i -e's#/\*/#/#' debian/*.install sed -i -e 's#/\$(DEB_HOST_MULTIARCH)##g' debian/rules The first 'sed' does an inplace replacement of the "/*/" in the install files. These directories don't exist on non-multiarch systems. The second 'sed' does something similar, removing substitutions, for the 'rules' file. Check for build dependencies: dpkg-checkbuilddeps Install any missing dependencies. Check that these are not one of the others in my list above. If so, build that package first. Build the package(s): dpkg-buildpackage -b -uc This says we only want a binary (no source) package and that not to sign the '.changes' file. Doing this, I was able to end up with a non-erroring build of all the above packages! I didn't, but it may be worth seting up reprepro, or the like, and placing all your packages in there. The benefits are not messing with lots of dependency problems with 'dpkg -i'. I had over 100 .deb files when finished. I believe that there are still some issues with the backports. I am, however, a only a SysAdmin and not much of a developer. I hope that this will help kick-start some further work in this direction. I may be able to help a little and if I find more time see if I can resolve the issues that I am having. This is all not so my area of ken. Regards Chris -- users@sogo.nu https://inverse.ca/sogo/lists