On 4 November 2009 at 11:56, Nobuhiro Iwamatsu wrote:
| Hi,
| 
| I am now trying to run Debian on Renesas SH(sh4) CPU.
| http://buildd.debian-ports.org/status/architecture.php?a=sh4
| 
| jags can not build on sh4. Because configure of this package generated
| from old autoconf.
| 
| -----
| checking how to get verbose linking output from gfortran... -v
| checking for Fortran libraries of gfortran...  -little
| -L/usr/lib/gcc/sh4-linux-gnu/4.3.4
| -L/usr/lib/gcc/sh4-linux-gnu/4.3.4/../../.. -lgfortranbegin -lgfortran
| -lm -lgcc_s
| checking for dummy main to link with Fortran libraries... unknown
| configure: error: linking to Fortran libraries from C fails
| See `config.log' for more details.
| -----
| 
| Old autoconf adds -little option to compile option. sh4 architecture can't
| interpret this option. Therefore, this has build error.
|  http://lists.gnu.org/archive/html/bug-autoconf/2008-10/msg00039.html
| 
| We need patch revising this.
| I added patch to revising these. Package building was fine.
| Please apply  patch.

Of course -- that looks very straightforward.  I'll also CC Martyn upstream.

Would replacing config.guess and/or config.sub with more current versions have
helped as well?

e...@ron:~/src/debian/Misc/JAGS-1.0.3$ ls -l /usr/share/misc/config.* config.*
-rwxr-xr-x 1 edd  edd  44554 2007-06-14 17:16 config.guess
-rwxr-xr-x 1 edd  edd  32665 2007-06-14 17:16 config.sub
-rwxr-xr-x 1 root root 45612 2009-07-23 15:36 /usr/share/misc/config.guess
-rwxr-xr-x 1 root root 34069 2009-07-23 15:36 /usr/share/misc/config.sub
e...@ron:~/src/debian/Misc/JAGS-1.0.3$

Regards, Dirk

| Best regards,
|  Nobuhiro
| 
| ----------------------------------------------------------------------
| --- a/configure       2009-11-04 01:03:56.000000000 +0000
| +++ b/configure       2009-11-04 01:04:19.000000000 +0000
| @@ -20398,7 +20398,7 @@
|  
|            ;;
|            # Ignore these flags.
| -        -lang* | -lcrt* | -lc | -lgcc* | -lSystem | -libmil | -LANG:=*)
| +        -lang* | -lcrt* | -lc | -lgcc* | -lSystem | -libmil | -little | 
-LANG:=*)
|            ;;
|          -lkernel32)
|            test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"

-- 
Three out of two people have difficulties with fractions.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to