[MacPorts] #23369: CPU support error during OpenCV compilation
MacPorts
noreply at macports.org
Wed Jan 20 17:48:23 PST 2010
#23369: CPU support error during OpenCV compilation
---------------------------------------+------------------------------------
Reporter: winrootkit@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts 1.8.3
Component: ports | Version: 1.8.2
Keywords: opencv compile fails | Port: opencv
---------------------------------------+------------------------------------
Whenever I try to compile OpenCV I get an error, no matter if I configure
i386 or x86_64
----
{{{
DooMMasteRs-MacBook:~ doommaster$ sudo port -d install opencv
//all the dep stuff
DEBUG: Executing org.macports.main (opencv)
DEBUG: Skipping completed org.macports.fetch (opencv)
DEBUG: Skipping completed org.macports.checksum (opencv)
DEBUG: Skipping completed org.macports.extract (opencv)
DEBUG: Skipping completed org.macports.patch (opencv)
DEBUG: Skipping completed org.macports.configure (opencv)
---> Building opencv
DEBUG: Executing org.macports.build (opencv)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_opencv/work/opencv-1.0.0"
&& /usr/bin/make -j2 all'
/usr/bin/make all-recursive
Making all in cxcore
Making all in src
if /bin/sh ../../libtool --tag=CXX --mode=compile /usr/bin/g++-4.2
-DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../../cxcore/include -I../..
-DNDEBUG -I/opt/local/include -Wall -fno-rtti -pipe -O3 -g
-march=prescott -ffast-math -fomit-frame-pointer -O2 -I/opt/local/include
-L/opt/local/lib -arch x86_64 -MT dummy.lo -MD -MP -MF ".deps/dummy.Tpo"
-c -o dummy.lo dummy.cpp; \
then mv -f ".deps/dummy.Tpo" ".deps/dummy.Plo"; else rm -f
".deps/dummy.Tpo"; exit 1; fi
if /bin/sh ../../libtool --tag=CXX --mode=compile /usr/bin/g++-4.2
-DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../../cxcore/include -I../..
-DNDEBUG -I/opt/local/include -Wall -fno-rtti -pipe -O3 -g
-march=prescott -ffast-math -fomit-frame-pointer -O2 -I/opt/local/include
-L/opt/local/lib -arch x86_64 -MT cxalloc.lo -MD -MP -MF
".deps/cxalloc.Tpo" -c -o cxalloc.lo cxalloc.cpp; \
then mv -f ".deps/cxalloc.Tpo" ".deps/cxalloc.Plo"; else rm -f
".deps/cxalloc.Tpo"; exit 1; fi
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I. -I../.. -I.
-I../../cxcore/include -I../.. -DNDEBUG -I/opt/local/include -Wall -fno-
rtti -pipe -O3 -g -march=prescott -ffast-math -fomit-frame-pointer -O2
-I/opt/local/include -L/opt/local/lib -arch x86_64 -MT dummy.lo -MD -MP
-MF .deps/dummy.Tpo -c dummy.cpp -fno-common -DPIC -o .libs/dummy.o
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I. -I../.. -I.
-I../../cxcore/include -I../.. -DNDEBUG -I/opt/local/include -Wall -fno-
rtti -pipe -O3 -g -march=prescott -ffast-math -fomit-frame-pointer -O2
-I/opt/local/include -L/opt/local/lib -arch x86_64 -MT cxalloc.lo -MD -MP
-MF .deps/cxalloc.Tpo -c cxalloc.cpp -fno-common -DPIC -o .libs/cxalloc.o
cxalloc.cpp:1: error: CPU you selected does not support x86-64 instruction
set
cxalloc.cpp:1: error: CPU you selected does not support x86-64 instruction
set
dummy.cpp:1: error: CPU you selected does not support x86-64 instruction
set
dummy.cpp:1: error: CPU you selected does not support x86-64 instruction
set
make[3]: *** [cxalloc.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [dummy.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_opencv/work/opencv-1.0.0"
&& /usr/bin/make -j2 all " returned error 2
DEBUG: Backtrace: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_opencv/work/opencv-1.0.0"
&& /usr/bin/make -j2 all " returned error 2
while executing
"command_exec build"
(procedure "portbuild::build_main" line 9)
invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for opencv):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
}}}
--
Ticket URL: <http://trac.macports.org/ticket/23369>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list