[MacPorts] #37074: opencv fails to install (opencv @2.4.3, Revision 1)
MacPorts
noreply at macports.org
Wed Nov 21 03:25:30 PST 2012
#37074: opencv fails to install (opencv @2.4.3, Revision 1)
---------------------+--------------------------------
Reporter: david@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port:
---------------------+--------------------------------
opencv @2.4.3, Revision 1 fails to install. From the log:
{{{
:info:configure CMake Error at
/opt/local/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:43
(MESSAGE):
:info:configure Could not find compiler set in environment variable CXX:
:info:configure
:info:configure /opt/local/bin/g++-apple-4.2.
}}}
Installing the `apple-gcc42` port fixes the problem.
I looked at the opencv Portfile and it doesn't specify `apple-gcc42`
explicitly, it only blacklists gcc-4.0 and llvm-gcc-4.2 and clang.
I don't know if it is possible to specify "any 1 of x or y or z compiler
ports" as a dependency, and give a nicer error message if that dependency
isn't met? We probably don't want to explicitly set `apple-gcc42` as a
build requirement, because the user might have another valid compiler
available.
--
Ticket URL: <https://trac.macports.org/ticket/37074>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list