LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 763|回复: 1

这是bash的问题吗?

[复制链接]
发表于 2004-12-2 16:54:08 | 显示全部楼层 |阅读模式
系统是SuSE 9.2,在9.1中也出现过这个问题,但9.0没有!
刚刚装完系统的时候是可以运行./configure进行配置的!但是,重新启动之后就是这样的情况了!
错误提示如下:
chg@linux:/data1/software/xdrawchem/xdrawchem-1.8.5> ./configure
bash: ./configure: /bin/sh: bad interpreter: 权限不够
然后我看/bin/sh和/bin/bash
lrwxrwxrwx  1 root root 4 2004-11-15 08:39 /bin/sh -> bash*
-rwsr-xr-x  1 root root 480776 2004-10-02 09:08 /bin/bash*
然后我又运行了一下
chg@linux:/data1/software/xdrawchem/xdrawchem-1.8.5> bash ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/bin/pkg-config
checking for openbabel >= 1.100.2... Package openbabel was not found in the pkg-config search path.
Perhaps you should add the directory containing `openbabel.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openbabel' found

configure: error: Library requirements (openbabel >= 1.100.2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your lbraries are in a nonstandard prefix so pkg-config can find them.

我知道SuSE的东西和其他发行版的有所不同,这是我的~/.bashrc
# settings made here will also take effect in a login shell.
#
# NOTE: It is recommended to make language settings in ~/.profile rather than
# here, since multilingual X sessions would not work properly if LANG is over-
# ridden in every subshell.

# This might be helpful for Linux newbies who previously used DOS...
test -f /etc/profile.dos && . /etc/profile.dos

# Some applications read the EDITOR variable to determine your favourite text
# editor. So uncomment the line below and enter the editor of your choice :-)
#export EDITOR=/usr/bin/vim
#export EDITOR=/usr/bin/mcedit

# For some news readers it makes sense to specify the NEWSSERVER variable here
#export NEWSSERVER=your.news.server

# If you want to use a Palm device with Linux, uncomment the two lines below.
# For some (older) Palm Pilots, you might need to set a lower baud rate
# e.g. 57600 or 38400; lowest is 9600 (very slow!)
#
#export PILOTPORT=/dev/pilot
#export PILOTRATE=115200

test -s ~/.alias && . ~/.alias

这是我的~/.profile(好像就是其他发行版的~/.bash_profile)
# Sample .profile for SuSE Linux
# rewritten by Christian Steinruecken <cstein@suse.de>
#
# This file is read each time a login shell is started.
# All other interactive shells will only read .bashrc; this is particularly
# important for language settings, see below.

test -z "$PROFILEREAD" && . /etc/profile

# Most applications support several languages for their output.
# To make use of this feature, simply uncomment one of the lines below or
# add your own one (see /usr/share/locale/locale.alias for more codes)
#
#export LANG=de_DE@euro     # uncomment this line for German output
#export LANG=fr_FR@euro     # uncomment this line for French output
#export LANG=es_ES@euro     # uncomment this line for Spanish output


# Some people don't like fortune. If you uncomment the following lines,
# you will have a fortune each time you log in ;-)

#if [ -x /usr/bin/fortune ] ; then
#    echo
#    /usr/bin/fortune
#    echo
#fi

这是什么错误呀,怎么解决呢?
谢谢!
发表于 2004-12-2 17:38:46 | 显示全部楼层
-rwsr-xr-x 1 root root 480776 2004-10-02 09:08 /bin/bash*
这是新装的Suse系统吗?
建议重新安装bash
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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