qt4-mac update fails to compile

Mark Anderson emer at emer.net
Sat Jan 9 08:01:09 PST 2010


I got this one too.  I had to manually change all of those -arch
-Xarch_x86_64 to -arch x86_64 -Xarch_x86_64, and by manually, I mean
with Perl. Then it compiled just fine.  I was thinking of filing a
ticket, but I'm not sure how to fix it from our end.  I think it's a
QT4 problem, and I can't find exactly what needs to be patched.

Mark

On Sat, Jan 9, 2010 at 7:32 AM, David Evans <dave.evans55 at googlemail.com> wrote:
> Chris Jones wrote:
>> Hi,
>>
>> OS X 10.6 intel. Attempting to upgrade qt4-mac gives the error below. Does anyone else see this ?
>>
>>
>>
> I have had problems with qt4-mac compiling with ccache enabled in the past.
> See ticket 18912.  Please try again with ccache disabled.
>
> I also get an error with qt4-mac, but it's not the same as yours.
>
> :info:build /usr/bin/g++-4.2 -arch x86_64 -Xarch_x86_64 \
>  -mmacosx-version-min=10.5 -arch -Xarch_x86_64 \
>   -mmacosx-version-min=10.5 -o ../../../bin/moc \
>  release-shared/moc.o release-shared/preprocessor.o \
>  release-shared/generator.o release-shared/parser.o \
>  release-shared/token.o release-shared/main.o  \
>  -L/opt/local/lib -L/opt/local/var/macports/build/\
> _Users_davidevans_macports_svn-repo_macports-trunk_dports_aqua_qt4-mac/\
>  work/qt-everywhere-opensource-src-4.6.0/src/tools/bootstrap \
> -lbootstrap -L/opt/local/lib -lz -framework CoreServices
> :info:build g++-4.2: Invalid arch name : -Xarch_x86_64
> :info:build make[1]: *** [../../../bin/moc] Error 1
> :info:build make: *** [sub-moc-make_default-ordered] Error 2
>
> I'll wait a few days to see if anyone has the same error before filing a
> tcket.
>
> OS X 10.6.2
> Xcode 3.2.1
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>


More information about the macports-users mailing list