Closed vipzrx closed 6 years ago
sudo cpan String::ShellQuote 这样就可以安装了
➜ baohaojun_beagrep git:(master) ✗ sudo cpan String::ShellQuote
Reading '/root/.cpan/Metadata'
Database was generated on Wed, 25 Apr 2018 15:17:02 GMT
Running install for module 'String::ShellQuote'
Fetching with LWP:
http://www.cpan.org/authors/id/R/RO/ROSCH/String-ShellQuote-1.04.tar.gz
Fetching with LWP:
http://www.cpan.org/authors/id/R/RO/ROSCH/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/R/RO/ROSCH/String-ShellQuote-1.04.tar.gz ok
'YAML' not installed, will not store persistent state
Configuring R/RO/ROSCH/String-ShellQuote-1.04.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for String::ShellQuote
Writing MYMETA.yml and MYMETA.json
ROSCH/String-ShellQuote-1.04.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for R/RO/ROSCH/String-ShellQuote-1.04.tar.gz
cp ShellQuote.pm blib/lib/String/ShellQuote.pm
cp shell-quote blib/script/shell-quote
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/shell-quote
Manifying 1 pod document
Manifying 1 pod document
ROSCH/String-ShellQuote-1.04.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 PERL_USE_UNSAFE_INC=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" test.t
test.t .. ok
All tests successful.
Files=1, Tests=33, 0 wallclock secs ( 0.01 usr 0.01 sys + 0.01 cusr 0.01 csys = 0.04 CPU)
Result: PASS
ROSCH/String-ShellQuote-1.04.tar.gz
/usr/bin/make test -- OK
Running make install
Manifying 1 pod document
Manifying 1 pod document
Installing /usr/local/share/perl/5.24.1/String/ShellQuote.pm
Installing /usr/local/man/man1/shell-quote.1p
Installing /usr/local/man/man3/String::ShellQuote.3pm
Installing /usr/local/bin/shell-quote
Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.24.1/perllocal.pod
ROSCH/String-ShellQuote-1.04.tar.gz
/usr/bin/make install -- OK
➜ baohaojun_beagrep git:(master) sudo apt install $(cat debian/control | perl -ne 'print if m/Build-Depends/..m/Standards-Version/'|grep -v -e Build-Depends:\|Standards-Version|perl -npe 's/,/ /g')
这里提示缺少 gmcs
debian中的命令是gmcs https://manpages.debian.org/stretch/mono-mcs/gmcs.1.en.html
修改configure.in 替换gmcs为mcs
编译成功
但是启动的时候 一直报错"