2012-03-15 5 views
0

MacPort를 사용하여 opencv를 설치하려고합니다. 내가 시도 :opencv를 설치할 수 없습니다 MacPort에서 MacPort를 사용하는 Mac OSX 10.7.3에서

sudo port selfupdate 
sudo port install opencv 

과 내가 검색 :

---> Computing dependencies for opencv 
---> Dependencies to be installed: dirac cppunit autoconf help2man p5.12-locale-gettext m4 automake libtool faac faad2 ffmpeg XviD apple-gcc42 gcc_select gmake lame libogg libsdl xorg-libXext pkgconfig glib2 xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db46 libedit python_select sqlite3 python27 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXrandr xorg-randrproto xrender xorg-renderproto libtheora libvorbis libvpx yasm openjpeg jbigkit lcms2 jpeg tiff libpng schroedinger orc speex texi2html x264 jasper liboil 
---> Configuring p5.12-locale-gettext 
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) 
Error: Failed to install p5.12-locale-gettext 
Log for p5.12-locale-gettext is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-locale-gettext/p5.12-locale-gettext/main.log 
Error: The following dependencies were not installed: dirac cppunit autoconf help2man p5.12-locale-gettext m4 automake libtool faac faad2 ffmpeg XviD apple-gcc42 gcc_select gmake lame libogg libsdl xorg-libXext pkgconfig glib2 xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db46 libedit python_select sqlite3 python27 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXrandr xorg-randrproto xrender xorg-renderproto libtheora libvorbis libvpx yasm openjpeg jbigkit lcms2 jpeg tiff libpng schroedinger orc speex texi2html x264 jasper liboil 
Error: Status 1 encountered during processing. 
To report a bug, see <http://guide.macports.org/#project.tickets> 

어떤 오류가 될 수 있을까? 어떻게 해결할 수 있습니까?

답변

0

당신은 ..

http://vislab.cs.vt.edu/~vislab/wiki/images/4/44/OpenCV2.0.dmg 

를 다운로드하고 프레임 워크 라이브러리로 dmg 내부의 폴더를 복사 할 수 있습니다

1
Error: Failed to install p5.12-locale-gettext 

조심스럽게를 연 다음 오류 메시지를 읽기가 문제가 정말 무엇인지 알아 제시 로그 :

로그인 p5.12-로케일에서 gettext는 위해시 :/옵션 여전히 문제를 해결할 수없는 경우, 당신은 항상 할 수있는,

을 /local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-locale-gettext/p5.12-locale-gettext/main.log OpenCV 소스 코드을 다운로드하여 Mac에서 컴파일하십시오.

관련 문제