#50945: Inkscape fail compiling OSX 10.11.4 ----------------------------------+---------------------- Reporter: daniele.tartarini@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: inkscape | ----------------------------------+---------------------- Comment (by daniele.tartarini@…): Thanks for your prompt reply. in my machine /usr/bin/c++ is a symbolic link to /usr/bin/clang++ (Apple LLVM version 7.3.0 (clang-703.0.29)) I have not modified the configuration files. Please find attached the main.log with the clean install as required. looking forward to solve Replying to [comment:3 devans@…]:
It looks like your compiler is configured incorrectly, that is, something is overriding the ports default compiler settings. Your build uses /usr/bin/c++ but should be using /usr/bin/clang++ and the expected flags -std=c++11 -stdlib=libc++ appear to be missing.
I can't tell how this is happening because your log is not from a clean build and does not show what happened during configure. Have you made any customizations of the port or the configure/build environment variables that might be causing this problem?
Please execute the following commands and attach the resulting log which should show the configuration phase as well as the build phase up to and including the build failure.
{{{ sudo port clean inkscape sudo port install inkscape }}}
-- Ticket URL: <https://trac.macports.org/ticket/50945#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X