#18428: fftw doesn't compile with universal flag ----------------------------------+----------------------------------------- Reporter: jjdanimoth@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: ----------------------------------+----------------------------------------- Hello, I'm trying to compile fftw-3 with universal flag enabled; I'm on Leopard 10.5.6 with a PPC machine. The output is: {{{ Configuring fftw-3 Error: Target org.macports.configure returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_fftw-3/work/i386 && CFLAGS="-O2 -fno-common -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386" CXXFLAGS="-O2 -fno-common -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386" LDFLAGS="-L/opt/local/lib -arch i386" ./configure --prefix=/opt/local --enable-threads --enable-fma --disable-fortran --enable-shared" returned error 1 Command output: c hecking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... powerpc-apple-darwin9.6.0 checking host system type... powerpc-apple-darwin9.6.0 checking for gcc.. . gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_fftw-3/work/i386': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. }}} -- Ticket URL: <http://trac.macports.org/ticket/18428> MacPorts <http://www.macports.org/> Ports system for Mac OS