[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SOPE not building on ARM

On Sat, Aug 20, 2005 at 01:20:12AM +0200, Sebastian Ley wrote:
> Hello,
> my package SOPE does not build on ARM and I fail to understand why. I would 
> greatly appreciate any assitance of you to track down the problem.
> The build log in question:
> http://buildd.debian.org/fetch.php?&pkg=sope&ver=4.4rc.2-3&arch=arm&stamp=1124466521&file=log&as=raw
> It seems there is a problem with autotools:
> In file included from NGBase64Stream.m:22:
> common.h:31:20: error: config.h: No such file or directory
> However:
> ./configure
> [...]
> creating config.h
> SOPE builds on several other architectures.
> Please CC me on replies, as I am not subscribed to debian-arm.

Well trying to build it here (on an armv5tel system) I get this:

make[3]: Entering directory `/tmp/sope/sope-4.4rc.2/sope-core/NGStreams'
Making all for library libNGStreams...
gcc NGBase64Stream.m -c \
      -MMD -MP -pipe -Wall -Wno-protocol -DHAVE_OPENSSL=1 -DOPENSSL_NO_KRB5 -Wall -Wno-protocol -I/usr/lib/opengroupware.org/System/Library/Headers/libFoundation/arm/linux-gnu/GNU -DGNUSTEP=1 -DWITH_GSTEP_MAKE=1 -DLIB_FOUNDATION_LIBRARY=1 -DFD_WITH_GSMAKE=1 -DGNUSTEP=1 -DGNU_RUNTIME=1 -D_REENTRANT -fPIC -DGSWARN -DGSDIAGNOSE -O0 -fno-strict-aliasing -fgnu-runtime -I.. -I../NGStreams/ -I../../sope-xml ****-Iarm/linux-gnu**** -INGStreams -I../NGExtensions -I.. -I. -I/root/GNUstep/Library/Headers -I/usr/local/lib/opengroupware.org/Local/Library/Headers -I/usr/local/lib/opengroupware.org/Network/Library/Headers -I/usr/lib/opengroupware.org/System/Library/Headers -I/root/GNUstep/Library/Headers/libFoundation -I/usr/local/lib/opengroupware.org/Local/Library/Headers/libFoundation -I/usr/local/lib/opengroupware.org/Network/Library/Headers/libFoundation -I/usr/lib/opengroupware.org/System/Library/Headers/libFoundation -I/root/GNUstep/Library/Headers/libFoundation/./GNU -I/usr/local/lib/opengroupware.org/Local/Library/Headers/libFoundation/./GNU -I/usr/local/lib/opengroupware.org/Network/Library/Headers/libFoundation/./GNU -I/usr/lib/opengroupware.org/System/Library/Headers/libFoundation/./GNU \
       -o shared_obj/NGBase64Stream.o
In file included from NGBase64Stream.m:22:
common.h:31:20: config.h: No such file or directory
In file included from ../NGExtensions/NGExtensions/EODataSource+NGExtensions.h:25,
                 from ../NGExtensions/NGExtensions/NGExtensions.h:33,
                 from common.h:73,
                 from NGBase64Stream.m:22:

It appears to me, that since it is trying to build in
sope-core/NGStreams/armv5tel (as returned by uname -m) and this is where
config.h is found, then it really should be using -Iarmv5tel/gnu-linux
rather than -Iarm/gnu-linux.  See between the '****'s above.

Either the build dir is set wrong by configure, or the include path is
set wrong.

ruggedrouter:/tmp/sope/sope-4.4rc.2# find . -name config.h

I tried to track down where it is set, but I think this build system
rivals imake in stupidity of complexity. :)

Len Sorensen

Reply to: