#41836: mpich-default @3.0.4_8 -----------------------+-------------------------------- Reporter: kobayos@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: -----------------------+-------------------------------- /usr/bin/llvm-gcc-4.2 is adopted as a default c compiler for mpicc-mp in this port with default variants "+gcc48" even if the compiler does not exist. This may happens if Xcode 5 is cleanly installed since Xcode 5 does not include the compiler. As a consequence, although installation of this port successfully finished, an error, "/opt/local/bin/mpicc-mp: line 290: /usr/bin/llvm- gcc-4.2: No such file or directory", always occurs if mpicc-mp is used. I experienced this error on a combination of OS X 10.8.5, Xcode 5.0.2. Xcode 5 was cleanly installed, not upgraded from Xcode 4. This error does not occur if Xcode 5 is upgraded from Xcode 4. In this case, it seems that /usr/bin/llvm-gcc-4.2 is still existing and usable. I checked it on another computer. Its combination of the versions of OS X and Xcode is the same with the system in which the error occurs. In this system, Xcode 5 was upgraded from Xcode 4. Additionally, if a variant "+gcc47", the c compiler is changed to /usr/bin/clang. Thank you. -- Ticket URL: <https://trac.macports.org/ticket/41836> MacPorts <http://www.macports.org/> Ports system for OS X