<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
HI Experts
<br>
<br>
I try to instal MRTG in a Sun Blade
<br>
I installed the follows packages:
<br>
<br>
<br>
libpng-1.2.40-sol10-sparc-local gcc-3.4.6-sol10-sparc-local&nbsp;&nbsp;&nbsp;
mrtg-2.16.2 gd-2.0.35-sol10-sparc-local
<br>
zlib-1.2.3-sol10-sparc-local
<br>
<br>
But when i run the command, present this messages
<br>
could youre help me to understand this
<br>
and what can i do to resolv&nbsp; this
<br>
Thanks...
<br>
<br>
<br>
root@hcons07 # echo $PATH
<br>
<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>usr/sbin:<i
 class="moz-txt-slash"><span class="moz-txt-tag">/</span>usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,Sun-Blade-1000/sbin:/opt/sun/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin:/opt/CTEact/bin:/opt/SUNWswasr/bin<span
 class="moz-txt-tag">/</span></i>:/usr/local/bin:/usr/lib<span
 class="moz-txt-tag">/</span></i>
<br>
<br>
<br>
root@hcons07 # ./configure --prefix=/usr/local/mrtg-2
<br>
checking for gcc... gcc
<br>
checking for C compiler default output file name...
<br>
configure: error: C compiler cannot create executables
<br>
See `config.log' for more details.
<br>
root@hcons07 # more config.log
<br>
This file contains any messages produced by compilers while
<br>
running configure, to aid debugging if configure makes a mistake.
<br>
<br>
It was created by configure, which was
<br>
generated by GNU Autoconf 2.61.&nbsp; Invocation command line was
<br>
<br>
&nbsp;$ ./configure --prefix=/usr/local/mrtg-2
<br>
<br>
## --------- ##
<br>
## Platform. ##
<br>
## --------- ##
<br>
<br>
hostname = hcons07
<br>
uname -m = sun4u
<br>
uname -r = 5.10
<br>
uname -s = SunOS
<br>
uname -v = Generic_141414-10
<br>
<br>
/usr/bin/uname -p = sparc
<br>
/bin/uname -X&nbsp;&nbsp;&nbsp;&nbsp; = System = SunOS
<br>
Node = hcons07
<br>
Release = 5.10
<br>
KernelID = Generic_141414-10
<br>
Machine = sun4u
<br>
BusType = &lt;unknown&gt;
<br>
Serial = &lt;unknown&gt;
<br>
Users = &lt;unknown&gt;
<br>
OEM# = 0
<br>
Origin# = 1
<br>
NumCPU = 1
<br>
<br>
/bin/arch&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = sun4
<br>
/usr/bin/arch -k&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = sun4u
<br>
/usr/convex/getsysinfo = unknown
<br>
/usr/bin/hostinfo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = unknown
<br>
/bin/machine&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = unknown
<br>
/usr/bin/oslevel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = unknown
<br>
/bin/universe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = unknown
<br>
<br>
PATH: /usr/sbin
<br>
PATH: /usr/bin
<br>
PATH: /usr/ccs/bin
<br>
PATH: /usr/openwin/bin
<br>
PATH: /usr/dt/bin
<br>
PATH: /usr/platform/SUNW,Sun-Blade-1000/sbin
<br>
PATH: /opt/sun/bin
<br>
PATH: /opt/SUNWexplo/bin
<br>
PATH: /opt/SUNWsneep/bin
<br>
PATH: /opt/CTEact/bin
<br>
PATH: <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>opt/SUNWswasr/bin<span
 class="moz-txt-tag">/</span></i>
<br>
PATH: /usr/local/bin
<br>
PATH: <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>usr/lib<span
 class="moz-txt-tag">/</span></i>
<br>
<br>
<br>
## ----------- ##
<br>
## Core tests. ##
<br>
## ----------- ##
<br>
<br>
configure:1744: checking for gcc
<br>
configure:1760: found /usr/local/bin/gcc
<br>
configure:1771: result: gcc
<br>
configure:2009: checking for C compiler version
<br>
configure:2016: gcc --version &gt;&amp;5
<br>
ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or
directory
<br>
./configure: line 2017: 23545 Killed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $CC --version
1&gt;&amp;5
<br>
configure:2019: $? = 137
<br>
configure:2026: gcc -v &gt;&amp;5
<br>
ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or
directory
<br>
./configure: line 2027: 23549 Killed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $CC -v
1&gt;&amp;5
<br>
configure:2029: $? = 137
<br>
configure:2036: gcc -V &gt;&amp;5
<br>
ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or
directory
<br>
./configure: line 2037: 23553 Killed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $CC -V
1&gt;&amp;5
<br>
configure:2039: $? = 137
<br>
configure:2062: checking for C compiler default output file name
<br>
configure:2089: gcc&nbsp;&nbsp;&nbsp; conftest.c&nbsp; &gt;&amp;5
<br>
ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or
directory
<br>
./configure: line 2090: 23564 Killed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $CC $CFLAGS
$CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1&gt;&amp;5
<br>
configure:2092: $? = 137
<br>
configure:2130: result:
<br>
configure: failed program was:
<br>
| /* confdefs.h.&nbsp; */
<br>
| #define PACKAGE_NAME ""
<br>
| #define PACKAGE_TARNAME ""
<br>
| #define PACKAGE_VERSION ""
<br>
| #define PACKAGE_STRING ""
<br>
| #define PACKAGE_BUGREPORT ""
<br>
| /* end confdefs.h.&nbsp; */
<br>
|
<br>
| int
<br>
| main ()
<br>
| {
<br>
|
<br>
|&nbsp;&nbsp; ;
<br>
|&nbsp;&nbsp; return 0;
<br>
| }
<br>
configure:2137: error: C compiler cannot create executables
<br>
See `config.log' for more details.
<br>
<br>
## ---------------- ##
<br>
## Cache variables. ##
<br>
## ---------------- ##
<br>
<br>
ac_cv_env_CC_set=
<br>
ac_cv_env_CC_value=
<br>
ac_cv_env_CFLAGS_set=
<br>
ac_cv_env_CFLAGS_value=
<br>
ac_cv_env_CPPFLAGS_set=
<br>
ac_cv_env_CPPFLAGS_value=
<br>
ac_cv_env_CPP_set=
<br>
ac_cv_env_CPP_value=
<br>
ac_cv_env_LDFLAGS_set=
<br>
ac_cv_env_LDFLAGS_value=
<br>
ac_cv_env_LIBS_set=
<br>
ac_cv_env_LIBS_value=
<br>
ac_cv_env_build_alias_set=
<br>
ac_cv_env_build_alias_value=
<br>
ac_cv_env_host_alias_set=
<br>
ac_cv_env_host_alias_value=
<br>
ac_cv_env_target_alias_set=
<br>
ac_cv_env_target_alias_value=
<br>
ac_cv_prog_ac_ct_CC=gcc
<br>
<br>
## ----------------- ##
<br>
## Output variables. ##
<br>
## ----------------- ##
<br>
<br>
CC='gcc'
<br>
CFLAGS=''
<br>
CPP=''
<br>
CPPFLAGS=''
<br>
DEFS=''
<br>
ECHO_C=''
<br>
ECHO_N='-n'
<br>
ECHO_T=''
<br>
EGREP=''
<br>
EXEEXT=''
<br>
GDFORM_EXT=''
<br>
GREP=''
<br>
INSTALL_DATA=''
<br>
INSTALL_PROGRAM=''
<br>
INSTALL_SCRIPT=''
<br>
LDFLAGS=''
<br>
LD_RUN_PATH=''
<br>
LIBOBJS=''
<br>
LIBS=''
<br>
LTLIBOBJS=''
<br>
NROFF=''
<br>
OBJEXT=''
<br>
PACKAGE_BUGREPORT=''
<br>
PACKAGE_NAME=''
<br>
PACKAGE_STRING=''
<br>
PACKAGE_TARNAME=''
<br>
PACKAGE_VERSION=''
<br>
PATH_SEPARATOR=':'
<br>
PERL=''
<br>
RRD_PERL=''
<br>
SET_MAKE=''
<br>
SHELL='/bin/bash'
<br>
ac_ct_CC='gcc'
<br>
bindir='${exec_prefix}/bin'
<br>
build_alias=''
<br>
datadir='${datarootdir}'
<br>
datarootdir='${prefix}/share'
<br>
docdir='${datarootdir}<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>doc<span
 class="moz-txt-tag">/</span></i>${PACKAGE}'
<br>
dvidir='${docdir}'
<br>
exec_prefix='NONE'
<br>
host_alias=''
<br>
htmldir='${docdir}'
<br>
includedir='${prefix}/include'
<br>
infodir='${datarootdir}/info'
<br>
libdir='${exec_prefix}/lib'
<br>
libexecdir='${exec_prefix}/libexec'
<br>
localedir='${datarootdir}/locale'
<br>
localstatedir='${prefix}/var'
<br>
mandir='${datarootdir}/man'
<br>
oldincludedir='/usr/include'
<br>
pdfdir='${docdir}'
<br>
prefix='/usr/local/mrtg-2'
<br>
program_transform_name='s,x,x,'
<br>
psdir='${docdir}'
<br>
sbindir='${exec_prefix}/sbin'
<br>
sharedstatedir='${prefix}/com'
<br>
sysconfdir='${prefix}/etc'
<br>
target_alias=''
<br>
<br>
## ----------- ##
<br>
## confdefs.h. ##
<br>
## ----------- ##
<br>
<br>
#define PACKAGE_NAME ""
<br>
#define PACKAGE_TARNAME ""
<br>
#define PACKAGE_VERSION ""
<br>
#define PACKAGE_STRING ""
<br>
#define PACKAGE_BUGREPORT ""
<br>
<br>
configure: exit 77
<br>
root@hcons07 #
<br>
</body>
</html>