qt4-mac update fails to compile

David Evans dave.evans55 at googlemail.com
Sat Jan 9 04:32:02 PST 2010


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



More information about the macports-users mailing list