阅 读 文 章

no acceptable C compiler found in $PATH

[来源:网上转载 (http://bbs.chinaunix.net) | 作者:网友() | 时间:2007-06-24 | 浏览: 人次 ]

在solaris 10 时候发现:
no acceptable C compiler found in $PATH

bash-3.00# ./configure
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
Configuring APR library
Platform: i386-pc-solaris2.10
checking for working mkdir -p... yes
APR Version: 0.9.7
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr

但我已经装GCC了

bash-3.00# pkgadd -d gcc-3.3.2-sol10-intel-local

The following packages are available:
  1  SMCgcc     gcc
                (intel) 3.3.2

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: all

Processing package instance <SMCgcc> from </export/home/law/gcc-3.3.2-sol10-intel-local>

gcc(intel) 3.3.2

This appears to be an attempt to install the same architecture and
version of a package which is already installed.  This installation
will attempt to overwrite this package.

FSF
Using </usr/local> as the package base directory.
## Processing package information.
## Processing system information.
   344 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

Installing gcc as <SMCgcc>

## Installing part 1 of 1.
[ verifying class <none> ]

Installation of <SMCgcc> was successful.


但:
$PATH
bash: /usr/sbin:/usr/bin: 无此文件或目录

如何解决这个问题呀?


PATH

/usr/local/bin


不是很明白,兄弟,能说清楚一点吗?

$PATH
bash: /usr/local/bin:/usr/sbin:/usr/bin: 无此文件或目录


CC=gcc;export CC

TAG标签 : checking for i386-pc-solaris2.10 system package ##

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表
网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.newhtm.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.