Pkgsrc on OS X

From WTFwiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Introduction

Well, I got this Powerbook and all the included OSS software was laughably out of date. I could have done the Fink thing, but I like pkgsrc...

Build Machine

My OS X machine is a 12" Powerbook 1ghz PowerPC G4 with 768mb of RAM and a 40gb disk running OS X 10.4.

Darwin neural.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc

Bootstrapping pkgsrc

Here's a guide to get you started. I'd recommend you download the pkgsrc tarball from NetBSD's FTP server instead of checking out CVS (unless you like wasting time).

Build Problems

shells/zsh

INSTALL_PROGRAM='/usr/bin/install -c -o root -g wheel -m 555' bmake install clean

For some reason, by default, configure adds the -s argument for INSTALL_PROGRAM which makes bmake install with an error about stripping.