News:

We really need your input in this questionnaire

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - EMOziko

#1
General Support / Re: Linux compile error
October 08, 2010, 03:32:37 PM

I solved it.

Thank u victor!  :)
#2
General Support / Re: Linux compile error
October 08, 2010, 03:22:18 PM
thank you victor!
i tried this but similar error :(

./configure --with-server --with-agent --with-client --with-mysql --enable-debug --with-nxhttpd  --prefix=/opt/netxms
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
#3
General Support / Linux compile error
October 08, 2010, 01:39:12 PM
Hello I am trying to install netxms 1.0.5 on my fedora 13.
have installed gcc, gcc-c++, binutils and all development tools and libraries.
But when i am trying to compile netxms, it says:

./configure --with-server --with-agent --with-client --with-mysql=/usr/bin/mysql --enable-debug --with-nxhttpd  --prefix=/opt/netxms
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details


Here is my config.log file:


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by NetXMS configure 1.0.5, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --with-server --with-agent --with-client --with-mysql=/usr/bin/mysql --enable-debug --with-nxhttpd --prefix=/opt/netxms

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

hostname = Luofnix
uname -m = i686
uname -r = 2.6.33.3-85.fc13.i686
uname -s = Linux
uname -v = #1 SMP Thu May 6 18:44:12 UTC 2010

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/lib/qt-3.3/bin
PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/lib/ccache
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /opt/opennms/bin
PATH: /home/ziko/bin


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

configure:2040: checking for a BSD-compatible install
configure:2096: result: /usr/bin/install -c
configure:2107: checking whether build environment is sane
configure:2150: result: yes
configure:2178: checking for a thread-safe mkdir -p
configure:2217: result: /bin/mkdir -p
configure:2230: checking for gawk
configure:2246: found /usr/bin/gawk
configure:2257: result: gawk
configure:2268: checking whether make sets $(MAKE)
configure:2289: result: yes
configure:3130: checking for C compiler version
configure:3137: gcc --version >&5
gcc (GCC) 4.4.4 20100630 (Red Hat 4.4.4-10)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3140: $? = 0
configure:3147: gcc -v >&5
Using built-in specs.
Target: i686-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch=i686 --build=i686-redhat-linux
Thread model: posix
gcc version 4.4.4 20100630 (Red Hat 4.4.4-10) (GCC)
configure:3150: $? = 0
configure:3157: gcc -V >&5
gcc: '-V' option must have argument
configure:3160: $? = 1
configure:3183: checking for C compiler default output file name
configure:3210: gcc   -D_THREAD_SAFE -I/usr/bin/mysql/include -I/usr/bin/mysql/include/mysql -I/usr/bin/mysql/mysql/include  -L/usr/bin/mysql/lib -L/usr/bin/mysql/lib/mysql -L/usr/bin/mysql/mysql/lib conftest.c  >&5
cc1: error: /usr/bin/mysql/include: Not a directory
cc1: error: /usr/bin/mysql/include/mysql: Not a directory
cc1: error: /usr/bin/mysql/mysql/include: Not a directory
configure:3213: $? = 1
configure:3251: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "NetXMS"
| #define PACKAGE_TARNAME "netxms"
| #define PACKAGE_VERSION "1.0.5"
| #define PACKAGE_STRING "NetXMS 1.0.5"
| #define PACKAGE_BUGREPORT "NetXMS Team <[email protected]>"
| #define PACKAGE "netxms"
| #define VERSION "1.0.5"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3258: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
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_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PERL_set=
ac_cv_env_PERL_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_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes

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

ACLOCAL='${SHELL} /home/ziko/Desktop/netxms-1.0.5/config/missing --run aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/ziko/Desktop/netxms-1.0.5/config/missing --run tar'
AR=''
AUTOCONF='${SHELL} /home/ziko/Desktop/netxms-1.0.5/config/missing --run autoconf'
AUTOHEADER='${SHELL} /home/ziko/Desktop/netxms-1.0.5/config/missing --run autoheader'
AUTOMAKE='${SHELL} /home/ziko/Desktop/netxms-1.0.5/config/missing --run automake-1.10'
AWK='gawk'
BUILD_SERVER='yes'
BUILD_UNICODE_CONSOLE_FALSE=''
BUILD_UNICODE_CONSOLE_TRUE=''
BUILD_UNICODE_LIBS_FALSE=''
BUILD_UNICODE_LIBS_TRUE=''
CC='gcc'
CCC=''
CCDEPMODE=''
CFLAGS=''
CLIENT_COMPONENTS=' nxalarm nxsms'
CONTRIB_MODULES=' mibs backgrounds'
CPP=''
CPPFLAGS=' -D_THREAD_SAFE -I/usr/bin/mysql/include -I/usr/bin/mysql/include/mysql -I/usr/bin/mysql/mysql/include'
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DB_DRIVERS=' mysql'
DEFS=''
DEPDIR=''
DSYMUTIL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
GPLUSPLUS=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=' -L/usr/bin/mysql/lib -L/usr/bin/mysql/lib/mysql -L/usr/bin/mysql/mysql/lib'
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/ziko/Desktop/netxms-1.0.5/config/missing --run makeinfo'
MODULES='libnetxms nxcptest install sqlite libnxmap libnxsnmp libnxsl libnxlp server nxmibc nxscript libnxmap libnxcl nxevent nxpush console client libnxlp agent libnxmap libnxcl nxhttpd'
MYSQL_LIBS=''
NETXMS_LIBRARY_VERSION=''
NMEDIT=''
OBJECT_MODE=''
OBJEXT=''
ODBC_LIBS=''
ORACLE_LIBS=''
PACKAGE='netxms'
PACKAGE_BUGREPORT='NetXMS Team <[email protected]>'
PACKAGE_NAME='NetXMS'
PACKAGE_STRING='NetXMS 1.0.5'
PACKAGE_TARNAME='netxms'
PACKAGE_VERSION='1.0.5'
PATH_SEPARATOR=':'
PERL=''
PGSQL_LIBS=''
POW_LIB=''
RANLIB=''
SED=''
SERVER_TOOLS=''
SET_MAKE=''
SHELL='/bin/sh'
STATIC_SUBAGENT_LIST=''
STRIP=''
SUBAGENT_DIRS='linux'
SUBAGENT_LIBS=''
TOP_LEVEL_MODULES=' sql images'
UNSTABLE_SUBAGENT_DIRS=''
USE_INTERNAL_EXPAT_FALSE=''
USE_INTERNAL_EXPAT_TRUE=''
VERSION='1.0.5'
WXCONF=''
WXRC=''
YACC=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /home/ziko/Desktop/netxms-1.0.5/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/opt/netxms'
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 "NetXMS"
#define PACKAGE_TARNAME "netxms"
#define PACKAGE_VERSION "1.0.5"
#define PACKAGE_STRING "NetXMS 1.0.5"
#define PACKAGE_BUGREPORT "NetXMS Team <[email protected]>"
#define PACKAGE "netxms"
#define VERSION "1.0.5"

configure: exit 77



I also tried to install on CentOS and there is also similar error.
pls  help me :(