rmgls <rmgls at orange.fr> wrote: > On Mon, 26 Oct 2>15 16:13:24 -0500 Ryan Schmidt <ryandesign at macports.org> > wrote: > >> Yes. Not having /usr/include would be a problem. /usr/include is = >> provided by the Xcode command line tools, so install that. > > Hello Ryan, > > then i do not understand, please look: > xcode-select --install > xcode-select: error: command line tools are already installed, use "Software > Update" to install updates
I don't know what happened on your system, but on mine: % ls -l /usr/include/unistd.h -r--r--r-- 1 root wheel 26993 23 Aug 07:40 /usr/include/unistd.h % pkgutil --file-info /usr/include/unistd.h volume: / path: /usr/include/unistd.h pkgid: com.apple.pkg.DevSDK pkg-version: 10.11.0.0.1.1440659988 install-time: 1443462826 uid: 0 gid: 0 mode: 444 pkgid: com.apple.pkg.DevSDK_OSX1011 pkg-version: 7.1.0.0.1.1444952191 install-time: 1445466199 uid: 0 gid: 0 mode: 444 Maybe try downloading the command line tools manually from the developer downloads site and reinstalling? > xcode-select -p > /Applications/Xcode.app/Contents/Developer That is the correct path for xcode-select to be using. > is it a way to set this default path? > /applications/xcode.app/contents/Developer/Platforms/MacOSX.platform/developer/sdks/MacOSX10.11.sdk/usr/include You don't want to do that. - Josh _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users