Add /usr/ccs/bin to your path. You may want to do some reading up on how to set up a compiler environment on Solaris, which is really way outside the scope of this list.

Olivier Studer wrote:

Hello,
I would like to install spamassassin version 2.55 on Solaris 8 but I recive the following error message when I try to make :
./configure
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
make: *** [binaries.mk] Error 77
Could some body help me?
Thanks
/Olivier
The output file config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.53. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = hes-ldap
uname -m = sun4u
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_108528-14
/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = hes-ldap
Release = 5.8
KernelID = Generic_108528-14
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1
/bin/arch = sun4
/usr/bin/arch -k = sun4u
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/dt/bin
PATH: /usr/openwin/bin
PATH: /bin
PATH: /usr/ucb
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/openwin
PATH: /opt/CPfw1-50/bin
PATH: /opt/CPshared/5.0/5.0/bin
PATH: /usr/iplanet/server5/msg-hes-ldap/bin
PATH: .
PATH: /usr/local/bin


## ----------- ##
## Core tests. ##
## ----------- ##
configure:1233: checking for gcc
configure:1249: found /usr/local/bin/gcc
configure:1259: result: gcc
configure:1503: checking for C compiler version
configure:1506: gcc --version </dev/null >&5
2.95.3
configure:1509: $? = 0
configure:1511: gcc -v </dev/null >&5
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)
configure:1514: $? = 0
configure:1516: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1519: $? = 1
configure:1545: checking for C compiler default output
configure:1548: gcc conftest.c >&5
gcc: installation problem, cannot exec `as': No such file or directory
configure:1551: $? = 1
configure: failed program was:
#line 1522 "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
;
return 0;
}
configure:1578: error: C compiler cannot create executables
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_ac_ct_CC=gcc
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
configure: exit 77


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to