Opened 11 years ago

Closed 8 years ago

#42530 closed defect (fixed)

atlas does not recognize gcc49 gfortran

Reported by: Xsenon973@… Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: cooljeanius (Eric Gallager), petrrr
Port: atlas

Description

Problem appears then I try to instal Atlas, xcode and xcode comand line tools installed. gfortran 4.9 installed too.But there is no string about F77 compiler. What do I make wrong??

Mac-mini-mac:~ xsenon$ sudo port -v install atlas guile16 hdf5-18 libpng fftw-3
Password:
--->  Computing dependencies for atlas.
--->  Configuring atlas
Selected C compiler: /opt/local/bin/clang-mp-3.3
Error: org.macports.configure for port atlas returned: 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.
Warning: targets not executed for atlas: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
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

Change History (11)

comment:1 Changed 11 years ago by Xsenon973@…

xsenon$ which gfortran
/opt/local/bin/gfortran

But atlas can't detect this

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to vince@…
Port: atlas added
Priority: HighNormal
Summary: Atlas problematlas does not recognize gcc49 gfortran

atlas probably doesn't support gcc49 yet because gcc49 is still in development. Try gcc48 instead; that's the latest stable version.

comment:3 in reply to:  2 Changed 11 years ago by Xsenon973@…

Replying to ryandesign@…:

atlas probably doesn't support gcc49 yet because gcc49 is still in development. Try gcc48 instead; that's the latest stable version.

How can I downgrade gcc??

sudo port install gcc48
--->  Computing dependencies for gcc48
--->  Dependencies to be installed: cloog gmp isl gcc_select libgcc libmpc mpfr
--->  Activating gmp @5.1.2_0
Error: org.macports.activate for port gmp returned: Image error: /opt/local/include/gmp.h already exists and does not belong to a registered port.  Unable to activate port gmp. Use 'port -f activate gmp' to force the activation.
Error: Failed to install gmp
Please see the log file for port gmp for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log
Error: The following dependencies were not installed: cloog gmp isl gcc_select libgcc libmpc mpfr
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gcc48 failed

comment:4 Changed 11 years ago by Veence (Vincent)

Nothing is wrong. The Portfile must be updated to take into account gcc4.9 and clang3.4. Will do that tomorrow. Thanks for reporting.

comment:5 Changed 11 years ago by Xsenon973@…

what should i do tomorrow? simply repeat my effort?

comment:6 Changed 11 years ago by Xsenon973@…

problem was solved by reinstalling gcc4.7 everything is OK thanks for advice

comment:7 Changed 11 years ago by jakekleine@…

I am having similar troubles. I am running mavericks 10.9, trying to install atlas from macports. I first tried with gcc48 and left it for hours and didnt work. Then tried with gcc 47 and still took a couple hours with nothing. I cancelled and cleaned everything up but I dont know what to do. Seems like each time it also takes a lot of space on my computer that I can not recover. I heard mention of a bug with clang33.. how do I get clang34? wlll that fix it?

comment:8 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:9 Changed 11 years ago by petrrr

Cc: Peter.Danecek@… added

Cc Me!

comment:10 Changed 9 years ago by Veence (Vincent)

Is that still the case?

comment:11 Changed 8 years ago by Veence (Vincent)

Resolution: fixed
Status: newclosed

Closing time :P

Note: See TracTickets for help on using tickets.