From: joseph a. <jos...@re...> - 2004-08-20 13:45:02
|
sir/mam,=0A=0A I have downloaded net-snmp-5.1.2.pre3.And while I try= to configure it Iam getting the error message.I have a solaris machine wth= ih solaris 8. And all the prerequisities.Kindly help me to solve the proble= m.=0A=0Aregards,=0AJoseph.=0A =0A # ../bcc.sh=0Achecking what to build and = install... agent apps man local mibs=0Ausing default "enterprise.net-snmp"= =0Ausing default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..."=0Aus= ing default notifications "NET-SNMP-MIB::netSnmpNotifications"=0Achecking i= f I need to feed myself to ksh... no=0Achecking for gcc... gcc=0Achecking f= or C compiler default output... configure: error: C compiler=0Acannot creat= e executables=0ASee `config.log' for more details.=0A=0A=0A****************= ******config.log****************************=0A=0AThis file contains any me= ssages produced by compilers while=0Arunning configure, to aid debugging if= configure makes a mistake.=0A=0AIt was created by Net-SNMP configure 5.1.2= , which was=0Agenerated by GNU Autoconf 2.57. Invocation command line was= =0A=0A $ ./configure --with-cc=3Dgcc --with-mib-modules=3Dhost disman/event= -mib ucd-snmp/diskio smux agentx mibII/mta_sendmail=0A=0A## --------- ##=0A= ## Platform. ##=0A## --------- ##=0A=0Ahostname =3D su02e01=0Auname -m =3D = sun4u=0Auname -r =3D 5.8=0Auname -s =3D SunOS=0Auname -v =3D Generic_108528= -16=0A=0A/usr/bin/uname -p =3D sparc=0A/bin/uname -X =3D System =3D Sun= OS=0ANode =3D su02e01=0ARelease =3D 5.8=0AKernelID =3D Generic_108528-16=0A= Machine =3D sun4u=0ABusType =3D <unknown>=0ASerial =3D <unknown>=0AUsers = =3D <unknown>=0AOEM# =3D 0=0AOrigin# =3D 1=0ANumCPU =3D 1=0A=0A/bin/arch = =3D sun4=0A/usr/bin/arch -k =3D sun4u=0A/usr/convex/getsys= info =3D unknown=0Ahostinfo =3D unknown=0A/bin/machine = =3D unknown=0A/usr/bin/oslevel =3D unknown=0A/bin/universe = =3D unknown=0A=0APATH: /usr/local/bin=0APATH: /usr/sbin=0APATH: /usr/bin= =0APATH: /usr/ccs/bin=0APATH: /usr/ucb=0APATH: /usr/sbin=0APATH: /usr/bin= =0A=0A=0A## ----------- ##=0A## Core tests. ##=0A## ----------- ##=0A=0Acon= figure:1815: checking what to build and install=0Aconfigure:1817: result: = agent apps man local mibs=0Aconfigure:2262: result: using default "enterpri= se.net-snmp"=0Aconfigure:2297: result: using default enterprise sysOID "NET= -SNMP-MIB::netSnmpAgentOIDs..."=0Aconfigure:2332: result: using default not= ifications "NET-SNMP-MIB::netSnmpNotifications"=0Aconfigure:2493: checking = if I need to feed myself to ksh=0Aconfigure:2509: result: no=0Aconfigure:25= 94: checking for gcc=0Aconfigure:2620: result: gcc=0Aconfigure:2864: checki= ng for C compiler version=0Aconfigure:2867: gcc --version </dev/null >&5=0A= 3.0=0Aconfigure:2870: $? =3D 0=0Aconfigure:2872: gcc -v </dev/null >&5=0ARe= ading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0/specs=0ACo= nfigured with: ../configure --disable-nls --disable-libgcj --enable-languag= es=3Dc++,f77,objc=0AThread model: posix=0Agcc version 3.0=0Aconfigure:2875:= $? =3D 0=0Aconfigure:2877: gcc -V </dev/null >&5=0Agcc: argument to `-V' i= s missing=0Aconfigure:2880: $? =3D 1=0Aconfigure:2904: checking for C compi= ler default output=0Aconfigure:2907: gcc -I/usr/local/ssl/include -L/usr/= local/ssl/lib conftest.c >&5=0Agcc: installation problem, cannot exec `as= ': No such file or directory=0Aconfigure:2910: $? =3D 1=0Aconfigure: failed= program was:=0A| #line 2883 "configure"=0A| /* confdefs.h. */=0A| =0A| #d= efine PACKAGE_NAME "Net-SNMP"=0A| #define PACKAGE_TARNAME "net-snmp"=0A| #d= efine PACKAGE_VERSION "5.1.2"=0A| #define PACKAGE_STRING "Net-SNMP 5.1.2"= =0A| #define PACKAGE_BUGREPORT "net...@li..."=0A| = #define CONFIGURE_OPTIONS "\"'--with-cc=3Dgcc' '--with-mib-modules=3Dhost d= isman/event-mib ucd-snmp/diskio smux agentx mibII/mta_sendmail'\""=0A| #def= ine SCAPI_AUTHPRIV 1=0A| #define NO_DUMMY_VALUES 1=0A| #define OPAQUE_SPECI= AL_TYPES 1=0A| /* end confdefs.h. */=0A| =0A| int=0A| main ()=0A| {=0A| = =0A| ;=0A| return 0;=0A| }=0Aconfigure:2948: error: C compiler cannot c= reate executables=0ASee `config.log' for more details.=0A=0A## ------------= ---- ##=0A## Cache variables. ##=0A## ---------------- ##=0A=0Aac_cv_env_CC= _set=3D''=0Aac_cv_env_CC_value=3D''=0Aac_cv_env_CFLAGS_set=3D''=0Aac_cv_env= _CFLAGS_value=3D''=0Aac_cv_env_CPPFLAGS_set=3D''=0Aac_cv_env_CPPFLAGS_value= =3D''=0Aac_cv_env_CPP_set=3D''=0Aac_cv_env_CPP_value=3D''=0Aac_cv_env_LDFLA= GS_set=3D''=0Aac_cv_env_LDFLAGS_value=3D''=0Aac_cv_env_build_alias_set=3D''= =0Aac_cv_env_build_alias_value=3D''=0Aac_cv_env_host_alias_set=3D''=0Aac_cv= _env_host_alias_value=3D''=0Aac_cv_env_target_alias_set=3D''=0Aac_cv_env_ta= rget_alias_value=3D''=0Aac_cv_prog_ac_ct_CC=3Dgcc=0A=0A## -----------------= ##=0A## Output variables. ##=0A## ----------------- ##=0A=0AAGENTLIBS=3D''= =0AALLOCA=3D''=0AAUTOCONF=3D''=0AAUTOHEADER=3D''=0ACC=3D'gcc'=0ACCPATH=3D''= =0ACFLAGS=3D''=0ACONFIGURE_OPTIONS=3D'"'--with-cc=3Dgcc' '--with-mib-module= s=3Dhost disman/event-mib ucd-snmp/diskio smux agentx mibII/mta_sendmail'"'= =0ACOPY_PERSISTENT_FILES=3D''=0ACPP=3D''=0ACPPFLAGS=3D'-I/usr/local/ssl/inc= lude '=0ADEFS=3D''=0ADEVFLAGS=3D''=0ADLLIBS=3D''=0AECHO=3D'/usr/ucb/echo'= =0AECHO_C=3D'ECHO_N=3D''=0AECHO_T=3D''=0AEGREP=3D''=0AEMBEDPERLINSTALL=3D''= =0AEMBEDPERLUNINSTALL=3D''=0AEXEEXT=3D''=0AEXTRACPPFLAGS=3D''=0AHAVE_DMALLO= C_H=3D''=0AINSTALL_DATA=3D''=0AINSTALL_PREFIX=3D''=0AINSTALL_PROGRAM=3D''= =0AINSTALL_SCRIPT=3D''=0ALDFLAGS=3D'-L/usr/local/ssl/lib '=0ALIBOBJS=3D''= =0ALIBS=3D''=0ALIBTOOL=3D''=0ALIBTOOLFLAGS=3D''=0ALIBTOOL_DEPS=3D''=0ALN_S= =3D''=0ALPSTAT_PATH=3D''=0ALTLIBOBJS=3D''=0AMAINSUBS=3D' agent apps man loc= al mibs'=0AMODULE_LIST=3D''=0AOBJEXT=3D''=0AOTHERAGENTLIBLOBJS=3D''=0AOTHER= AGENTLIBOBJS=3D''=0APACKAGE_BUGREPORT=3D'net...@li...urceforge.= net'=0APACKAGE_NAME=3D'Net-SNMP'=0APACKAGE_STRING=3D'Net-SNMP 5.1.2'=0APACK= AGE_TARNAME=3D'net-snmp'=0APACKAGE_VERSION=3D'5.1.2'=0APATH_SEPARATOR=3D':'= =0APERLARGS=3D''=0APERLINSTALLTARGS=3D''=0APERLPROG=3D''=0APERLTARGS=3D''= =0APERLUNINSTALLTARGS=3D''=0APERSISTENT_DIRECTORY=3D''=0APSCMD=3D''=0APSPRO= G=3D''=0ARANLIB=3D''=0ARELEASEVERSION=3D''=0ASED=3D''=0ASET_MAKE=3D''=0ASHE= LL=3D'/bin/ksh'=0ASNMPCONFPATH=3D''=0ASTRIP=3D''=0ATRAPLIBS=3D'$(TRAPDWITHA= GENT)'=0AUCDPERSISTENT_DIRECTORY=3D''=0AUNAMEPROG=3D''=0AUSETRAPLIBS=3D'$(U= SEAGENTLIBS)'=0AVERSION=3D''=0AWHOAMI=3D''=0AWRAPLIBS=3D''=0Aac_ct_CC=3D'gc= c'=0Aac_ct_RANLIB=3D''=0Aac_ct_STRIP=3D''=0Abindir=3D'${exec_prefix}/bin'= =0Abuild=3D''=0Abuild_alias=3D''=0Abuild_cpu=3D''=0Abuild_os=3D''=0Abuild_v= endor=3D''=0Adatadir=3D'${prefix}/share'=0Adefault_mibs_install=3D''=0Aexec= _prefix=3D'NONE'=0Ahost=3D''=0Ahost_alias=3D''=0Ahost_cpu=3D''=0Ahost_os=3D= ''=0Ahost_vendor=3D''=0Aincludedir=3D'${prefix}/include'=0Ainfodir=3D'${pre= fix}/info'=0Ainstallucdheaders=3D''=0Ainstallucdlibs=3D''=0Alibdir=3D'${exe= c_prefix}/lib'=0Alibexecdir=3D'${exec_prefix}/libexec'=0Alocalstatedir=3D'$= {prefix}/var'=0Amandir=3D'${prefix}/man'=0Amibgroup_list_lo=3D''=0Amibgroup= _list_o=3D''=0Amodule_list=3D''=0Amodule_list_c=3D''=0Amodule_list_h=3D''= =0Amodule_list_lo=3D''=0Amodule_list_o=3D''=0Aoldincludedir=3D'/usr/include= '=0Aother_lobjs_list=3D''=0Aother_objs_list=3D''=0Aother_src_list=3D''=0Apr= efix=3D'NONE'=0Aprogram_transform_name=3D's,x,x,'=0Asbindir=3D'${exec_prefi= x}/sbin'=0Asecurity_hdr_list=3D''=0Asecurity_lobj_list=3D''=0Asecurity_obj_= list=3D''=0Asecurity_src_list=3D''=0Asharedstatedir=3D'${prefix}/com'=0Asys= confdir=3D'${prefix}/etc'=0Atarget=3D''=0Atarget_alias=3D''=0Atarget_cpu=3D= ''=0Atarget_os=3D''=0Atarget_vendor=3D''=0Atransport_hdr_list=3D''=0Atransp= ort_lobj_list=3D''=0Atransport_obj_list=3D''=0Atransport_src_list=3D''=0A= =0A## ----------- ##=0A## confdefs.h. ##=0A## ----------- ##=0A=0A#define C= ONFIGURE_OPTIONS "\"'--with-cc=3Dgcc' '--with-mib-modules=3Dhost disman/eve= nt-mib ucd-snmp/diskio smux agentx mibII/mta_sendmail'\""=0A#define NO_DUMM= Y_VALUES 1=0A#define OPAQUE_SPECIAL_TYPES 1=0A#define PACKAGE_BUGREPORT "ne= t-s...@li..."=0A#define PACKAGE_NAME "Net-SNMP"=0A#d= efine PACKAGE_STRING "Net-SNMP 5.1.2"=0A#define PACKAGE_TARNAME "net-snmp"= =0A#define PACKAGE_VERSION "5.1.2"=0A#define SCAPI_AUTHPRIV 1=0A=0Aconfigur= e: exit 77=0A =0A |