[SOGo] Compile Error, GDLContentStore/EOAdaptorChannel+GCS.h:
No such file or directory
javier david
sogo@opengroupware.org
Mon, 22 Oct 2007 10:30:47 -0200
hi ludovic / robert,
Ludovic Marcotte escribió:
> Hi Robert,
>
>> Using Debian 4.0
>>
>> Have built latest GNUStep from source.
>> gnustep-base-1.14.0
>> gnustep-make-2.0.1
>>
>>
>> Have got latest SOPE via svn and applied the patch from
>> http://www.inverse.ca/contributions/sogo.html
>>
>> I ran
>> ./configure --with-gnustep --enable-strip --disable-debug
>> make
>>
>> It died at
>>
>> Compiling file EOSelectSQLExpression.m ...
>> EOSelectSQLExpression.m:71: warning: '_OBJC_INSTANCE_0' defined but
>> not used
>> Compiling file EOQuotedExpression.m ...
>> Compiling file EOQualifierScanner.m ...
>> EOQualifierScanner.m:89: warning: '_OBJC_INSTANCE_0' defined but not
>> used
>> Linking library libGDLAccess ...
>> Making all for tool load-EOAdaptor...
>> Compiling file load-EOAdaptor.m ...
>> Linking tool load-EOAdaptor ...
>> Making all for tool connect-EOAdaptor...
>> Compiling file connect-EOAdaptor.m ...
>> Linking tool connect-EOAdaptor ...
>> make[2]: Leaving directory `/usr/src/sogo/sogo/SOPE/sope-gdl1/GDLAccess'
>> Making all in PostgreSQL...
>> make[2]: Entering directory
>> `/usr/src/sogo/sogo/SOPE/sope-gdl1/PostgreSQL'
>> Making all for bundle PostgreSQL...
>> Creating PostgreSQL.gdladaptor/....
>> Compiling file PGConnection.m ...
>> Compiling file PGResultSet.m ...
>> Compiling file PostgreSQL72Expression.m ...
>> Compiling file PostgreSQL72Adaptor.m ...
>> In file included from PostgreSQL72Adaptor.m:30:
>> PostgreSQL72Channel.h:31:50: warning:
>> GDLContentStore/EOAdaptorChannel+GCS.h: No such file or directory
>> In file included from PostgreSQL72Adaptor.m:30:
>> PostgreSQL72Channel.h:44: error: cannot find protocol declaration for
>> 'GCSEOAdaptorChannel'
>> make[3]: *** [obj/PostgreSQL72Adaptor.o] Error 1
>> make[2]: *** [PostgreSQL.all.bundle.variables] Error 2
>> make[2]: Leaving directory
>> `/usr/src/sogo/sogo/SOPE/sope-gdl1/PostgreSQL'
>> make[1]: *** [internal-all] Error 2
>> make[1]: Leaving directory `/usr/src/sogo/sogo/SOPE/sope-gdl1'
>> make: *** [internal-all] Error 2
> For now, just remove:
>
> #include <GDLContentStore/EOAdaptorChannel+GCS.h>
>
> and replace:
>
> @interface PostgreSQL72Channel : EOAdaptorChannel <GCSEOAdaptorChannel>
>
> by:
>
> @interface PostgreSQL72Channel : EOAdaptorChannel
>
> in sope-gdl1/PostgreSQL/PostgreSQL72Channel.h after applying the patch
> and that will do it. We'll soon fix this small issue.
>
> Ludo
i ran into the same issue on gentoo, however i managed to get it
installed through the following "work-around":
1) run configure, make, make install on sope as per the instructions but
without applying the patch
2) aplly the patch
3) re-run configure, make, make install.
do you think this will be alright or should i remove the source lines
indicated and re-run the installation?
thank you very much,
jd.