[Openmcl-devel] XCode 3.2.3 how to support kernel compile 1.4
R. Matthew Emerson
rme at clozure.com
Fri Sep 3 19:35:04 UTC 2010
On Sep 3, 2010, at 3:01 PM, Alexander Repenning wrote:
> A new machine with Xcode 3.2.3 trying to build CCL Mac 64 14231
> ? (ccl:rebuild-ccl :full t)
> Rebuilding Clozure Common Lisp using Version 1.6-dev-r14118M-trunk (DarwinX8632)
> ;Building lisp-kernel ...
>> Error: Error(s) during kernel compilation.
>> Error executing make: generic OS error in fork/exec
>> Developer tools may not be installed correctly.
>> While executing: REBUILD-CCL, in process listener(1).
> I remember setting some preference in XCode to support the still necessary 1.4 kernel compile. Is this what this error message suggests? I looked at all the setting in XCode prefs (many) and cannot find anything relevant. Do I really need to reinstall Xcode and hope there is some configuration setting? It's 2.5 GB!
It used to be the case that CCL required the 10.4 SDK to be installed in order to build the lisp kernel. In the trunk, that's no longer necessary. (See http://trac.clozure.com/ccl/ticket/626.)
That doesn't seem to be the problem you're seeing, though. The message "Error executing make: generic OS error in fork/exec" suggests that we can't find the make program. If you type "which make" from a terminal window, I would suppose that will produce no output.
There is an Xcode sub-package called "UNIX Development", which installs programs like make into /usr/bin where they are generally expected to be found. If this package isn't installed, then /usr/bin/make won't exist, and you won't be able to build the lisp kernel. I would have expected this package to be installed by default, but perhaps it isn't.
Apple used to put the Xcode installer in /Applications/Installers; I don't know if they still do that. Maybe it's on your disk or distribution media somewhere. If it's nowhere to be found, I'm afraid you are looking at a big download.
More information about the Openmcl-devel