[mrtg] Configure MRTG ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
Montoya
Juan.Montoya at sun.com
Tue Dec 29 18:12:50 CET 2009
HI Experts
I try to instal MRTG in a Sun Blade
I installed the follows packages:
libpng-1.2.40-sol10-sparc-local gcc-3.4.6-sol10-sparc-local
mrtg-2.16.2 gd-2.0.35-sol10-sparc-local
zlib-1.2.3-sol10-sparc-local
But when i run the command, present this messages
could youre help me to understand this
and what can i do to resolv this
Thanks...
root at hcons07 # echo $PATH
/usr/sbin:/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/:/usr/local/bin:/usr/lib/
root at hcons07 # ./configure --prefix=/usr/local/mrtg-2
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
root at hcons07 # more 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.61. Invocation command line was
$ ./configure --prefix=/usr/local/mrtg-2
## --------- ##
## Platform. ##
## --------- ##
hostname = hcons07
uname -m = sun4u
uname -r = 5.10
uname -s = SunOS
uname -v = Generic_141414-10
/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = hcons07
Release = 5.10
KernelID = Generic_141414-10
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
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/ccs/bin
PATH: /usr/openwin/bin
PATH: /usr/dt/bin
PATH: /usr/platform/SUNW,Sun-Blade-1000/sbin
PATH: /opt/sun/bin
PATH: /opt/SUNWexplo/bin
PATH: /opt/SUNWsneep/bin
PATH: /opt/CTEact/bin
PATH: /opt/SUNWswasr/bin/
PATH: /usr/local/bin
PATH: /usr/lib/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1744: checking for gcc
configure:1760: found /usr/local/bin/gcc
configure:1771: result: gcc
configure:2009: checking for C compiler version
configure:2016: gcc --version >&5
ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
./configure: line 2017: 23545 Killed $CC --version 1>&5
configure:2019: $? = 137
configure:2026: gcc -v >&5
ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
./configure: line 2027: 23549 Killed $CC -v 1>&5
configure:2029: $? = 137
configure:2036: gcc -V >&5
ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
./configure: line 2037: 23553 Killed $CC -V 1>&5
configure:2039: $? = 137
configure:2062: checking for C compiler default output file name
configure:2089: gcc conftest.c >&5
ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
./configure: line 2090: 23564 Killed $CC $CFLAGS
$CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5
configure:2092: $? = 137
configure:2130: result:
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:2137: 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_LIBS_set=
ac_cv_env_LIBS_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
## ----------------- ##
## Output variables. ##
## ----------------- ##
CC='gcc'
CFLAGS=''
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GDFORM_EXT=''
GREP=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LD_RUN_PATH=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
NROFF=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PERL=''
RRD_PERL=''
SET_MAKE=''
SHELL='/bin/bash'
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local/mrtg-2'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
configure: exit 77
root at hcons07 #
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20091229/af9626b0/attachment.htm
More information about the mrtg
mailing list