3

まず、Angstrom 分布の Beaglebone Black を使用しています。

net-snmp 用の mib2c プログラムが機能せず、次のエラーが発生します。

ERROR: You don't have the SNMP perl module installed.  Please obtain
this by getting the latest source release of the net-snmp toolkit from
http://www.net-snmp.org/download/ .  Once you download the source and
unpack it, the perl module is contained in the perl/SNMP directory.
See the README file there for instructions.

/net-snmp/perl/SNMP に移動して実行します

 perl Makefile.PL
 make

今、それは私にこのエラーを与えます:

make: *** No rule to make target `/usr/lib/perl/5.14.2/ExtUtils/typemap', needed by `SNMP.c'.  Stop.

ExtUtils モジュールをインストールする必要があることはわかっていますが (これはそうです)、そのフォルダーにあるのは .pm ファイルだけです。perl を使用してそれらを実行すると、何も起こりません。また、オンラインでファイルを検索しようとしましたが(typemapファイルを作成した後、xsubppファイルも要求されます)、役に立ちませんでした。

これらのモジュールをインストールして、正しいファイルが存在するようにするにはどうすればよいですか?

4

3 に答える 3