#34787: HandBrake @0.9.5: error: Carbon.h: No such file or directory -----------------------------+---------------------------------------------- Reporter: ross@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: HandBrake -----------------------------+---------------------------------------------- Comment(by ross@…): Ah, now that you pointed out the error, I was able to see that the compiler is looking in the wrong place for FlatCarbon: {{{ :info:build /opt/local/bin/gcc-apple-4.2 -DHAVE_CONFIG_H -I. -I. -I../src -I./.. /src -fpascal-strings -I/Developer/Headers/FlatCarbon -arch x86_64 -I/opt/local /include -arch x86_64 -std=gnu99 -W -Wstrict-prototypes -Wmissing- prototypes -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wpointer- arith -pipe -c audio_out.c }}} But `/Developer/Headers/FlatCarbon` does not exist; the correct path to the `Developer` dir is: {{{ # xcode-select -print-path /Applications/Xcode.app/Contents/Developer }}} I tried adjusting `configure.cflags-append` in the Portfile but that did not work. However, the following hack ''did'' work: `sudo ln -s /Applications/Xcode.app/Contents/Developer /Developer` -- Ticket URL: <https://trac.macports.org/ticket/34787#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS