Opened 15 years ago
Closed 15 years ago
#23369 closed defect (duplicate)
CPU support error during OpenCV compilation
Reported by: | winrootkit@… | Owned by: | stante@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | ||
Port: | opencv |
Description
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>
Change History (2)
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Keywords: | opencv compile fails removed |
---|---|
Milestone: | MacPorts 1.8.3 |
Owner: | changed from macports-tickets@… to stante@… |
comment:2 Changed 15 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #21014, please search before filing new tickets.
Note: See
TracTickets for help on using
tickets.
As per the ticket guidelines linked prominently from the New Ticket page, please don't set the milestone field, and remember to cc the maintainer.