OpenCV port variants

George Profenza orgicus at
Wed Aug 1 02:58:49 PDT 2012

I can see the variants listed:
opencv has the variants:
   dc1394: Use libdc1394 for FireWire camera. Breaks compatibility with
Apple iSight FireWire camera.
   debug: Enable debug binaries
   python26: Add Python 2.6 bindings
     * conflicts with python27
   python27: Add Python 2.7 bindings
     * conflicts with python26
   qt4: Use qt4 backend for graphical interface.
   tbb: Use Intel TBB
   universal: Build for multiple architectures

I've got an error when trying to enforce the python26 variant:
Error: xorg-libxcb: Variant python26 conflicts with python27
Error: Unable to open port: Error evaluating variants
To report a bug, follow the instructions in the guide:

but so far it seems to install fine with the python27 variant.

Thank you very much for this !

On Wed, Aug 1, 2012 at 10:32 AM, Clemens Lang <cal at> wrote:

> On Wed, Aug 01, 2012 at 10:02:02AM +0100, George Profenza wrote:
> > I'm not sure if it was installed with Qt4 support or Python support
> > though.
> In that case it probably didn't add python or qt4 support, because
> opencv has variants to provide this support; see:
>         `port variants opencv`
> > Is it possible to 'update'/change the port install to also include qt4
> > and python26 ?
> > If so, what commands do I run ? Otherwise, what are my alternatives ?
> If you want qt4 and python26 you could run
>         `sudo port upgrade --enforce-variants opencv +qt4 +python26`
> or for python27
>         `sudo port upgrade --enforce-variants opencv +qt4 +python27`
> --
> Clemens Lang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list