Bug#292917: [Pkg-octave-devel] Bug#292917: needs to depend on f2c on m68k?

Dirk Eddelbuettel Dirk Eddelbuettel <edd@debian.org>, 292917@bugs.debian.org
Mon, 31 Jan 2005 23:05:21 -0600


On 30 January 2005 at 21:47, Adam Conrad wrote:
| Package: octave2.1-headers
| Version: 2.1.64-1
| Severity: important
| 
| I've seen several octave-related packages fail to build on m68k, with
| errors like so:
| ----
| /usr/bin/ld: cannot find -lf2c
| collect2: ld returned 1 exit status
| ----
| 
| If it's octave2.1-headers (well, /usr/bin/mkoctfile) that is introducing
| this extra linker flag, perhaps it should also depend on f2c (on m68k only),
| so packages building against octave2.1 don't have to special case m68k
| each time on their own.

The simplest solution may just be to depends on m68k _and_ f2c on all architectures.
Inelegant, but at least a Fortran compiler will be found in all cases.

Dirk

-- 
Better to have an approximate answer to the right question than a precise 
answer to the wrong question.  --  John Tukey as quoted by John Chambers