Opened 11 years ago

Closed 11 years ago

#42626 closed defect (invalid)

failure to install fftw-3

Reported by: tiasus@… Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: oliver.gaede@…
Port: fftw-3

Description

on trying to install py27-numpy, the build failed due to fftw-3. Have tried 'port clean' and 'port uninstall'. This is the output of the installation.

/opt/local (530): sudo port install fftw-3
--->  Computing dependencies for fftw-3
--->  Fetching archive for fftw-3
--->  Attempting to fetch fftw-3-3.3.3_6+gcc48.darwin_13.x86_64.tbz2 from http://packages.macports.org/fftw-3
--->  Attempting to fetch fftw-3-3.3.3_6+gcc48.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/fftw-3
--->  Attempting to fetch fftw-3-3.3.3_6+gcc48.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/fftw-3
--->  Fetching distfiles for fftw-3
--->  Attempting to fetch fftw-3.3.3.tar.gz from http://distfiles.macports.org/fftw-3
--->  Verifying checksums for fftw-3
--->  Extracting fftw-3
--->  Configuring fftw-3
Error: Failed to configure fftw-3, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_fftw-3/fftw-3/work/fftw-3.3.3/config.log
Error: org.macports.configure for port fftw-3 returned: configure failure: command execution failed
Please see the log file for port fftw-3 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_fftw-3/fftw-3/main.log
To report a bug, follow the instructions in the guide:
   http://guide.macports.org/#project.tickets
Error: Processing of port fftw-3 failed

I have looked through the logs, and from what I see it tried to do 'gcc -v' and then 'gcc -V', and this second one gives an error. I checked these from the terminal and got

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin13/4.8.2/lto-wrapper
Target: x86_64-apple-darwin13
Configured with: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/gcc48/work/gcc-4.8.2/configure --prefix=/opt/local --build=x86_64-apple-darwin13 --enable-languages=c,c++,objc,obj-c++,lto,fortran,java --libdir=/opt/local/lib/gcc48 --includedir=/opt/local/include/gcc48 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.8 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.8 --with-gxx-include-dir=/opt/local/include/gcc48/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-cloog=/opt/local --enable-cloog-backend=isl --disable-cloog-version-check --enable-stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --with-pkgversion='MacPorts gcc48 4.8.2_0'
Thread model: posix
gcc version 4.8.2 (MacPorts gcc48 4.8.2_0)

and

gcc -V
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.

I am attaching the logs...

Attachments (2)

config.log (11.4 KB) - added by tiasus@… 11 years ago.
main.log (26.8 KB) - added by tiasus@… 11 years ago.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by tiasus@…

Attachment: config.log added

Changed 11 years ago by tiasus@…

Attachment: main.log added

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to sean@…

In the future, please Cc the port maintainers (port info --maintainers fftw-3).

comment:2 Changed 11 years ago by mf2k (Frank Schima)

Actual error is:

:info:configure configure: error: cannot run C compiled programs.

comment:3 Changed 11 years ago by mf2k (Frank Schima)

Cc: oliver.gaede@… added

Cc reporter of duplicate #43341.

comment:4 Changed 11 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

See also #41236. You need to install the Xcode command line tools.

xcode-select --install
Note: See TracTickets for help on using tickets.