Skip to content

Conversation

@RollMan
Copy link

@RollMan RollMan commented Sep 27, 2022

config.guess and config.sub in this repository are of versions in 2003. As a result,
./configure with aarch64 processor on Raspberry Pi 400 fails.

pi@raspberrypi:~/Downloads/julius $ ./configure --with-mictype=alsa;
checking build system type... support/config.guess: unable to guess system type

This script, last modified 2008-01-23, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

If the version you run (support/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <[email protected]> in order to provide the needed
information to handle your system.

config.guess timestamp = 2008-01-23

uname -m = aarch64
uname -r = 5.15.61-v8+
uname -s = Linux
uname -v = #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022

/usr/bin/uname -p = unknown
/bin/uname -X     = 

hostinfo               = 
/bin/universe          = 
/usr/bin/arch -k       = 
/bin/arch              = aarch64
/usr/bin/oslevel       = 
/usr/convex/getsysinfo = 

UNAME_MACHINE = aarch64
UNAME_RELEASE = 5.15.61-v8+
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022
configure: error: cannot guess build type; you must specify one

Speicifing the build target led to succesful ./configure.

./configure --build=aarch64-unknown-linux-gnu --with-mictype=alsa

Following the instruction on GNU gettext utilities manual, I updated all the config.guess and config.sub by executing

$ wget -O config.guess 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
$ wget -O config.sub 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'

and ./configure without --build option succeeded. I also confirmed the updated scripts sccessfully run on a x86_64 system but I didn't on the other systems.

@nadav-bellface
Copy link

Any idea when this will be reviewed and (hopefully) merged? As it stands Julius will fail to install of Mac M1 as well due to the abovementioned reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants