From: BertieBigBollox on
Trying to ./configure mtools.

On screen I get:-

checking for gcc.....no
checking for cc....yes
checking for C compiler default output file name... configure: error:
C compiler cannot create executables
See 'config.log' for more details

And here is 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.59. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = sardis
uname -m = i86pc
uname -r = 5.9
uname -s = SunOS
uname -v = Generic_118559-11

/usr/bin/uname -p = i386
/bin/uname -X = System = SunOS
Node = sardis
Release = 5.9
KernelID = Generic_118559-11
Machine = i86pc
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1

/bin/arch = i86pc
/usr/bin/arch -k = i86pc
/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


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1361: checking for gcc
configure:1390: result: no
configure:1441: checking for cc
configure:1457: found /usr/ucb/cc
configure:1467: result: cc
configure:1631: checking for C compiler version
configure:1634: cc --version </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:1637: $? = 1
configure:1639: cc -v </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:1642: $? = 1
configure:1644: cc -V </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:1647: $? = 1
configure:1670: checking for C compiler default output file name
configure:1673: cc conftest.c >&5
/usr/ucb/cc: language optional software package not installed
configure:1676: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:1715: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## 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=cc

## ----------------- ##
## Output variables. ##
## ----------------- ##

BINFLOPPYD=''
CC='cc'
CFLAGS=''
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FLOPPYD=''
HOST_ID=''
INSTALL_DATA=''
INSTALL_INFO=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LN_S=''
LTLIBOBJS=''
MACHDEPLIBS=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SHELL='/bin/bash'
SHLIB=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC='cc'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
extraincludedir=''
extralibdir=''
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target=''
target_alias=''
target_cpu=''
target_os=''
target_vendor=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""

configure: exit 77
From: Thomas Maier-Komor on
BertieBigBollox(a)gmail.com schrieb:
> Trying to ./configure mtools.
>
> On screen I get:-
>
> checking for gcc.....no
> checking for cc....yes
> checking for C compiler default output file name... configure: error:
> C compiler cannot create executables
> See 'config.log' for more details
>
> And here is 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.59. Invocation command line was
>
> $ ./configure
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = sardis
> uname -m = i86pc
> uname -r = 5.9
> uname -s = SunOS
> uname -v = Generic_118559-11
>
> /usr/bin/uname -p = i386
> /bin/uname -X = System = SunOS
> Node = sardis
> Release = 5.9
> KernelID = Generic_118559-11
> Machine = i86pc
> BusType = <unknown>
> Serial = <unknown>
> Users = <unknown>
> OEM# = 0
> Origin# = 1
> NumCPU = 1
>
> /bin/arch = i86pc
> /usr/bin/arch -k = i86pc
> /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
>
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:1361: checking for gcc
> configure:1390: result: no
> configure:1441: checking for cc
> configure:1457: found /usr/ucb/cc
> configure:1467: result: cc
> configure:1631: checking for C compiler version
> configure:1634: cc --version </dev/null >&5
> /usr/ucb/cc: language optional software package not installed
> configure:1637: $? = 1
> configure:1639: cc -v </dev/null >&5
> /usr/ucb/cc: language optional software package not installed
> configure:1642: $? = 1
> configure:1644: cc -V </dev/null >&5
> /usr/ucb/cc: language optional software package not installed
> configure:1647: $? = 1
> configure:1670: checking for C compiler default output file name
> configure:1673: cc conftest.c >&5
> /usr/ucb/cc: language optional software package not installed
> configure:1676: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h. */
> |
> | int
> | main ()
> | {
> |
> | ;
> | return 0;
> | }
> configure:1715: error: C compiler cannot create executables
> See `config.log' for more details.
>
> ## ---------------- ##
> ## 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=cc
>
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
>
> BINFLOPPYD=''
> CC='cc'
> CFLAGS=''
> CPP=''
> CPPFLAGS=''
> DEFS=''
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EGREP=''
> EXEEXT=''
> FLOPPYD=''
> HOST_ID=''
> INSTALL_DATA=''
> INSTALL_INFO=''
> INSTALL_PROGRAM=''
> INSTALL_SCRIPT=''
> LDFLAGS=''
> LIBOBJS=''
> LIBS=''
> LN_S=''
> LTLIBOBJS=''
> MACHDEPLIBS=''
> OBJEXT=''
> PACKAGE_BUGREPORT=''
> PACKAGE_NAME=''
> PACKAGE_STRING=''
> PACKAGE_TARNAME=''
> PACKAGE_VERSION=''
> PATH_SEPARATOR=':'
> SHELL='/bin/bash'
> SHLIB=''
> X_CFLAGS=''
> X_EXTRA_LIBS=''
> X_LIBS=''
> X_PRE_LIBS=''
> ac_ct_CC='cc'
> bindir='${exec_prefix}/bin'
> build=''
> build_alias=''
> build_cpu=''
> build_os=''
> build_vendor=''
> datadir='${prefix}/share'
> exec_prefix='NONE'
> extraincludedir=''
> extralibdir=''
> host=''
> host_alias=''
> host_cpu=''
> host_os=''
> host_vendor=''
> includedir='${prefix}/include'
> infodir='${prefix}/info'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localstatedir='${prefix}/var'
> mandir='${prefix}/man'
> oldincludedir='/usr/include'
> prefix='NONE'
> program_transform_name='s,x,x,'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='${prefix}/etc'
> target=''
> target_alias=''
> target_cpu=''
> target_os=''
> target_vendor=''
>
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
>
> #define PACKAGE_BUGREPORT ""
> #define PACKAGE_NAME ""
> #define PACKAGE_STRING ""
> #define PACKAGE_TARNAME ""
> #define PACKAGE_VERSION ""
>
> configure: exit 77

You don't have a compiler installed. /usr/ucb/cc can wrap a compiler
AFAIK. Get Sun Studio on Sun's website for free or download a gcc from
either blastwave.org or sunfreeware.com and adjust your PATH accordingly...

HTH,
Thomas
From: Casper H.S. Dik on
"BertieBigBollox(a)gmail.com" <BertieBigBollox(a)gmail.com> writes:

>Trying to ./configure mtools.

>On screen I get:-

>checking for gcc.....no
>checking for cc....yes
>checking for C compiler default output file name... configure: error:
>C compiler cannot create executables
>See 'config.log' for more details

>And here is config.log:-


You will want to install Sun's C compiler or add the appropriate
directory to the front of $PATH (/opt/SUNWspro/bin).

If you dont;' have that directory, you need to download either Sun's
latest C compiler or gcc.

Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
From: Oscar del Rio on
BertieBigBollox(a)gmail.com wrote:
> /usr/ucb/cc: language optional software package not installed

1. Download and install Sun Studio compilers
http://developers.sun.com/sunstudio/downloads/index.jsp

2. Get rid of /usr/ucb in your PATH; replace it with /opt/SUNWspro/bin
From: Oscar del Rio on
I wrote:
> BertieBigBollox(a)gmail.com wrote:
>> /usr/ucb/cc: language optional software package not installed
>
> 1. Download and install Sun Studio compilers
> http://developers.sun.com/sunstudio/downloads/index.jsp
>
> 2. Get rid of /usr/ucb in your PATH; replace it with /opt/SUNWspro/bin

3. Add /usr/ccs/bin to the PATH as well.