problems installing on debian

asked 2013-01-14 10:36:42 -0500

RyanN gravatar image

I've been trying to get OpenCV installed on Debian 6.0.6 for the last few days and I'm stuck. I was trying to use this guide dated July 2011. I made a few changes with ccmake, and when I run make I get:

...working fine...
[ 13%] Built target opencv_features2d
[ 13%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ts_gtest.cpp.o
In file included from /usr/include/sys/socket.h:40,
                 from /usr/include/netinet/in.h:25,
                 from /usr/include/arpa/inet.h:23,
                 from /home/langmuir/opencv/OpenCV-2.4.3/modules/ts/src/ts_gtest.cpp:398:
/usr/include/bits/socket.h:370:24: error: asm/socket.h: No such file or directory
In file included from /usr/include/bits/errno.h:25,
                 from /usr/include/errno.h:36,
                 from /home/langmuir/opencv/OpenCV-2.4.3/modules/ts/src/ts_gtest.cpp:456:
/usr/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory
/home/langmuir/opencv/OpenCV-2.4.3/modules/ts/src/ts_gtest.cpp: In function ‘void testing::internal::FailFromInternalError(int)’:

I've done a bunch of searching, but nothing seems to point the way for this issue. I can provide more information if that would be helpful.

edit retag flag offensive close merge delete