pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bootstrap on MacOS



Greetings,

I'm hoping that there is someone here that can help with setting up a source tree on a new MacBook I now have for work.  I'm quite familiar with using pkgsrc on my NetBSD machines, having run it for more than 20 years.  For this reason, pkgsrc is my preferred scheme for package management.
The trouble I'm having is the dependence on the Xcode environment.  Here's a snip of the bootstrap results:

----------
$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" in System Settings to install updates
$ ./bootstrap --pkgdbdir /var/db/pkg --unprivileged --prefix /usr/local/pkg
===> bootstrap command: ./bootstrap --pkgdbdir /var/db/pkg --unprivileged --prefix /usr/local/pkg
===> bootstrap started: Wed Aug 16 10:56:41 AKDT 2023
      .
      .
      .
<lots of successful stuff here>
      .
      .
      .
===> running: (cd /usr/local/pkgsrc/pkgtools/cwrappers && /usr/local/pkgsrc/bootstrap/work/bin/bmake  MAKE_JOBS=1 PKG_COMPRESSION=none PKGSRC_KEEP_BIN_PKGS=no MAKECONF=/usr/local/pkgsrc/bootstrap/work/mk.conf install)

ERROR: This package has set PKG_FAIL_REASON:

ERROR: No suitable Xcode SDK or Command Line Tools installed.

*** Error code 1

Stop.

bmake: stopped in /usr/local/pkgsrc/pkgtools/cwrappers

===> exited with status 1

aborted.
$
--------

I'm expecting an omission in one or another .mk files or perhaps a shell variable needs to be set. I've spent some time browsing for a clue but everyone seems to think I should load MacPorts, which I'd rather not do.

Thanks,
--
Phil Rulon
Fairbanks, Alaska



Home | Main Index | Thread Index | Old Index