[Pkg-octave-devel] octave2.1_2.1.71-7_i386.changes ACCEPTED

Christian T. Steigies cts at debian.org
Sat Nov 5 08:29:13 UTC 2005

I am still trying to get a current octave2.1 compiled on m68k.
I solved the hdf5 problem by manually compiling it, after the file that
failed to compile would not do me the favour when I tried to debug it. hdf5
for m68k is in the archive now. 

octave2.1 does not build on m68k because of special m68k exceptions for
ofortran and optimization. The output of dpkg-architecture has changed

(unstable)cts at aahz:~>dpkg-architecture -qDEB_HOST_GNU_TYPE
cts at aahz:~>dpkg-architecture -qDEB_HOST_GNU_TYPE

So this change is needed (for m68k, I assume it is the same for arm) to at
least start a build on m68k. Without it, it fails with:
 checking for Fortran name-mangling scheme... configure: error: cannot compile a simple Fortran program

diff -u rules octave2.1-2.1.71/debian/rules
--- rules       2005-11-05 09:16:11.000000000 +0100
+++ octave2.1-2.1.71/debian/rules
2005-11-05 03:27:59.000000000 +0100
@@ -54,7 +54,7 @@
 arch           := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)

 ## edd 20 Jun 2002      no optimisation or debugging on baby systems
-ifneq "$(findstring $(arch), m68k-linux arm-linux)" ""
+ifneq "$(findstring $(arch), m68k-linux-gnu arm-linux-gnu)" ""
 compilerflags  = -O0 -g0

@@ -66,7 +66,7 @@
 ## edd 25 May 2003      actually, we need -O1 on m68k, as well as f2c
 ## edd 02 Jul 2003      use fort77 instead for its comman cmdline options
 #ifeq ($(arch),m68k-linux)
-ifneq "$(findstring $(arch), m68k-linux)" ""
+ifneq "$(findstring $(arch), m68k-linux-gnu)" ""
 f77_compiler   = /usr/bin/fort77
 fc_flag                = --with-f77=/usr/bin/fort77 --without-f2c
 fc_libs                = -lf2c

I am currently trying to build packages with this fix, will take a while to


More information about the Pkg-octave-devel mailing list