免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2941 | 回复: 7
打印 上一主题 下一主题

[文件系统] 移植perl到arm的问题,请各位朋友帮个忙 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-08-20 10:23 |只看该作者 |倒序浏览
在arm平台下移植perl,已经可以通过perl -v看见这些了
This is perl, v5.10.1 (UNKNOWN-miniperl*) built for arm-linux
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2009, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
但是一使用,就会出现
Can't locate Config.pm in @INC (@INC contains: /usr/lib/perl5/5.10.1/arm-linux /
usr/lib/perl5/5.10.1 /usr/lib/perl5/site_perl/5.10.1/arm-linux /usr/lib/perl5/si
te_perl/5.10.1 /usr/lib/perl5/site_perl .).
BEGIN failed--compilation aborted.
我也在看了些别人的博文,上面说,移植时需要从usr/lib/5.10.1中将生成的文件复制到板上去,但是我根本就没生成这个东西,请问,这种问题该如何解决呢

论坛徽章:
0
2 [报告]
发表于 2012-08-20 14:46 |只看该作者
哎,有没有人帮帮忙啊,还是说这个问题太简单了,还请各位指点迷津

论坛徽章:
0
3 [报告]
发表于 2012-08-22 03:14 |只看该作者
确实不错,眼前一亮的好文

论坛徽章:
0
4 [报告]
发表于 2012-08-23 15:30 |只看该作者
可以把主机上的相关pm文件拷贝到目标机的指定目录下。
现在我运行perl脚本,会出现:
Can't load module Fcntl, dynamic loading not available in this perl.
  (You may need to build a new perl executable which either supports
  dynamic loading or has the Fcntl module statically linked into it.)
希望得到牛人帮助,谢谢!:wink:

论坛徽章:
1
15-16赛季CBA联赛之新疆
日期:2017-03-09 12:33:45
5 [报告]
发表于 2012-08-26 18:11 |只看该作者
请问你是怎么编译PERL的,我现在也要移植PERL到ARM的板子上去,如果我能做到那一步,我会把下面的步骤找到了解决问题的方法告诉你。谢谢。

论坛徽章:
0
6 [报告]
发表于 2012-08-30 09:27 |只看该作者

论坛徽章:
1
15-16赛季CBA联赛之新疆
日期:2017-03-09 12:33:45
7 [报告]
发表于 2012-09-01 05:55 |只看该作者
回复 6# lingxiao314
这样,我给你一个文件,我这里有这个文件,你的在邮箱在哪里?


   

论坛徽章:
0
8 [报告]
发表于 2012-09-01 17:14 |只看该作者
回复 7# jeppeter
好吧,谢谢你530097308@qq.com

   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP