[SOGo] Unable to compile current git archive
following the recipe here http://www.openchange.org/cookbook/backends/sogo/index.html the make phase of SOGo ends thus... Making all for bundle MailerUI... Creating MailerUI.SOGo/ Compiling file MailerUIProduct.m ... Compiling file UIxMailFormatter.m ... Compiling file UIxEnvelopeAddressFormatter.m ... Compiling file WOContext+UIxMailer.m ... Compiling file UIxMailMainFrame.m ... UIxMailMainFrame.m:174:2: warning: #warning this code is dirty: we should not invoke UIxMailListActions from here! Compiling file UIxMailListActions.m ... Compiling file UIxMailView.m ... Compiling file UIxMailSourceView.m ... Compiling file UIxMailPopupView.m ... Compiling file UIxMailMoveToPopUp.m ... Compiling file UIxMailFilterPanel.m ... UIxMailFilterPanel.m:57:2: warning: #warning why not populate "filters" directly, as an NSMutableArray? Compiling file UIxMailAccountActions.m ... Compiling file UIxMailFolderActions.m ... UIxMailFolderActions.m:533:2: warning: #warning here should be done what should be done: IMAP subscription Compiling file UIxMailActions.m ... Compiling file UIxMailEditor.m ... UIxMailEditor.m: In function ‘-[UIxMailEditor sendAction]’: UIxMailEditor.m:748: warning: ‘SOGoDraftObject’ may not respond to ‘-allRecipients’ UIxMailEditor.m:748: warning: (Messages without a matching method signature UIxMailEditor.m:748: warning: will be assumed to return ‘id’ and accept UIxMailEditor.m:748: warning: ‘...’ as arguments.) Compiling file UIxMailToSelection.m ... Compiling file UIxMailWindowCloser.m ... Compiling file UIxMailUserRightsEditor.m ... Compiling file ../MailPartViewers/UIxMailRenderingContext.m ... ../MailPartViewers/UIxMailRenderingContext.m:303: fatal error: opening dependency file obj/../MailPartViewers/UIxMailRenderingContext.m.d: No such file or directory compilation terminated. make[4]: *** [obj/../MailPartViewers/UIxMailRenderingContext.m.o] Error 1 make[3]: *** [internal-bundle-run-compile-submake] Error 2 make[2]: *** [MailerUI.all.bundle.variables] Error 2 make[1]: *** [internal-all] Error 2 make: *** [internal-all] Error 2 root@rimu:~/src/openchange/sogo# df -h FilesystemSize Used Avail Use% Mounted on /dev/sda1 460G 454G 5.9G 99% / none 997M 396K 997M 1% /dev none 1004M 0 1004M 0% /dev/shm none 1004M 116K 1004M 1% /var/run none 1004M 0 1004M 0% /var/lock none 1004M 0 1004M 0% /lib/init/rw /dev/sdb1 1.4T 1.1T 180G 87% /home/tv/Videos/external root@rimu:~/src/openchange/sogo# find . -name UIxMailRenderingContext.m.d root@rimu:~/src/openchange/sogo# find . -name MailPartViewers ./UI/MailPartViewers ./UI/Templates/MailPartViewers Can anyone help? Cheers, Rex-- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Unable to compile current git archive
On 2013-07-22 7:02 PM, r...@sclnz.com wrote: Can anyone help? Try this patch: index 6ad78ee..ced651d 100644 --- a/UI/GNUmakefile +++ b/UI/GNUmakefile @@ -8,8 +8,8 @@ SUBPROJECTS += \ SOGoElements\ Common \ Contacts\ + MailPartViewers \ MailerUI\ - MailPartViewers \ MainUI \ PreferencesUI \ Scheduler \ -- Ludovic Marcotte lmarco...@inverse.ca :: +1.514.755.3630 :: http://inverse.ca Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence (http://packetfence.org) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Unable to compile current git archive
Ludovic Marcotte wrote: On 2013-07-22 7:02 PM, r...@sclnz.com wrote: Can anyone help? Try this patch: index 6ad78ee..ced651d 100644 --- a/UI/GNUmakefile +++ b/UI/GNUmakefile @@ -8,8 +8,8 @@ SUBPROJECTS += \ SOGoElements\ Common \ Contacts\ + MailPartViewers \ MailerUI\ - MailPartViewers \ MainUI \ PreferencesUI \ Scheduler \ Ah i see. We might have a bit of a dependency loop? Making all in Contacts... Making all for bundle ContactsUI... make[4]: Nothing to be done for `internal-bundle-compile'. Copying resources into the bundle wrapper... Copying localized resources into the bundle wrapper... Making all in MailPartViewers... Making all for bundle MailPartViewers... Compiling file ../../SoObjects/Mailer/SOGoMailBodyPart.m ... ../../SoObjects/Mailer/SOGoMailBodyPart.m:118:2: warning: #warning partToPart should be populated directly ../../SoObjects/Mailer/SOGoMailBodyPart.m:507: fatal error: opening dependency file obj/../../SoObjects/Mailer/SOGoMailBodyPart.m.d: No such file or directory compilation terminated. make[4]: *** [obj/../../SoObjects/Mailer/SOGoMailBodyPart.m.o] Error 1 make[3]: *** [internal-bundle-run-compile-submake] Error 2 make[2]: *** [MailPartViewers.all.bundle.variables] Error 2 make[1]: *** [internal-all] Error 2 make: *** [internal-all] Error 2 Cheers, Rex -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Unable to compile current git archive
On 2013-07-23 4:11 PM, Rex Johnston wrote: Ah i see. We might have a bit of a dependency loop? The real fix was committed a few hours ago. -- Ludovic Marcotte lmarco...@inverse.ca :: +1.514.755.3630 :: http://inverse.ca Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence (http://packetfence.org) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Unable to compile current git archive
Ludovic Marcotte wrote: The real fix was committed a few hours ago. Thanks, SOGo compiled OK. Onto OpenChange, i get this... root@rimu:~/src/openchange/sogo# cd OpenChange/ root@rimu:~/src/openchange/sogo/OpenChange# make This is gnustep-make 2.2.0. Type 'make print-gnustep-make-help' for help. Python executable: /usr/bin/python Auto-generating MAPIStorePropertySelectors.[hm]... Making all for bundle SOGoBackend... Creating SOGoBackend.MAPIStore/ Compiling file MAPIApplication.m ... Compiling file MAPIStoreActiveTables.m ... Compiling file MAPIStoreAuthenticator.m ... Compiling file MAPIStoreMapping.m ... Compiling file MAPIStoreMIME.m ... Compiling file iCalTimeZone+MAPIStore.m ... Compiling file GCSSpecialQueries+OpenChange.m ... Compiling file EOQualifier+MAPI.m ... Compiling file EOBitmaskQualifier.m ... Compiling file BSONCodec.m ... cc1obj: warnings being treated as errors BSONCodec.m: In function ‘-[NSObject(BSONObjectCoding) BSONEncode]’: BSONCodec.m:88: error: implicit declaration of function ‘class_conformsToProtocol’ BSONCodec.m:94: error: implicit declaration of function ‘class_getName’ BSONCodec.m:94: error: initialization makes pointer from integer without a cast make[2]: *** [obj/BSONCodec.m.o] Error 1 make[1]: *** [internal-bundle-run-compile-submake] Error 2 make: *** [SOGoBackend.all.bundle.variables] Error 2 root@rimu:~/src/openchange/sogo/OpenChange# Is it safe to get the compiler to ignore warnings? Many thanks. Rex -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Unable to compile current git archive
On 2013-07-23 5:16 PM, Rex Johnston wrote: Is it safe to get the compiler to ignore warnings? I've just pushed a fix for this. Thanks, -- Ludovic Marcotte lmarco...@inverse.ca :: +1.514.755.3630 :: http://inverse.ca Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence (http://packetfence.org) -- users@sogo.nu https://inverse.ca/sogo/lists