Re: SOPE not building on ARM
On Sat, Aug 20, 2005 at 01:20:12AM +0200, Sebastian Ley wrote:
> 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:
> 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
> 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: 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 \
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,
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
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. :)