@uhpa (村瀬 陽一)

Are you sure you want to delete the question?

Leaving a resolved question undeleted may help others!

ラズパイ4でjulius 4.6をセットアップがうまくいきません。ご教示をお願いいたします。

この記事を実行しております。
https://qiita.com/en129/items/534781cd3616d87ede78

以下のようにエラーが発生し、先に進みません。
対応方法をご存じの方は、教えて頂けませんでしょうか。

■状況
image.png

の記事の上までを実行しして、./configure --with-mictype=alsaを実行したところ、以下のようにエラー(configure: error: cannot guess build type; you must specify one)が発生


pi@raspberrypi:~/julius/julius-4.6 $ ./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 config-patches@gnu.org in order to provide the needed
information to handle your system.

config.guess timestamp = 2008-01-23

uname -m = aarch64
uname -r = 5.15.32-v8+
uname -s = Linux
uname -v = #1538 SMP PREEMPT Thu Mar 31 19:40:39 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.32-v8+
UNAME_SYSTEM = Linux
UNAME_VERSION = #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022
configure: error: cannot guess build type; you must specify one
――――――――――――――――――――――――

当然、その後は、
pi@raspberrypi:~/julius/julius-4.6 $ make -j4
make: *** ターゲットが指定されておらず, makefile も見つかりません. 中止.
pi@raspberrypi:~/julius/julius-4.6 $ sudo make install
make: *** ターゲット 'install' を make するルールがありません. 中止.
pi@raspberrypi:~/julius/julius-4.6 $

となり、コンパイルやインストールができません。

0 likes

1Answer

の手順(先のQiitaの記事も大元はこちらのようです)で私はトラブルなく認識できました。

切り分けのため、32-bit OSで実験してみては?

1Like

Comments

  1. @uhpa

    Questioner

    imagou様
    早速のお返事ありがとうございます。
    ご教示頂いた通り、32bitOSで進めたら、うまくいきました。
    大変感謝しています。
  2. すでに解決しているかもですが、参考まで。
    下記の環境で同じエラーが出て --build=aarch64を追加してconfigureまでは実行できました。現在、makeエラーで止まっている状況ですが。
    環境:RaspberryPi4 64Bit
    $ uname -a
    Linux raspberrypi 6.6.35-v8+ #1779 SMP PREEMPT Tue Jun 25 11:37:38 BST 2024 aarch64 GNU/Linux

    ※./configure --with-mictype=alsa --build=aarch64

    参考:https://www.servernote.net/article.cgi?id=you-must-specify-build-type

Your answer might help someone💌