Published by orzz.org(). (https://orzz.org/cant-locate-getopt-std-pm-in-inc/)
交叉编译glib-2.17时报错:“Can't locate Getopt/Std.pm”。
查找发现交叉编译链下面根本没有这个文件。
解决方法(参考 Can\'t locate Getopt/Std.pm in INC 错误怎么解决_百度知道):
1、查看源代码:http://cpansearch.perl.org/src/RJBS/perl-5.24.0/lib/Getopt/Std.pm;
2、在交叉编译链下找到“GetOpt”文件夹,创建新文件“GetOpt/Std.pm”,将代码拷贝进去。
Published by orzz.org(). (https://orzz.org/cant-locate-getopt-std-pm-in-inc/)