Ticket #21435 (closed defect: fixed)
transcode-1.1.4 build error on OS X 10.6 Snow Leopard
| Reported by: | mobileseth@… | Owned by: | devans@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.0 |
| Keywords: | Cc: | lionteeth@…, marco.comini@…, jmr@… | |
| Port: | transcode |
Description (last modified by toby@…) (diff)
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.
/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
}
}
Change History
Note: See
TracTickets for help on using
tickets.

