[MacPorts] #43092: atlas: Atlas could not detect any fortran compiler
MacPorts
noreply at macports.org
Thu Mar 27 07:38:51 PDT 2014
#43092: atlas: Atlas could not detect any fortran compiler
--------------------------+---------------------
Reporter: gbacareza@… | Owner: vince@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: atlas |
--------------------------+---------------------
Comment (by jad11@…):
Replying to [comment:3 ryandesign@…]:
> The log is fairly straightforward; the error message it contains
describes what you have to do:
>
> > Atlas could not detect any fortran compiler. If you really don’t need
the fortran interface to be built, please use the +nofortran option, else
install a fortran compiler (e.g. gcc4X) before building Atlas.
At risk of hijacking the ticket, but in the hope that my experiences will
assist in solving the problem, I wanted to report that I am also having
similar problems with the atlas install. Having read your advice, I have
made several further attempts with and without gcc48 but without success.
In my most recent attempt, I started from a brand new macports
installation, and performed just:
{{{
sudo port selfupdate
sudo port upgrade outdated
sudo port install gcc48
sudo port install atlas +gcc48
}}}
The terminal output for the final command is:
{{{
jad11:~$ sudo port install atlas +gcc48
Password:
---> Computing dependencies for atlas
---> Fetching archive for atlas
---> Attempting to fetch atlas-3.10.1_5+gcc48.darwin_13.x86_64.tbz2 from
http://packages.macports.org/atlas
---> Attempting to fetch atlas-3.10.1_5+gcc48.darwin_13.x86_64.tbz2 from
http://lil.fr.packages.macports.org/atlas
---> Attempting to fetch atlas-3.10.1_5+gcc48.darwin_13.x86_64.tbz2 from
http://nue.de.packages.macports.org/macports/packages/atlas
---> Fetching distfiles for atlas
---> Attempting to fetch atlas3.10.1.tar.bz2 from
http://aarnet.dl.sourceforge.net/project/math-atlas/Stable/3.10.1
---> Attempting to fetch lapack-3.4.2.tgz from
http://www.netlib.org/lapack
---> Verifying checksums for atlas
---> Extracting atlas
---> Applying patches to atlas
---> Configuring atlas
Selected C compiler: /opt/local/bin/gcc-mp-4.8
Selected F77 compiler: gfortran48
Warning: GCC compilers on MacOS do not support AVX: downgrading.
Error: org.macports.configure for port atlas returned: configure failure:
command execution failed
Please see the log file for port atlas for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port atlas failed
}}}
The pertinent section from the atlas install log would appear to be:
{{{
:info:configure
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/ATLAS/build/..//CONFIG/include/atlconf.h:4:19:
fatal error: stdio.h: No such file or directory
:info:configure #include <stdio.h>
:info:configure ^
:info:configure compilation terminated.
:info:configure make: *** [atlconf_misc.o] Error 1
:info:configure ./xconfig -d s
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/ATLAS/build/../
-d b
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/ATLAS/build
-Si lapackref 1 -O 12 -v 5 -D c -DATL_DYLIBS -A 26 -V 448 -Si omp 0 -C acg
/opt/local/bin/gcc-mp-4.8 -A 25 -F acg '-fomit-frame-pointer -mfpmath=sse
-O3 -fno-schedule-insns2 -fPIC -msse4.2' -C if /opt/local/bin/gfortran-
mp-4.8 -F if '-fomit-frame-pointer -mfpmath=sse -O3 -fno-schedule-insns2
-fPIC -msse4.2' -Ss f77lib /opt/local/lib/gcc48/libgfortran.dylib -b 64 -D
c -DPentiumCPS=2800
:info:configure /bin/sh: line 1: ./xconfig: No such file or directory
:info:configure xconfig exited with 127
:info:configure Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/ATLAS/build"
&& ../configure --prefix=/opt/local --with-netlib-lapack-
tarfile=/opt/local/var/macports/distfiles/atlas/lapack-3.4.2.tgz -O 12 -v
5 --dylibs -A 26 -V 448 -Si omp 0 -C acg /opt/local/bin/gcc-mp-4.8 -A 25
-F acg '-fomit-frame-pointer -mfpmath=sse -O3 -fno-schedule-insns2 -fPIC
-msse4.2' -C if /opt/local/bin/gfortran-mp-4.8 -F if '-fomit-frame-pointer
-mfpmath=sse -O3 -fno-schedule-insns2 -fPIC -msse4.2' -Ss f77lib
/opt/local/lib/gcc48/libgfortran.dylib -b 64 -D c -DPentiumCPS=2800
:info:configure Exit code: 127
:error:configure org.macports.configure for port atlas returned: configure
failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for atlas:
org.macports.activate org.macports.configure org.macports.build
org.macports.destroot org.macports.install
:notice:configure Please see the log file for port atlas for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/main.log
}}}
Thanks for your help
Andy
--
Ticket URL: <https://trac.macports.org/ticket/43092#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list