autoreconf:コマンドが見つかりません

autoreconf -fiv -bash: autoreconf: command not found 

このリンクにリストされているすべてのですが、それでもauto(re)confが見つかりません。

pi@no:~/motion $ apt-cache search autoreconf pi@no:~/motion $ apt-cache search autoconf pkg-config - manage compile and link flags for libraries 

私はラズビアンバスターと一緒にpiにいます。


side-story:

もともとモーションv4.1.1を使おうとしていましたが、どちらが(かもしれませんか?) RTSPでは機能しないので、v4.2.2を取得しようとしています。

OK、ビルドできないので、.debを使用しましょう:

pi@no:~ $ sudo dpkg -i pi_buster_motion_4.2.2-1_armhf.deb (Reading database ... 132229 files and directories currently installed.) Preparing to unpack pi_buster_motion_4.2.2-1_armhf.deb ... Unpacking motion (4.2.2-1) over (4.1.1-1.1+b2) ... dpkg: dependency problems prevent configuration of motion: motion depends on libmicrohttpd12 (>= 0.9.50); however: Package libmicrohttpd12 is not installed. dpkg: error processing package motion (--install): dependency problems - leaving unconfigured Processing triggers for systemd (241-5+rpi1) ... Processing triggers for man-db (2.8.5-2) ... Errors were encountered while processing: motion 

お願いしますか?

pi@no:~ $ sudo apt-get install libmicrohttpd12 Reading package lists... Done Building dependency tree Reading state information... Done Package libmicrohttpd12 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package "libmicrohttpd12" has no installation candidate 

わかりました、「とても」お願いしますか?

pi@no:~ $ apt-cache search libmicrohttpd ... 

Still Lovelinux。

回答

apt-cache searchは、パッケージの内容ではなく、名前と説明でパッケージを検索するだけです。使用目的には、おそらく apt-file

$ sudo apt install -y apt-file ... $ sudo apt-file update ... $ apt-file search autoreconf autoconf: /usr/bin/autoreconf autoconf: /usr/share/man/man1/autoreconf.1.gz autoconf-dickey: /usr/bin/autoreconf-dickey ... 

したがって、autoreconfを取得するには、 autoconf パッケージをインストールする必要があります。

libmicrohttpd12 が見つからない理由は、執筆時点でバスターリポジトリに確実に存在します。おそらく説明は次のとおりです。 sudo apt update

回答

を最近実行していないこと最新のインストールマネージャー apt を使用することをお勧めします。これは基盤となるツールの単なるラッパーですapt-getapt-searchなど、追加の機能があります。次の場所にあります:

rpi ~$ apt search autoreconf Sorting... Done Full Text Search... Done dh-autoreconf/stable 19 all debhelper add-on to call autoreconf and clean up after the build dh-dist-zilla/stable 1.3.7 all debhelper add-on to call dzil build and clean up after the build 

次に、次の項目を確認します。

rpi ~$ apt show dh-autoreconf Package: dh-autoreconf Version: 19 --- snip --- Description: debhelper add-on to call autoreconf and clean up after the build dh-autoreconf provides a debhelper sequence addon named "autoreconf" and two commands, dh_autoreconf and dh_autoreconf_clean. --- snip --- 

これは、探しているものですか、それとも実行しているものですか。 dh-dist-zillaが必要ですか?

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です