|
|
下载了源码,tar开,进入目录,按找INSTALL中的指导,普通用户身份运行./configure,报错:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking which template to use... linux
checking whether to build with 64-bit integer date/time support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for gcc... no
checking for cc... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
再yast,搜索gcc,报已安装:
cpp42 │ │4.2.1_20070724
libgcc42│ │4.2.1_20070724
再尝试
# which gcc
which: no gcc in (/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/home/chn/bin)
接下来不会做了。请指教。 |
|