[BUG][FIX][UNIX] VM bugs and make problems

Bert Freudenberg bert at isgnw.CS.Uni-Magdeburg.De
Fri Mar 31 09:46:44 UTC 2000


On Thu, 30 Mar 2000, Michael Rueger wrote:

> 2) The target headless in the make file is missing

You have to run "../conf/configure --without-x" manually from the build
directory ... But you're right, that's not obvious, and there are some
minor (known) bugs - like HEADLESS not getting defined with certain
autoconf versions. A workaround is to put this on top of sqXWindow.c:

#ifndef HAVE_LIBX11
#define HEADLESS
#endif

> Andreas hacked a workaround, but maybe one of the countless ;-)
> config/make wizards can fix this?

You could automate this by inserting the following in the toplevel
Makefile:

reconfigheadless@:
		@$(MAKE) CONFARGS=--without-x reconfig
		@-/bin/rm -f $(TARGET)/sqXWindow.o

Then you just have to type "make reconfigheadless squeak" to build a
headless vm.

  -Bert-





More information about the Squeak-dev mailing list