Chinaunix

标题: git 安装报错 [打印本页]

作者: 贫道夜探青楼    时间: 2016-03-17 08:51
标题: git 安装报错
===>   Registering installation for p5-Error-0.17024 as automatic
pkg-static: Unable to access file /usr/ports/lang/p5-Error/work/stage/usr/local/lib/perl5/site_perl/Error.pm: No such file or directory
pkg-static: Unable to access file /usr/ports/lang/p5-Error/work/stage/usr/local/lib/perl5/site_perl/Error/Simple.pm: No such file or directory
pkg-static: Unable to access file /usr/ports/lang/p5-Error/work/stage/usr/local/lib/perl5/site_perl/man/man3/Error.3.gz: No such file or directory
pkg-static: Unable to access file /usr/ports/lang/p5-Error/work/stage/usr/local/lib/perl5/site_perl/man/man3/Error::Simple.3.gz: No such file or directory
*** [fake-pkg] Error code 74

Stop in /usr/ports/lang/p5-Error.
*** [build-depends] Error code 1

Stop in /usr/ports/devel/git.
*** [install] Error code 1

Stop in /usr/ports/devel/git.


请问是怎么回事?
作者: lsstarboy    时间: 2016-03-17 11:03
升级一下ports再试试。
作者: action08    时间: 2016-03-17 16:53
perl的版本不够么??
作者: 贫道夜探青楼    时间: 2016-03-18 08:15
回复 3# action08


    ===>  Staging for p5-GSSAPI-0.28_1
===>   p5-GSSAPI-0.28_1 depends on file: /usr/local/bin/perl5.14.2 - found
===>   Generating temporary packing list
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/5.14.2/mach/auto/GSSAPI/GSSAPI.bs
Installing /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/5.14.2/mach/auto/GSSAPI/GSSAPI.so
Installing /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/5.14.2/mach/GSSAPI.pm
Installing /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/5.14.2/mach/GSSAPI/OID.pm
Installing /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/5.14.2/mach/GSSAPI/Status.pm
Installing /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/5.14.2/mach/GSSAPI/OID/Set.pm
Installing /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/5.14.2/man/man3/GSSAPI.3
Installing /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/5.14.2/man/man3/GSSAPI::OID::Set.3
Installing /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/5.14.2/man/man3/GSSAPI::OID.3
Installing /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/5.14.2/man/man3/GSSAPI::Status.3
====> Compressing man pages (compress-man)
===>  Installing for p5-GSSAPI-0.28_1
===>  Checking if p5-GSSAPI already installed
actual-package-depends: dependency on /usr/local/bin/perl5.14.2 not registered (normal if it belongs to base)
===>   Registering installation for p5-GSSAPI-0.28_1 as automatic
pkg-static: Unable to access file /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/man/man3/GSSAPI.3.gz: No such file or directory
pkg-static: Unable to access file /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/man/man3/GSSAPI::OID.3.gz: No such file or directory
pkg-static: Unable to access file /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/man/man3/GSSAPI::OID::Set.3.gz: No such file or directory
pkg-static: Unable to access file /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/man/man3/GSSAPI::Status.3.gz: No such file or directory
pkg-static: Unable to access file /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/mach/5.14/GSSAPI.pm: No such file or directory
pkg-static: Unable to access file /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/mach/5.14/GSSAPI/OID.pm: No such file or directory
pkg-static: Unable to access file /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/mach/5.14/GSSAPI/OID/Set.pm: No such file or directory
pkg-static: Unable to access file /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/mach/5.14/GSSAPI/Status.pm: No such file or directory
pkg-static: Unable to access file /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/mach/5.14/auto/GSSAPI/GSSAPI.so: No such file or directory
*** [fake-pkg] Error code 74

Stop in /usr/ports/security/p5-GSSAPI.
*** [install] Error code 1

Stop in /usr/ports/security/p5-GSSAPI.
*** [build-depends] Error code 1

Stop in /usr/ports/security/p5-Authen-SASL.
*** [install] Error code 1

Stop in /usr/ports/security/p5-Authen-SASL.
*** [run-depends] Error code 1

Stop in /usr/ports/devel/git.
*** [install] Error code 1

Stop in /usr/ports/devel/git.

作者: 贫道夜探青楼    时间: 2016-03-18 08:15
回复 2# lsstarboy


   

升级了,但是还不行
作者: lsstarboy    时间: 2016-03-18 08:32
想调试的话,到/usr/ports/security/p5-GSSAPI里面make install看看到底发生什么了。

想省事的话,直接pkg install p5-GSSAPI看看效果。
作者: 贫道夜探青楼    时间: 2016-03-18 09:06
回复 6# lsstarboy


    和上面的一样


root@cndns-hzidc:/usr/ports/devel/git # cd /usr/ports/security/p5-GSSAPI
root@cndns-hzidc:/usr/ports/security/p5-GSSAPI # make install
===>  Installing for p5-GSSAPI-0.28_1
===>   p5-GSSAPI-0.28_1 depends on file: /usr/local/bin/perl5.14.2 - found
===>  Checking if p5-GSSAPI already installed
actual-package-depends: dependency on /usr/local/bin/perl5.14.2 not registered (normal if it belongs to base)
===>   Registering installation for p5-GSSAPI-0.28_1
pkg-static: Unable to access file /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/man/man3/GSSAPI.3.gz: No such file or directory
pkg-static: Unable to access file /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/man/man3/GSSAPI::OID.3.gz: No such file or directory
pkg-static: Unable to access file /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/man/man3/GSSAPI::OID::Set.3.gz: No such file or directory
pkg-static: Unable to access file /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/man/man3/GSSAPI::Status.3.gz: No such file or directory
pkg-static: Unable to access file /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/mach/5.14/GSSAPI.pm: No such file or directory
pkg-static: Unable to access file /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/mach/5.14/GSSAPI/OID.pm: No such file or directory
pkg-static: Unable to access file /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/mach/5.14/GSSAPI/OID/Set.pm: No such file or directory
pkg-static: Unable to access file /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/mach/5.14/GSSAPI/Status.pm: No such file or directory
pkg-static: Unable to access file /usr/ports/security/p5-GSSAPI/work/stage/usr/local/lib/perl5/site_perl/mach/5.14/auto/GSSAPI/GSSAPI.so: No such file or directory
*** [fake-pkg] Error code 74

Stop in /usr/ports/security/p5-GSSAPI.
*** [install] Error code 1

Stop in /usr/ports/security/p5-GSSAPI.

作者: 贫道夜探青楼    时间: 2016-03-18 09:24
本帖最后由 贫道夜探青楼 于 2016-03-18 09:25 编辑


作者: lsstarboy    时间: 2016-03-18 10:59
我试了一下,perl需要版本5.20以上,你的是5.14,需要先升级一下perl。
作者: lsstarboy    时间: 2016-03-18 10:59
===>  Staging for p5-GSSAPI-0.28_1
===>   p5-GSSAPI-0.28_1 depends on package: perl5>=5.20<5.21 - found
===>   Generating temporary packing list

作者: action08    时间: 2016-03-18 13:18
debian linux表示很有优越感哦

bsd感觉有些机制太过于复杂,其实linux  也有make world的用法,满足代码编译控的需求
作者: james90404    时间: 2016-03-20 05:41
我也没这档案  应该是要修改pkg-plist档案吧
最后打包错误  因為没那个档案  或者应该有这个档案  因為某些原因导致gg
顺代一提  /usr/ports/math/openblas 最近不侦测cpu了
要在Makefile中加入TARGET_CPU_ARCH=X的东西
X是什么可以在openblas的source中找Target.list的档案
裡头纪录cpu的架构  根据自己的设定就ok
作者: lsstarboy    时间: 2016-03-21 14:13
portsnap fetch update
然后再执行一下make install




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2