Home My Page Projects Code Snippets Project Openings SML/NJ Bugs
Summary Activity Tracker Lists

[#89] Building on OS X Lion

Date:
2012-02-02 12:59
Priority:
3
State:
Closed
Submitted by:
Bug Submitter (webuser)
Assigned to:
John Reppy (jhr)
Machine Architecture:
x86
Operating System:
MacOS X
Component:
Other
Resolution:
Fixed
Severity:
Cosmetic
OS Version:
OS X Lion
SML/NJ Version:
110.74
Keywords:
osx, building
URL:
Transcript (of reproduction):
echo v-x86-darwin v-x86-darwin cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -I../config -I../objs -I../include ../config/gen-common.c ../config/gen-common.c:8:19: error: stdio.h: No such file or directory ../config/gen-common.c:9:20: error: stdlib.h: No such file or directory In file included from ../config/gen-common.c:10: ../config/gen.h:11: error: expected �=�, �,�, �;�, �asm� or �__attribute__� before �*� token ../config/gen.h:12: error: expected �)� before �*� token ../config/gen-common.c:16: error: expected �=�, �,�, �;�, �asm� or �__attribute__� before �*� token ../config/gen-common.c:47: error: expected �)� before �*� token make[1]: *** [gen-common.o] Error 1 make: *** [all] Error 2
Source (for reproduction):
N/A
Summary:
Building on OS X Lion

Detailed description
When building on my Mac, I get errors due to the build script trying to load include files from /Developer/SDKs/MacOSX10.5.sdk. As I am using Lion and has a fairly recent clean installation of the developer tools, I do not have this directory. Symlinking /Developer/SDKs/MacOSX10.7.sdk to the location fixes the problem, but it would probably be nicer to go with the newer SDK or auto-detect the newest one in the build process).
Submitted via web form by Michael Westergaard m.westergaard@tue.nl

Comments:

Message  ↓
Date: 2012-08-02 17:36
Sender: John Reppy

Fixed for 110.75

Date: 2012-02-05 12:36
Sender: John Reppy

Known issue, but we need to automate the handling of it in config/install.sh.

Attached Files:

Changes

Field Old Value Date By
status_idOpen2012-08-02 17:36jhr
close_date2012-08-02 17:362012-08-02 17:36jhr
ResolutionNone2012-08-02 17:36jhr
assigned_tonone2012-02-05 12:36jhr