Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support builds On Mac #330

Open
3 tasks done
seanmcl opened this issue May 23, 2024 · 2 comments
Open
3 tasks done

Support builds On Mac #330

seanmcl opened this issue May 23, 2024 · 2 comments
Assignees
Labels
feature-request Request for a new feature

Comments

@seanmcl
Copy link

seanmcl commented May 23, 2024

Before opening, please confirm:

Bug Category

Other

Describe the bug

I followed the instructions for osx. Got to here:

$ source cedar-drt/set_env_vars.sh
info: downloading component 'lean'
info: installing component 'lean'
cedar-drt/set_env_vars.sh:25: command not found: ldd
awk: syntax error at source line 1
 context is
	BEGIN {exit !( >>>  < <<<  2.27)}
awk: illegal statement at source line 1

ldd is indeed not a thing on mac.

Expected behavior

installation succeeds

Reproduction steps

$  git clone [email protected]:seanmcl/cedar-spec.git
$ brew install elan-init
$ elan default leanprover/lean4:stable
$ cd cedar-spec
$ source cedar-drt/set_env_vars.sh

Code Snippet

// Put your code below this line.

Log output

// Put your output below this line

Additional configuration

No response

Operating System

osx

Additional information and screenshots

No response

@seanmcl seanmcl added bug Something isn't working pending-triage Hasn't been triaged yet labels May 23, 2024
@shaobo-he-aws shaobo-he-aws added backlog and removed pending-triage Hasn't been triaged yet labels May 23, 2024
@aaronjeline aaronjeline self-assigned this Jun 3, 2024
@john-h-kastner-aws john-h-kastner-aws added feature-request Request for a new feature and removed bug Something isn't working labels Jul 2, 2024
@john-h-kastner-aws john-h-kastner-aws changed the title Mac build fails Support builds On Mac Jul 2, 2024
@mwhicks1
Copy link
Contributor

mwhicks1 commented Jul 7, 2024

FYI, that error message can be ignored, very likely. The script is calling ldd to check for an old glibc, which is unlikely to be there on a Mac that was able to install Lean. Maybe we can gate the check with whether you are running on Linux or MacOs.

@mwhicks1
Copy link
Contributor

mwhicks1 commented Jul 7, 2024

(I was able to build on my Mac just fine.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for a new feature
Projects
None yet
Development

No branches or pull requests

5 participants