- 论坛徽章:
- 0
|
在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. |
|