[MacPorts] #21435: transcode-1.1.4 build error on OS X 10.6 Snow Leopard
MacPorts
noreply at macports.org
Wed Sep 16 19:35:07 PDT 2009
#21435: transcode-1.1.4 build error on OS X 10.6 Snow Leopard
-----------------------------------------------+----------------------------
Reporter: mobileseth@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: transcode 1.1.4 10.6 snow leopard | Port: transcode
-----------------------------------------------+----------------------------
Hello-
transcode-1.1.4 fails to build for me on OS X 10.6 snow leopard. I
believe that this is an identical problem to ticket 21011:
http://trac.macports.org/ticket/21011 . I tried the same solution and it
fixed the problem for me.
Error:
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2
-DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I/opt/local/include -O2
-arch x86_64 -no-cpp-precomp -D_INTL_REDIRECT_MACROS -MT imgconvert.lo -MD
-MP -MF .deps/imgconvert.Tpo -c -o imgconvert.lo imgconvert.c
/var/tmp//ccErUzQG.s:141:suffix or operands invalid for `pushf'
/var/tmp//ccErUzQG.s:142:suffix or operands invalid for `pop'
/var/tmp//ccErUzQG.s:145:suffix or operands invalid for `push'
/var/tmp//ccErUzQG.s:146:suffix or operands invalid for `popf'
/var/tmp//ccErUzQG.s:147:suffix or operands invalid for `pushf'
/var/tmp//ccErUzQG.s:148:suffix or operands invalid for `pop'
make[2]: *** [accore.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile: /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT
-I.. -I/opt/local/include -O2 -arch x86_64 -no-cpp-precomp
-D_INTL_REDIRECT_MACROS -MT imgconvert.lo -MD -MP -MF .deps/imgconvert.Tpo
-c imgconvert.c -fno-common -DPIC -o .libs/imgconvert.o
mv -f .deps/imgconvert.Tpo .deps/imgconvert.Plo
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
This worked for me: (found in ticket 21011)
Add to the Portfile:
platform darwin 10 {
if {$build_arch == "x86_64"} {
configure.args-append --build=x86_64-apple-darwin10.0.0
}
}
--
Ticket URL: <http://trac.macports.org/ticket/21435>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list