problem when installing macports
Anders F Björklund
afb at macports.org
Thu Sep 20 03:02:40 PDT 2007
Thomas De Contes wrote:
> on one, the login shell is tcsh (it works), and on the other, the
> login shell is bash (it doesn't work)
> could it be the cause ??
Probably not: bash is the supported shell, since it's now the default...
> on both, i have installed the last version of xcode (2.4.1), but only
> devtools software, gcc 3.3, and software dev kits
> oh yes, i just remember, on the computer where it works, i have
> installed gcc 4.0 instead of gcc 3.3
> so, is it required to have gcc 4.0 to compile macports ?? why ?
You need the Universal system compiler (gcc-4.0) for Mac OS X 10.4 /
Xcode,
not the gcc-3.3 cross-compiler - that's only for building for Mac OS X
10.3
Trying to reproduce the issue with CC="gcc-3.3 -arch ppc"
LDFLAGS="-arch ppc",
but that seemed to have work... (i.e. it didn't give any snprintf
errors)
--anders
More information about the macports-users
mailing list