Feature Requests: Browse | Submit New | Admin

[#25451] Is f2c needed on some systems?

Date:
2009-04-14 16:27
Priority:
3
Submitted By:
James M. Lawrence (quix)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Is f2c needed on some systems?

Detailed description
f2c was replaced with g2c in the last release, as f2c appeared to be obsolete and causing problems.  Recently there
was request for its return.  Is there any reason to bring it back or to provide a choice between f2c or g2c?

Add A Comment: Notepad

Please login


Followup

Message
Date: 2011-03-24 13:38
Sender: Sir Robert Burbridge

For what it's worth, don't forget to install f2c (which doesn't
come installed with build-essential in Ubuntu 10.10):

$ sudo apt-get install f2c

-Sir
Date: 2011-03-24 01:23
Sender: Jeff Terrell

That would have been useful for me, but I figured out a workaround.
I thought I should post it here so that others could benefit.

I'm running Ubuntu 10.10.

At first, `ruby install.rb config` failed on the line:
checking for g2c.h... no

So I did this:
$ cd /usr/include
$ sudo ln -sf {f,g}2c.h

Then, `ruby install.rb config` failed on the line:
checking for main() in -lg2c... no

So I did this:
$ cd /usr/lib
$ sudo ln -sf lib{f,g}2c.a

Then, the config failed on the line:
checking for main() in -lblas... no

So I did this:
$ sudo apt-get install libblas-dev

Lastly, the config failed on the line:
checking for main() in -llapack... no

So I did this:
$ sudo apt-get install liblapack-dev

Then, I could successfully say `ruby install.rb` without any
problems.

Cheers,
-Jeff T.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item