求救: sudo: ./configure: command not found

编译打包和其他
回复
Sapphirezzz
帖子: 5
注册时间: 2011-02-22 11:23

求救: sudo: ./configure: command not found

#1

帖子 Sapphirezzz » 2011-02-22 11:34

安装软件时出现 sudo: ./configure: command not found

之前不会,现在重装这个软件就会,所以不是软件包的问题,里面有configure文件,已用了chmod 命令。

安装其他软件也是。

难道是config本身的问题?

怎么回复到装好系统时的状态呢?
上次由 Sapphirezzz 在 2011-02-22 12:49,总共编辑 1 次。
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 求救: sudo: ./configure: command not found

#2

帖子 smallapple » 2011-02-22 11:41

+x
头像
灰色小狼
帖子: 4585
注册时间: 2008-12-06 10:38
系统: Arch

Re: 求救: sudo: ./configure: command not found

#3

帖子 灰色小狼 » 2011-02-22 11:45

是config就./config,是configure就./configure
rediscover
帖子: 3173
注册时间: 2010-01-13 23:26

Re: 求救: sudo: ./configure: command not found

#4

帖子 rediscover » 2011-02-22 13:47

运行 ./configure 永远不需要 sudo
Here I am.
Ubuntu 桌面培训 - 全中文官方文档,含汉化截图,提供PDF
Sapphirezzz
帖子: 5
注册时间: 2011-02-22 11:23

Re: 求救: sudo: ./configure: command not found

#5

帖子 Sapphirezzz » 2011-02-23 9:46

rediscover 写了:运行 ./configure 永远不需要 sudo
不用sudo的时候它又提示,bash: ./configure: 权限不够。
而且用 ./configure -version 等等都是说command not found,我怀疑是configure这个脚本坏了,或者装系统的时候出错。

请问怎么重装之类的?
Sapphirezzz
帖子: 5
注册时间: 2011-02-22 11:23

Re: 求救: sudo: ./configure: command not found

#6

帖子 Sapphirezzz » 2011-02-23 9:53

发现可以了,不用sudo,再chmod 777 configure。谢谢楼上各位的提醒!~~~

新手啊我~~
rediscover
帖子: 3173
注册时间: 2010-01-13 23:26

Re: 求救: sudo: ./configure: command not found

#7

帖子 rediscover » 2011-02-23 10:06

777 也不是好习惯,这样就够了:

代码: 全选

chmod 755 ./configure
Here I am.
Ubuntu 桌面培训 - 全中文官方文档,含汉化截图,提供PDF
Sapphirezzz
帖子: 5
注册时间: 2011-02-22 11:23

Re: 求救: sudo: ./configure: command not found

#8

帖子 Sapphirezzz » 2011-02-25 1:40

rediscover 写了:777 也不是好习惯,这样就够了:

代码: 全选

chmod 755 ./configure
谢谢!
zjjsd195
帖子: 2
注册时间: 2013-03-08 13:59
系统: ubuntu10.10

Re: 求救: sudo: ./configure: command not found

#9

帖子 zjjsd195 » 2013-03-11 19:24

不行,请看:

zjj@zjj:~/soft/li$ chmod 755 ./laniso
zjj@zjj:~/soft/li$ ./laniso
bash: ./laniso: 无法执行二进制文件

这个错误是怎么回事?谢谢!
回复