pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/46117: graphics/opencv doesn't build on OS X
>Number: 46117
>Category: pkg
>Synopsis: graphics/opencv doesn't build on OS X
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 01 08:30:00 +0000 2012
>Originator: YAMAMOTO Takashi
>Release: pkgsrc current
>Organization:
>Environment:
>Description:
i got the following on Mac OS X 10.6. (snow leopard)
Scanning dependencies of target libtiff
[ 0%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_aux.o
In file included from
/Users/takashi/wrkobjdir/graphics/opencv/work/.buildlink/include/tiff.h:30,
from
/Users/takashi/wrkobjdir/graphics/opencv/work/.buildlink/include/tiffio.h:33,
from
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tiffiop.h:67,
from
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tif_aux.c:32:
/Users/takashi/wrkobjdir/graphics/opencv/work/.buildlink/include/tiffconf.h:18:1:
warning: "TIFF_INT64_T" redefined
In file included from
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tiffiop.h:33,
from
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tif_aux.c:32:
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tif_config.h:43:1:
warning: this is the location of the previous definition
In file included from
/Users/takashi/wrkobjdir/graphics/opencv/work/.buildlink/include/tiffio.h:33,
from
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tiffiop.h:67,
from
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tif_aux.c:32:
/Users/takashi/wrkobjdir/graphics/opencv/work/.buildlink/include/tiff.h:77:
error: redefinition of typedef 'int64'
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tiffiop.h:64:
error: previous declaration of 'int64' was here
/Users/takashi/wrkobjdir/graphics/opencv/work/.buildlink/include/tiff.h:78:
error: redefinition of typedef 'uint64'
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tiffiop.h:65:
error: previous declaration of 'uint64' was here
In file included from
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tiffiop.h:68,
from
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tif_aux.c:32:
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tif_dir.h:85:
error: expected specifier-qualifier-list before 'TIFFTagValue'
In file included from
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tif_aux.c:32:
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tiffiop.h:136:
error: expected specifier-qualifier-list before 'TIFFHeader'
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tif_aux.c:
In function '_TIFFCheckRealloc':
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tif_aux.c:50:
error: 'TIFF' has no member named 'tif_clientdata'
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tif_aux.c:
In function 'TIFFVGetFieldDefaulted':
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tif_aux.c:185:
error: 'TIFF' has no member named 'tif_data'
/Users/takashi/wrkobjdir/graphics/opencv/work/OpenCV-2.2.0/3rdparty/libtiff/tif_aux.c:249:
error: 'TIFF' has no member named 'tif_clientdata'
gnumake[2]: *** [3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_aux.o] Error 1
gnumake[1]: *** [3rdparty/libtiff/CMakeFiles/libtiff.dir/all] Error 2
gnumake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /Users/takashi/pkgsrc/graphics/opencv
*** Error code 1
Stop.
bmake: stopped in /Users/takashi/pkgsrc/graphics/opencv
>How-To-Repeat:
>Fix:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index