In my continuing exploration around FreeBSD and 3.10-4 I thought I'd try Bert's "configure; make" on a fresh checkout of the repository.
First, I must note that the lang/squeak port works out of the box. This uses the Squeak-3.9-7 VM.
I tried to build the 3.10-4 VM on a 32 bit machine this time Just In Case. The attached make-configure.txt details the whole process of checking out the repository, making the bld directory, etc.
Short version:
/usr/home/frank/temp/platforms/unix/plugins/ClipboardExtendedPlugin/sqUnixEx tendedClipboard.c:31:21: error: X11/Xlib.h: No such file or directory /usr/home/frank/temp/platforms/unix/plugins/ClipboardExtendedPlugin/sqUnixEx tendedClipboard.c:32:22: error: X11/Xatom.h: No such file or directory /usr/home/frank/temp/platforms/unix/plugins/ClipboardExtendedPlugin/sqUnixEx tendedClipboard.c:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token *** Error code 1
Stop in /usr/home/frank/temp/bld/ClipboardExtendedPlugin. *** Error code 1
Stop in /usr/home/frank/temp/bld.
Now Xlib.h and Xatom.h are in well-known locations (for FreeBSD, at least):
frank@gont$ locate Xlib.h /usr/local/include/X11/Xlib.h frank@gont$ locate Xatom.h /usr/local/include/X11/Xatom.h
This is exactly the same issue I had with building 3.10-4 on a 64-bit FreeBSD machine.
Ah, I've just noticed _why_ (I think) the port works but not 3.10-4. The port's makefile says this:
CONFIGURE_ARGS+= --libdir=${PREFIX}/share \ --without-quartz \ LDFLAGS="-L${LOCALBASE}/lib" \ CPPFLAGS="-I${LOCALBASE}/include"
So a simple "configure; make; make install" doesn't work on FreeBSD. If this is OK (in other words, if you simply have to specify LDFLAGS and CPPFLAGS), then perhaps saying so in a README might be sufficient?
frank