[Vm-dev] for Unix

Bert Freudenberg bert at freudenbergs.de
Mon Apr 12 14:32:22 UTC 2010

The top-level makefile fails:

	make: *** No rule to make target `bld/squeakvm', needed by `all'.  Stop.

IMHO, "bld/squeakvm" should just be removed, right? 

I wanted Sugar's "jhbuild" to use this new tarball release instead of pulling from the obsolete olpc branch. But I need to figure out another way anyway, because jhbuild needs to set a prefix and that's not supported by the top-level makefile anyway.

Jhbuild supports cmake natively, but complains about not finding CMakeLists.txt (see below). Jhbuild also supports "patches". So I might be able to add a file locally that does the necessary magic - probably autogen.sh as I had before in the olpc-branch:


Does anyone have a better idea for automating a squeak-vm build from source?

- Bert -

[bert at localhost sugar-jhbuild]$ ./sugar-jhbuild buildone squeak
*** Checking out squeak *** [1/1]
wget --continue http://squeakvm.org/unix/release/Squeak- -O /home/bert/sugar-jhbuild/source/Squeak-
--2010-04-12 16:15:24--  http://squeakvm.org/unix/release/Squeak-
Resolving squeakvm.org...,
Connecting to squeakvm.org||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3623512 (3.5M) [application/x-gzip]
Saving to: “/home/bert/sugar-jhbuild/source/Squeak-”

100%[==========================================================================================>] 3,623,512   1.00M/s   in 3.7s    

2010-04-12 16:15:28 (964 KB/s) - “/home/bert/sugar-jhbuild/source/Squeak-” saved [3623512/3623512]

gunzip -dc "/home/bert/sugar-jhbuild/source/Squeak-" | tar xf -
*** Configuring squeak *** [1/1]
cmake -DCMAKE_INSTALL_PREFIX=/home/bert/sugar-jhbuild/install /home/bert/sugar-jhbuild/source/Squeak-
CMake Error: The source directory "/home/bert/sugar-jhbuild/source/Squeak-" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
*** Error during phase configure of squeak: ########## Error running cmake -DCMAKE_INSTALL_PREFIX=/home/bert/sugar-jhbuild/install /home/bert/sugar-jhbuild/source/Squeak- *** [1/1]

More information about the Vm-dev mailing list