[Orca-users] Re: error: C compiler cannot create executables
nikitelli
n.kraus at 3beg.at
Fri Jan 18 00:10:23 PST 2002
--- In orca-users at y..., Blair Zajac <blair at o...> wrote:
> nikitelli wrote:
> >
> > Hi,
> > I try to install orcallator 0.27b2 on Solaris 7 but get following
> > message:
> >
> > # inst.sh
> > checking build system type... sparc-sun-solaris2.7
> > checking host system type... sparc-sun-solaris2.7
> > checking target system type... sparc-sun-solaris2.7
> > checking for gcc... gcc
> > checking for C compiler default output... configure: error: C
> > compiler cannot create executables
> >
> > inst.sh looks like
> > ./configure --prefix=/opt/orca \
> > --bindir=/opt/orca/bin \
> > --libdir=/opt/orca/lib \
> > --mandir=/opt/orca/man \
> > --with-rrd-dir=/var/orca/rrd \
> > --with-html-dir=/var/orca/html \
> > --with-orcallator-dir=/var/orca/orcallator
> >
> > To compile I installed
> > # pkginfo |grep -i SMC
> > application SMCgcc gcc 2.95.3
> > application SMCmake make 3.79.1
> > application SMCprl561 perl 5.61
> >
> > all from sunfreeware.com
> >
> > I've also /usr/ccs/bin in PATH.
> >
> > What's this error?
> >
> > Nick
>
> Hi Nick,
>
> Look at the config.log output and see what it says. Is the error
you
> show the last one and then configure quits? If so, the stuff to
look for
> in config.log should be at the end of the log.
>
> Blair
>
> --
> Blair Zajac <blair at o...>
> Web and OS performance plots - http://www.orcaware.com/orca/
Hi Blair,
yes I've seen this config.log but I can't make head or tail of it.
Maybe you know...?
Here is what is written in it:
<<<<<<<
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.52. Invocation command line was
$ ./configure --prefix=/opt/orca --bindir=/opt/orca/bin
--libdir=/opt/orca/lib --mandir=/opt/orca/man
--with-rrd-dir=/var/orca/rrd --with-html-dir=/var/orca/html
--with-orcallator-dir=/var/orca/orcallator
## ---------- ##
## Platform. ##
## ---------- ##
hostname = mgt2
uname -m = sun4u
uname -r = 5.7
uname -s = SunOS
uname -v = Generic_106541-17
/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = mgt2
Release = 5.7
KernelID = Generic_106541-17
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 =
/bin:/usr/bin:/usr/ucb:/usr/bin/X11:/usr/local/bin
:/usr/local/bin:/opt/CPfw1-41/bin:/usr/ccs/bin:/bin:/sbin:/usr/sbin:.
## ------------ ##
## Core tests. ##
## ------------ ##
configure:924: PATH=".;."; conftest.sh
./configure: conftest.sh: not found
configure:927: $? = 1
configure:967: checking build system type
configure:985: result: sparc-sun-solaris2.7
configure:992: checking host system type
configure:1006: result: sparc-sun-solaris2.7
configure:1013: checking target system type
configure:1027: result: sparc-sun-solaris2.7
configure:1274: checking for gcc
configure:1289: found /usr/local/bin/gcc
configure:1297: result: gcc
configure:1525: checking for C compiler version
configure:1528: gcc --version </dev/null >&5
2.95.3
configure:1531: $? = 0
configure:1533: gcc -v </dev/null >&5
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3/specs
gcc version 2.95.3 20010315 (release)
configure:1536: $? = 0
configure:1538: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1541: $? = 1
configure:1561: checking for C compiler default output
configure:1564: gcc conftest.c >&5
/usr/local/sparc-sun-solaris2.7/bin/ld: cannot open values-Xa.o: No
such file or directory
collect2: ld returned 1 exit status
configure:1567: $? = 1
configure: failed program was:
#line 1545 "configure"
#include "confdefs.h"
int
main ()
{
;
return 0;
}
configure:1590: error: C compiler cannot create executables
## ----------------- ##
## Cache variables. ##
## ----------------- ##
ac_cv_build='sparc-sun-solaris2.7'
ac_cv_build_alias='sparc-sun-solaris2.7'
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_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_host='sparc-sun-solaris2.7'
ac_cv_host_alias='sparc-sun-solaris2.7'
ac_cv_prog_ac_ct_CC='gcc'
ac_cv_target='sparc-sun-solaris2.7'
ac_cv_target_alias='sparc-sun-solaris2.7'
configure: exit 77
>>>>>>
More information about the Orca-users
mailing list