OpenCV中文网站

 找回密码
 立即注册
搜索
热搜: 安装 配置
查看: 4740|回复: 1

换了个编译器arm-none-linux-gnueabi-g++,make install出错了

[复制链接]
发表于 2008-10-15 17:45:37 | 显示全部楼层 |阅读模式
错误如下:
feiyu@BasicUbuntu:~/glib_projects/ambarella/opencv-1.0.0$ sudo make install
Making install in cxcore
make[1]: Entering directory `/home/feiyu/glib_projects/ambarella/opencv-1.0.0/cxcore'
Making install in src
make[2]: Entering directory `/home/feiyu/glib_projects/ambarella/opencv-1.0.0/cxcore/src'
make[3]: Entering directory `/home/feiyu/glib_projects/ambarella/opencv-1.0.0/cxcore/src'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
/bin/bash ../../libtool --mode=install /usr/bin/install -c  'libcxcore.la' '/usr/local/lib/libcxcore.la'
/usr/bin/install -c .libs/libcxcore.lai /usr/local/lib/libcxcore.la
/usr/bin/install -c .libs/libcxcore.a /usr/local/lib/libcxcore.a
chmod 644 /usr/local/lib/libcxcore.a
arm-none-linux-gnueabi-ranlib /usr/local/lib/libcxcore.a
../../libtool: line 6556: arm-none-linux-gnueabi-ranlib: command not found
make[3]: *** [install-libLTLIBRARIES] 错误 127
make[3]: Leaving directory `/home/feiyu/glib_projects/ambarella/opencv-1.0.0/cxcore/src'
make[2]: *** [install-am] 错误 2
make[2]: Leaving directory `/home/feiyu/glib_projects/ambarella/opencv-1.0.0/cxcore/src'
make[1]: *** [install-recursive] 错误 1
make[1]: Leaving directory `/home/feiyu/glib_projects/ambarella/opencv-1.0.0/cxcore'
make: *** [install-recursive] 错误 1

求解! 谢谢!
回复

使用道具 举报

 楼主| 发表于 2008-10-20 17:44:10 | 显示全部楼层

换了个编译器arm-none-linux-gnueabi-g++,make install出错了

已经解决,这个问题是由于我先在自己的帐户下export了环境变量,但是root的环境变量没有更改,于是sudo make install的时候就找不到对应的command了。
回复 支持 反对

使用道具 举报

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

本版积分规则

手机版|OpenCV中文网站

GMT+8, 2024-4-26 04:54 , Processed in 0.009200 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表