#43131: mpd: fatal error: 'random' file not found --------------------------+----------------------------- Reporter: starkhalo@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mpd | --------------------------+----------------------------- Comment (by starkhalo@…): Replying to [comment:3 ryandesign@…]: Glad to see the ticket active, I have updated my xcode to the latest version on OS X Mountain Lion (5.1.1 build 5B1008) and signed the `sudo xcodebuild -license`. I'm attaching an updated logfile after running `sudo port clean mpd -all`
Replying to [comment:2 starkhalo@…]:
What did you mean "with mp-gcc49"? I see no evidence in your second log of MacPorts gcc49 being used, nor would I expect there to be, since the mpd port does not offer a gcc49 variant; it's using clang, just as it should. just mentioned it because the latest portfile removed the compiler blacklisting PortGroup and I have `port select gcc` set to mp-gcc49 FWIW
Ok. That shouldn't matter. Ports should ignore your `port select gcc` selection. (Any port that doesn't is faulty needs to have that fixed.)
@rouson, your log says:
{{{ :info:build The directory that should contain system headers does not exist: :info:build /usr/include }}}
This indicates you have not installed the Xcode command line tools, which are required for using MacPorts. Please install them by running `xcode-select --install`. (This is specific to Mavericks and later.)
-- Ticket URL: <https://trac.macports.org/ticket/43131#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X