Hi Ryan, > If you still cannot figure out where the `-arch` flags are coming from, show > us a complete log of the output of running `configure` and `make`. The > config.log may be helpful too.
I can not single out a simple test case. But please try compile the following package at the following address. http://www.tbi.univie.ac.at/~ronny/RNA/ViennaRNA/ViennaRNA-2.0.0.tar.gz I have gcc45 active. After run configure, I run make make, then I got error in the Perl directory. The problem is that the following automatically generated file has the -arch argument. I don't want to change it manually as it is automatically generated. ./Perl/Makefile.perl:44:LDFLAGS = -Wl,-search_paths_first -arch i386 -arch x86_64 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -fstack-protector The gcc version: ~$ which gcc /opt/local/bin/gcc ~$ gcc --version gcc (GCC) 4.5.3 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The error message: gcc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch i386 -arch x86_64 -nostdinc -B/Developer/SDKs/MacOSX10.5.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.5.sdk/usr/include -F/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks -mmacosx-version-min=10.5 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-merge-constants -fno-strict-aliasing -pipe -fstack-protector -O3 -DVERSION=\"2.0.0\" -DXS_VERSION=\"2.0.0\" "-I/usr/local/ActivePerl-5.14/lib/CORE" RNA_wrap.c gcc: unrecognized option '-no-cpp-precomp' cc1: error: unrecognized command line option "-arch" cc1: error: unrecognized command line option "-arch" Please let me know if there is anything that is not cleary to you. -- Regards, Peng _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
