Repository navigation
bootstrapping on mac m1 #93
Copy link
Copy link
Closed
Description
Activity
We don't currently support ad-hoc installations of XCode, we look for specific SDKs depending on the OS. The code that does that is here:
https://github.com/NetBSD/pkgsrc/blob/trunk/mk/platform/Darwin.mk#L100-L130
What you can do is set your own
OSX_SDK_PATHinmk.confpointing at wherever the actual SDK is installed on your system.Thanks for super quick answer!
yes that worked and also this :sudo OSX_SDK_PATH=`/usr/bin/xcrun --sdk macosx --show-sdk-path` ./bootstrap --prefix /opt/pkgsrc1 --prefer-pkgsrc yes --make-jobs 4Reacted by Nik- added a commit that references this issue
on Nov 27, 2021 - added a commit that references this issue
on Feb 20, 2022 - added a commit that references this issue
on Apr 20, 2022 - added a commit that references this issue
on Sep 16, 2022 - added 2 commits that reference this issue
on Sep 25, 2022 - added a commit that references this issue
on Dec 17, 2022 - added 2 commits that reference this issue
on Jan 22, 2023 - added a commit that references this issue
on Apr 1, 2023 - added a commit that references this issue
on Apr 30, 2023 113 remaining items
- added 7 commits that reference this issue
on May 15, 2026 - added a commit that references this issue
on May 21, 2026 - added a commit that references this issue
on Jun 2, 2026 - added a commit that references this issue
on Jun 12, 2026 - added a commit that references this issue
on Jul 4, 2026 - added 2 commits that reference this issue
on Aug 3, 2026 - added a commit that references this issue
on Aug 25, 2026
Metadata
Metadata
Assignees
Labels
No labels
im trying to bootstrap (after installing the binary https://pkgsrc.joyent.com/install-on-osx/, i wanted the whole source tree to build stuff).
Running :
sudo ./bootstrap --prefix /opt/pkgsrc --prefer-pkgsrc yes --make-jobs 4will end like this (exchanged the actual path with $HOME so its like /Users/user/...):AFAIK the latest Xcode Beta should be enough. Do you need to run Beta macOS aswell?
Have not really dug into things thought i might ask to see if someone else had run into this problem?
thanks in advance