law7890
no acceptable C compiler found in $PATH
ÔÚ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.
law7890
µ«:
$PATH
bash: /usr/sbin:/usr/bin: ÎÞ´ËÎļþ»òĿ¼
ÈçºÎ½â¾öÕâ¸öÎÊÌâѽ?
old-cow
PATH
/usr/local/bin
law7890
²»ÊǺÜÃ÷°×,ÐÖµÜ,ÄÜ˵Çå³þÒ»µãÂð?
$PATH
bash: /usr/local/bin:/usr/sbin:/usr/bin: ÎÞ´ËÎļþ»òĿ¼
cnhawk386
[quote]ÔÌûÓÉ [i]·çÖ®»ÃÏë[/i] ÓÚ 2006-4-6 17:38 ·¢±í [url=http://bbs.chinaunix.net/redirect.php?goto=findpost&pid=4974319&ptid=731827][img]http://bbs.chinaunix.net/images/common/back.gif[/img][/url]
CC=gcc;export CC [/quote]
ͬÑùµÄ´íÎó
nbrr
[code]PATH=/usr/local/bin:$PATH
export PATH[/code]