Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 125682

Summary: atlas-3.6.0 fails with GCC-4 on g77
Product: Gentoo Linux Reporter: Sebastiaan <s.breedveld>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sebastiaan 2006-03-10 02:09:12 UTC
Hi,

since g77 is replaced by gfortran in gcc-4, ATLAS fails to build on these systems because g77 cannot be found. I would recommend something like this in the ebuild (this assumes that fortran is installed):

        echo "023" > answer
        echo "" >> answer
        echo "" >> answer
        echo "" >> answer
        echo "" >> answer
        echo "" >> answer
        echo "" >> answer
        echo "" >> answer
        echo "" >> answer
        echo "" >> answer
        echo "" >> answer
        if [ ! -f g77 ]; then
                echo "gfortran" >> answer
                echo "" >> answer
        else
                echo "" >> answer
        fi
        echo "" >> answer
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-10 02:21:51 UTC

*** This bug has been marked as a duplicate of 121855 ***