#67917 closed defect (fixed)

chicken @5.3.0: Should csc be expected to work with only the CLT?

Reported by: saj (Saj Goonatilleke) Owned by: saj (Saj Goonatilleke)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: chicken

Description

Hello,

I was playing around with a few Scheme implementations, and hit the following problem on Chicken.

% csc -o hello-world hello-world.scm
sh: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: No such file or directory
Error: shell command terminated with non-zero exit status 32512: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change libchicken.dylib '/opt/local/lib/libchicken.dylib' 'hello-world'
% stat /Applications/Xcode.app
stat: /Applications/Xcode.app: stat: No such file or directory

While I do not have the full XCode suite installed, I do have the Command Line Tools package installed.

% sw_vers
ProductName:    macOS
ProductVersion: 12.6.7
BuildVersion:   21G651

% xcode-select -p
/Library/Developer/CommandLineTools

% pkgutil --pkg-info=com.apple.pkg.{CLTools_Executables,CLTools_Base,DeveloperToolsCLI,DeveloperToolsCLILeo} 2>/dev/null | sed -n 's/^version: //p'
14.2.0.0.1.1668646533

% command -v install_name_tool
/usr/bin/install_name_tool
% install_name_tool
Usage: /Library/Developer/CommandLineTools/usr/bin/install_name_tool [-change old new] ... [-rpath old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input

Chicken csi works OK.
Gambit gsi works OK.
Gambit gambit-gsc works OK.

Should Chicken csc also work with the CLT distribution?

Thank you.

Change History (1)

comment:1 Changed 14 months ago by saj (Saj Goonatilleke)

Owner: set to saj
Resolution: fixed
Status: newclosed

In f56f3f58bd973f2971e86b68ef6cfd652450b4ea/macports-ports (master):

chicken: remove Xcode requirement

Allows the chicken compiler, csc, to function with only the CLT.

Closes: #67917

Note: See TracTickets for help on using tickets.