View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000705 | SOGo | SOPE | public | 2010-07-23 16:46 | 2010-08-30 20:32 |
Reporter | ib_pl | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 1.3.0 | ||||
Fixed in Version | 1.3.2 | ||||
Summary | 0000705: SOPE/SOGo 1.3.0 building problems | ||||
Description | Hello, Can you please verify SOGo compilation hints on page http://www.sogo.nu/english/support/faq/article/how-do-i-compile-sogo.html (*) update it and verify my fixes to SOGo building process? My questions/problems regarding building 1.3.0: (1) (2) http://www.sogo.nu/english/downloads/backend.html Patched SOPE: /it this ok and enough or patching SOPE-1.3.0.tar.gz is not required?/. (3) Making all for subproject WebDAV... so i've changed line 7964 in SOGO_DIR/SOPE/sope-patchset-r1664.diff from +#include <NGObjWeb/SoObject.h> to +#include <NGObjWeb/SoObjects/SoObject.h> /is this fix ok or not?/, unpacked and patched SOPE-1.3.0.tar.gz again. (4)
I think it's because lack of behavior.h in gnustep-base-1.20.1. From gnustep-base changelog:
Please consider updating info about required/compatible/recommended gnustep packages on page (*). So I started all process from the beginning but with gnustep-base-1.18.0.tar.gz (5)
So I started all process from the beginning but with gnustep-make-2.2.0.tar.gz (6) http://www.mail-archive.com/users@sogo.nu/msg00785.html Please consider creating UPGRADE file in source root with upgrade instructions or putting UPGRADE chapter it in PDF manual. Now, after fixes as above SOGo 1.3.0 seems to work ok. Regards, | ||||
Tags | No tags attached. | ||||
related to | 0000632 | resolved | wobundle.make not compatible with gnustep-make 2.4.0 |
We haven't tested gcc 4.5 nor gnustep-base 1.21. SOGo is developed using gnustep-base 1.19.3 and gcc 4.4, although I think the version number of gcc does not matter much. Also, you should know that gnustep-make 2.4 poses problems that are still yet to resolve. Regarding the SQL script, we should indeed update the documentation for this but this has already been mentionned on the mailing-list where your message would pertain more than here. Besides, the announce of 1.3 includes information on the upgrade procedure. Finally, why don't you use one or our binary packages? |
|
Thank you for pointing recommended gcc and gnustep-base versions. Would be nice to see it in PDF docs or REQUIREMENTS file with other recommendations (i.e. gnustep-make) to allow people save time trying wrong versions. BTW: don't you think (3) as above should be fixed?
Custom linux distro + security procedures + a few our patches still not applied to SOGo mainstream:
Thank you for great tool, |
|
The GCC version is not the problem. I use GCC 4.5.1 and as soon as I use a recent gnustep-base and gnustep-make edition I can not compile SOPE nor SOGo. The highest version that has no issues is gnustep-base 1.19.3 and gnustep-make 2.2.0. Anything higher than that is not working. |
|
I'm in the process of creating a port for sope/sogo to OpenBSD. I ran into the same problem. The gnustep-base version there is 1.20.1. I'll take a look |
|
2010-08-19 17:59
|
patch-sope-core_NGExtensions_NGObjCRuntime_m (710 bytes)
$OpenBSD$ Make it compatible with newer gnustep-base again --- sope-core/NGExtensions/NGObjCRuntime.m.orig Mon Jul 3 21:34:05 2006 +++ sope-core/NGExtensions/NGObjCRuntime.m Thu Aug 19 19:57:31 2010 @@ -49,9 +49,9 @@ typedef struct objc_method *Method_t; #if GNUSTEP_BASE_LIBRARY /* this is a hack for the extensions 0.8.6 library */ -void class_add_behavior(Class class, Class behavior) { - extern void behavior_class_add_class (Class class, Class behavior); - behavior_class_add_class(class, behavior); +void class_add_behavior(Class receiver, Class behavior) { + extern void GSObjCAddClassBehavior (Class receiver, Class behavior); + GSObjCAddClassBehavior(receiver, behavior); } #endif |
Attached patch fixes the compilation issue for me with gnustep-base-1.20.1 on OpenBSD. When I understand the changelog correctly, this should also work with the older version of gnustep-base |
|
The build is now working on both GNUstep 1.20 and above, and below. Both SOPE and SOGo have been adapted, but you need to use the SOPE source from our source repository of course. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2010-07-23 16:46 | ib_pl | New Issue | |
2010-07-23 16:59 |
|
Note Added: 0001224 | |
2010-07-23 16:59 |
|
Status | new => closed |
2010-07-23 16:59 |
|
Resolution | open => won't fix |
2010-07-23 20:50 | ib_pl | Note Added: 0001235 | |
2010-07-23 20:50 | ib_pl | Status | closed => feedback |
2010-07-23 20:50 | ib_pl | Resolution | won't fix => reopened |
2010-08-14 00:52 | steeeeeveee | Note Added: 0001302 | |
2010-08-19 17:04 | buzzdee | Note Added: 0001313 | |
2010-08-19 17:59 | buzzdee | File Added: patch-sope-core_NGExtensions_NGObjCRuntime_m | |
2010-08-19 18:01 | buzzdee | Note Added: 0001314 | |
2010-08-26 20:27 |
|
Relationship added | related to 0000632 |
2010-08-30 20:32 |
|
Note Added: 0001397 | |
2010-08-30 20:32 |
|
Status | feedback => resolved |
2010-08-30 20:32 |
|
Fixed in Version | => 1.3.2 |
2010-08-30 20:32 |
|
Resolution | reopened => fixed |
2010-08-30 20:32 |
|
Assigned To | => wsourdeau |