[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#60874: apt doesnt build on mips (configure cant determin system)



apt also doesn't build on big endian mips (arch name mips).
Same problem as on mipsel: "checking system architecture... configure:
error: failed: use --host="
Possible solution: patch against apt-0.3.18:

--- ./buildlib/config.guess.orig	Mon Apr  3 20:11:23 2000
+++ ./buildlib/config.guess	Mon Apr  3 20:10:38 2000
@@ -418,6 +418,8 @@
 	  echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0
 	elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf32ppc"; then
 	  echo "powerpc-unknown-linux-gnu" ; exit 0
+	elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf32bmip"; then
+	  echo "${UNAME_MACHINE}-unknown-linux-gnu" ; exit 0
 	elif test "${UNAME_MACHINE}" = "alpha" ; then
 	  echo alpha-unknown-linux-gnu ; exit 0
 	elif test "${UNAME_MACHINE}" = "sparc" ; then
--- ./buildlib/archtable.orig	Mon Apr  3 20:09:24 2000
+++ ./buildlib/archtable	Mon Apr  3 20:09:39 2000
@@ -28,5 +28,6 @@
 armv4l  arm     arm
 powerpc	powerpc	powerpc
 ppc	powerpc	powerpc
+mips	mips	mips
 mipsel  mipsel  mipsel
 hppa1.1 hppa    hppa

-- 

PGP-Public Key: http://honk.physik.uni-konstanz.de/~guido/gunther.asc
GPG-Public Key: http://honk.physik.uni-konstanz.de/~agx/guenther.gpg.asc


Reply to: