红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > SuSE

怪怪的,编译时的权限问题 已解决!

发布时间:2008-11-15 22:44:13来源:红联作者:weixq316
OpenSuSE11:/linux/reiserfs/pidgin-2.5.2 # ./configure
bash: ./configure: /bin/sh: bad interpreter: 权限不够
OpenSuSE11:/linux/reiserfs/pidgin-2.5.2 # ./configure
bash: ./configure: /bin/sh: bad interpreter: 权限不够
OpenSuSE11:/linux/reiserfs/pidgin-2.5.2 #
用sh configure就可以成功的编译
但这样明明就是用root了啊,怎么还是权限不够啊,高手解下答,先谢了

[ 本帖最后由 weixq316 于 2008-11-24 22:24 编辑 ]
文章评论

共有 4 条评论

  1. weixq316 于 2008-11-24 22:23:24发表:

    把文件copy到自己的目录就可以了,原来是在其它的地方没有执行的权限

  2. 天山竹园 于 2008-11-21 10:13:12发表:

    OpenSuSE11:/linux/reiserfs/MPlayer-1.0rc2 # make
    ./version.sh `cc -dumpversion`
    /bin/sh: ./version.sh: /bin/sh: bad interpreter: Permission denied

    这个我也遇到了,我不管编译什么都是这个提示。:0wszxc

  3. tyx0905 于 2008-11-20 20:58:17发表:

    没碰到过,有这种情况的朋友给说一下哈

  4. weixq316 于 2008-11-16 09:10:38发表:

    可以sh configure --codecsdir=usr/locale/lib/codecs 但make就不行了
    (5ty( 'config.h' and 'config.mak' contain your configuration options.
    Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
    compile *** DO NOT REPORT BUGS if you tweak these files ***

    'make' will now compile MPlayer and 'make install' will install it.
    Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.

    Please check mtrr settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr)

    Check configure.log if you wonder why an autodetection failed (make sure
    development headers/packages are installed).

    NOTE: The --enable-* parameters unconditionally force options on, completely
    skipping autodetection. This behavior is unlike what you may be used to from
    autoconf-based configure scripts that can decide to override you. This greater
    level of control comes at a price. You may have to provide the correct compiler
    and linker flags yourself.
    If you used one of these options (except --enable-gui and similar ones that
    turn on internal features) and experience a compilation or linking failure,
    make sure you have passed the necessary compiler/linker flags to configure.

    If you suspect a bug, please read DOCS/HTML/en/bugreports.html.

    OpenSuSE11:/linux/reiserfs/MPlayer-1.0rc2 # make
    ./version.sh `cc -dumpversion`
    /bin/sh: ./version.sh: /bin/sh: bad interpreter: Permission denied
    make: *** [version.h] 错误 126