Hi

I tried with this and then it still missed some files so I added another paths 
accordingly. I also hashed out this Werror line (don't know if it was the right 
place to do it). Finally I added/modified the following lines
ADDITIONAL_INCLUDE_DIRS += \        
-I/usr/local/samba/include \        
-I/root/SOGo/SoObjects \        
-I/root/SOGo/OpenChange/unrtf-0.21.2/src \
#       -Werror -Wall \

to

/root/SOGo/OpenChange/GNUmakefile

in the end I have some new error massages:

root@ubuntu:~/SOGo/OpenChange# make
This is gnustep-make 2.6.0. Type 'make print-gnustep-make-help' for help.
Making all in subprojects of bundle SOGoBackend...
Making all for subproject unrtf...
make[4]: Nothing to be done for `internal-subproject-compile'.
Making all for bundle SOGoBackend...
make[3]: Nothing to be done for `internal-bundle-compile'.
 Copying resources into the bundle wrapper...
 Copying resources from subprojects into the bundle wrapper...
Making all for library MAPIStoreSOGo...
 Compiling file MAPIStoreSOGo.m ...
MAPIStoreSOGo.m: In function âsogo_backend_initâ:
MAPIStoreSOGo.m:73:20: error: âSAMBA_PREFIXâ undeclared (first use in this 
function)
MAPIStoreSOGo.m:73:20: note: each undeclared identifier is reported only once 
for each function it appears in
MAPIStoreSOGo.m:73:33: error: expected â}â before string constant
MAPIStoreSOGo.m:84:43: error: âenvironâ undeclared (first use in this function)
MAPIStoreSOGo.m:93:41: error: âSOGO_BUNDLES_DIRâ undeclared (first use in this 
function)
MAPIStoreSOGo.m:93:3: warning: passing argument 1 of 
âscanForProductsInDirectory:â from incompatible pointer type [enabled by 
default]
MAPIStoreSOGo.m:93:3: note: expected âstruct NSString *â but argument is of 
type âchar **â
MAPIStoreSOGo.m:96:51: error: âBACKEND_BUNDLE_NAMEâ undeclared (first use in 
this function)
MAPIStoreSOGo.m:96:3: warning: passing argument 1 of âarrayWithObject:â from 
incompatible pointer type [enabled by default]
MAPIStoreSOGo.m:96:3: note: expected âidâ but argument is of type âchar **â
MAPIStoreSOGo.m: In function âmapistore_init_backendâ:
MAPIStoreSOGo.m:1279:42: warning: assignment from incompatible pointer type 
[enabled by default]
make[3]: *** [obj/MAPIStoreSOGo.obj/MAPIStoreSOGo.m.o] Error 1
make[2]: *** [internal-library-all_] Error 2
make[1]: *** [MAPIStoreSOGo.all.library.variables] Error 2
make: *** [internal-all] Error 2

so.. I'm confused again. I have a feeling that sth must have been done wrong 
somewhere else because I doubt that so many changes in source files should be 
made before compilation for SOGo2beta5.
What's your opinion?

Regards,
BK

> -----Original Message-----
> From: Jean-Michel OLTRA [mailto:[email protected]]
> Sent: Thursday, March 08, 2012 10:37 PM
> To: [email protected]
> Subject: Re: [SOGo] Probmelm whil installing SOGo2beta5 from sources
> 
> Try to add a line
> 
> -I/usr/local/samba/include \
> 
> in the GNUmakefile of SOGo/OpenChange folder, in the
> ADDITIONAL_INCLUDE_DIRS part?


-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to