Re: Bootstrapping on Mavericks [Re: import wip/leveldb to pkgsrc/databases]
Jonathan Perkin <[email protected]> Fri, 22 Nov 2013 19:18:09 +0000
| Newsgroups | gmane.os.netbsd.devel.packages,gmane.os.netbsd.devel.pkgsrc.wip.general |
|---|---|
| Message-ID | <[email protected]> |
* On 2013-11-22 at 12:35 GMT, Mike M. Volokhov wrote: > 17 Nov 2013, 21:43, Lloyd Parkes <[email protected]> wrote: > > > > On 17/11/2013, at 9:59 pm, Mike M. Volokhov <[email protected]> wrote: > >> > >> I usually also test packages on Mac OS X, but, unfortunately, after > >> updating my instance to Mavericks pkgsrc stopped working, seem due > >> to missed compiler (refers to gcc 3.x now), removed cvs (so no easy > >> way to update sources from upstream anymore), and now broken bootstrap > >> (redefinition of 'isblank'). Hence I skipped this check, sorry. > > > > You need to tell pkgsrc that your compiler is clang with the bootstrap > > flag "--compiler clang". It took me a while to work this out. > > Yeah, that simplified whole lotta things. Thank you for the tip! > > However, fresh pkgsrc installation still halted at libtool-base > with missing dlopen() dependency message. The mk/dlopen.builtin.mk > tries to find some header files, but without success - Mavericks > has no /usr/include with default XCode installation (how to change > that at App Store? o_O), so it's required to install command line > tools as well: > > xcode-select --install You don't need to do this with pkgsrc trunk, there are a number of changes to accommodate XCode 5. -- Jonathan Perkin - Joyent, Inc. - www.joyent.com