Changes between Initial Version and Version 2 of Ticket #33989


Ignore:
Timestamp:
Apr 11, 2012, 2:42:57 AM (12 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

MacPorts does not use your default compiler collection. On Snow Leopard with Xcode 3.x it will use gcc-4.2; with Xcode 4.0 or 4.1 it will use llvm-gcc-4.2; and with Xcode 4.2 it will use clang. What version of Xcode do you have?

At least, that is what's supposed to happen, but we see in the log it's actually using /opt/local/bin/gcc. That's a bug in the port; the port needs to ensure it's UsingTheRightCompiler.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33989

    • Property Summary changed from VTK port installation fails due to "-no-cpp-precomp" compiler option? to VTK: error: 'strcmp' was not declared in this scope
    • Property Owner changed from macports-tickets@… to css@…
    • Property Keywords vtk removed
    • Property Port VTK added; vtk removed
  • Ticket #33989 – Description

    initial v2  
    11Hi. I just tried an installation of VTK (the default, 4.4.2), which failed, apparently with the following error:
    22
     3{{{
    34:info:build c++: unrecognized option '-no-cpp-precomp'
     5}}}
    46
    57I'm on a Macbook Pro running 10.6.8, with an up-to-date MacPorts installation, and gcc 4.5.3 as my default compiler collection.