One more thing. I set the CFLAGS, CXXFLAGS, CPPFLAGS variables (I know that
probably only the first one is needed but just in case...) with
-fconstant-string-class and exported them but make messages=yes doesn't
show that -f flag anywhere. I tried also to compile just SaxAttributeList.m
by hand passing the -f flag and it compiled. So the question is why is make
ignoring CFLAGS variable?. Everything seems pointing to a silly mistake on
my side but I can't see it.


2012/12/31 Luis Angel Fernandez Fernandez <[email protected]>

>   Hi,
>
>   I followed the instructions on that link but I can't still compile SOPE.
>
>   This is the output I get:
>
>    ./configure --with-gnustep --enable-debug --disable-strip
>
>       GNUstep environment:
>   system: /usr/System
>   local:  /usr/Local
>   user:   /root/GNUstep
>   path:   /usr/System:/usr/Network:/usr/Local:/root/GNUstep
>   flat:   yes
>   arch:   x86_64-redhat-linux-gnu
>   combo:  gnu-gnu-gnu
>
> Note: will install in GNUSTEP_LOCAL_ROOT: /usr/Local
>
> Configuration:
>   FHS:    install in GNUstep tree
>   debug:  yes
>   strip:  no
>   prefix:     /usr/Local
>   frameworks:
>   gstep:      /usr/lib64/GNUstep/Makefiles
>   config:     /root/SOPE/config.make
>   script:     /usr/lib64/GNUstep/Makefiles/GNUstep.sh
>
> creating: /root/SOPE/config.make
> optional library found: xml2
> optional library found: ldap
> optional library found: ssl
> optional library found: pq
> failed to link optional library: mysqlclient
> configuring NGStreams library .... done (log in config-NGStreams.log).
>
> and then when I execute make:
>
> This is gnustep-make 2.6.2. Type 'make print-gnustep-make-help' for help.
> Making all in sope-xml ...
> Making all in SaxObjC ...
> Making all for library libSaxObjC...
>  Compiling file SaxAttributeList.m ...
> SaxAttributeList.m: In function '-[SaxAttributeList
> addAttribute:type:value:]':
> SaxAttributeList.m:90: error: cannot find interface declaration for
> 'NXConstantString'
> make[5]: *** [obj/libSaxObjC.obj/SaxAttributeList.m.o] Error 1
> make[4]: *** [internal-library-all_] Error 2
> make[3]: *** [libSaxObjC.all.library.variables] Error 2
> make[2]: *** [internal-all] Error 2
> make[1]: *** [internal-all] Error 2
> make: *** [internal-all] Error 2
>
> Any idea about what I'm missing?
>
>   Thanks in advance,
>
>
>
> 2012/12/28 Ludovic Marcotte <[email protected]>
>
>> On 28/12/12 08:59, Luis Angel Fernandez Fernandez wrote:
>>
>>>   I tried SOPE 2.0.3a from the web, I looked for that error message and
>>> I tried the -fconstant-string flag (although I'm not sure if make is taking
>>> it in account), I tried to find a recent libFoundation version... is there
>>> guide, tutorial or howto about installing SOGo/SOPE from source?
>>>
>>
>> http://www.sogo.nu/english/nc/**support/faq/article/how-do-i-**
>> compile-sogo-2.html<http://www.sogo.nu/english/nc/support/faq/article/how-do-i-compile-sogo-2.html>
>>
>> --
>> Ludovic Marcotte
>> +1.514.755.3630  ::  www.inverse.ca
>> Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
>> www.packetfence.org)
>>
>> --
>> [email protected]
>> https://inverse.ca/sogo/lists
>>
>
>
>
> --
> Linkedin profile (http://es.linkedin.com/in/lafdez)
> G+ profile (https://plus.google.com/u/0/115320207805121303027/about)
> Twitter (@lafdez @_lafdez_)
> Identi.ca (@lafdez)
>



-- 
Linkedin profile (http://es.linkedin.com/in/lafdez)
G+ profile (https://plus.google.com/u/0/115320207805121303027/about)
Twitter (@lafdez @_lafdez_)
Identi.ca (@lafdez)
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to