swarm-hackers
[Top][All Lists]
Advanced

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

[swarm-hackers] Old autoconf build process is broken in current trunk


From: Bill Northcott
Subject: [swarm-hackers] Old autoconf build process is broken in current trunk
Date: Wed, 25 Nov 2009 10:30:46 +1100

It helps to sleep on things.  This morning all is obvious.

The problem looks like this:

> /bin/sh ../../libtool   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. 
> -I../../../../src/collections  -I../.. -I. -I.. 
> -I../../../../src/collections/.. -I../../../../src/collections/../defobj 
> -I../../../../src/collections/../misc 
> -I../../../../src/collections/../objectbase 
> -I../../../../src/collections/../random  -DGNUSTEP -I/Library/Headers 
> -I/Library/Headers/GNUstepBase -I/Library/Headers  -D_GNU_SOURCE 
> -DBUILDING_SWARM   -g -O2 -B ../../../../tools -fgnu-runtime 
> -fno-strict-aliasing -Wall -Wno-import -Wno-protocol -Wno-long-long 
> -Wno-unknown-pragmas -MT Array.lo -MD -MP -MF .deps/Array.Tpo -c -o Array.lo 
> ../../../../src/collections/Array.m
> 
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. 
> -I../../../../src/collections -I../.. -I. -I.. 
> -I../../../../src/collections/.. -I../../../../src/collections/../defobj 
> -I../../../../src/collections/../misc 
> -I../../../../src/collections/../objectbase 
> -I../../../../src/collections/../random -DGNUSTEP -I/Library/Headers 
> -I/Library/Headers/GNUstepBase -I/Library/Headers -D_GNU_SOURCE 
> -DBUILDING_SWARM -g -O2 -B ../../../../tools -fgnu-runtime 
> -fno-strict-aliasing -Wall -Wno-import -Wno-protocol -Wno-long-long 
> -Wno-unknown-pragmas -MT Array.lo -MD -MP -MF .deps/Array.Tpo -c 
> ../../../../src/collections/Array.m  -fno-common -DPIC -o .libs/Array.o
> 
> In file included from ../../../../src/collections/Array.m:26:
> 
> ../../../../src/collections/../collections/Array.h:26:29 
> ../../../../src/collections/../collections/Array.h:26:29: error: 
> Swarm/Collection.h: No such file or directory
> 
> In file included from ../../../../src/collections/../collections/Array.h:27
>                  from ../../../../src/collections/Array.m:26:
> 



As things are currently set up a Makefile build will only work in the source 
tree.  If you try to configure and make in a separate build directory you get 
hundreds of errors like the above.

The problem is lines like:

Array.h:26
#import <Swarm/Collection.h>

Unless the build is in the source tree this will fail because there is no 
'Swarm' symlink in the source tree.

That line used to read:
#import <collections/Collection.h>

Which is OK.

This is a BIG problem, and I don't want to wade in to try and fix it without 
suggestions from Scott and others.

Bill

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]