Xymon Mailing List Archive search

[bbnet-build] Erreur 2

3 messages in this thread

list Taihia Maitere · Wed, 16 Jul 2008 18:45:34 -0500 ·
Hi i finally take the hobbit source to install my server.
 
I try to get help from everyone
 
here is my config but whent i launch the make it tells my a error like :  [bbnet-build] Erreur 2
Can somebody look at my config and tell me if the problem come from my configuration
Thank you
 
SECURECGIDIR = /home/hobbit/ci-secure# Where to put logfilesBBLOGDIR = /var/log/hobbit# Where to install manpagesMANROOT = /usr/local/man# How to run fping or hobbitpingFPING = hobbitping
# Username running hobbitBBUSER = hobbit# Hobbit server hostnameBBHOSTNAME = svr-supervision2# Hobbit server IP-addressBBHOSTIP = ************# Hobbit server OSBBHOSTOS = linux
# URL for Hobbit webpagesBBHOSTURL = /supervision-hobbit# URL for Hobbit CGIsBBCGIURL = /hobbit-cgi# URL for Hobbit Admin CGIsSECUREBBCGIURL = /hobbit-sccgi# Webserver group-IDHTTPDGID=...
# RRDtool settingsRRDDEF = -DRRDTOOL12RRDINCDIR = -I/usr/local/rrdtool-1.2.2/includeRRDLIBS = -L/usr/local/rrdtool-1.2.2/lib -lrrd -L/usr/lib -lpngRPATHVAL += /usr/local/rrdtool-1.2.2/lib
# PCRE settingsPCREINCDIR = -I/usr/local/includePCRELIBS = -L/usr/local/lib -lpcreRPATHVAL += /usr/local/lib## OpenSSL settingsSSLFLAGS =## OpenLDAP settingsLDAPFLAGS = -DBBGEN_LDAPLDAPINCDIR = -I/usr/local/includeLDAPLIBS = -L/usr/local/lib -lldap -llberRPATHVAL += /usr/local/lib# Large File Support settingsLFSDEF = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
include build/Makefile.Linux
# Add local CFLAGS etc. settings here
include build/Makefile.rules
Téléchargez le nouveau Windows Live Messenger !
http://get.live.com/messenger/overview
list Alan Sparks · Wed, 16 Jul 2008 22:27:49 -0600 ·
I'm not sure you have provided enough information to help you.  Perhaps you can show exactly what happens after you start 'make', and we can have some context where the error occurs.
-Alan
quoted from Taihia Maitere

taihia MAITERE wrote:
Hi i finally take the hobbit source to install my server.
 I try to get help from everyone
 here is my config but whent i launch the make it tells my a error like : [bbnet-build] Erreur 2
Can somebody look at my config and tell me if the problem come from my configuration
Thank you
 SECURECGIDIR = /home/hobbit/ci-secure

# Where to put logfiles
BBLOGDIR = /var/log/hobbit
# Where to install manpages
MANROOT = /usr/local/man
# How to run fping or hobbitping
FPING = hobbitping
# Username running hobbit
BBUSER = hobbit
# Hobbit server hostname
BBHOSTNAME = svr-supervision2
# Hobbit server IP-address
BBHOSTIP = ************
# Hobbit server OS
BBHOSTOS = linux
# URL for Hobbit webpages
BBHOSTURL = /supervision-hobbit
# URL for Hobbit CGIs
BBCGIURL = /hobbit-cgi
# URL for Hobbit Admin CGIs
SECUREBBCGIURL = /hobbit-sccgi
# Webserver group-ID
HTTPDGID=...
# RRDtool settings
RRDDEF = -DRRDTOOL12
RRDINCDIR = -I/usr/local/rrdtool-1.2.2/include
RRDLIBS = -L/usr/local/rrdtool-1.2.2/lib -lrrd -L/usr/lib -lpng
RPATHVAL += /usr/local/rrdtool-1.2.2/lib
# PCRE settings
PCREINCDIR = -I/usr/local/include
PCRELIBS = -L/usr/local/lib -lpcre
RPATHVAL += /usr/local/lib
#
# OpenSSL settings
SSLFLAGS =
#
# OpenLDAP settings
LDAPFLAGS = -DBBGEN_LDAP
LDAPINCDIR = -I/usr/local/include
LDAPLIBS = -L/usr/local/lib -lldap -llber
RPATHVAL += /usr/local/lib
# Large File Support settings
LFSDEF = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
include build/Makefile.Linux

# Add local CFLAGS etc. settings here
include build/Makefile.rules


Téléchargez le nouveau Windows Live Messenger ! Téléchargez Messenger, c'est gratuit ! <http://get.live.com/messenger/overview>;
list Taihia Maitere · Thu, 17 Jul 2008 12:24:39 -0500 ·
Hi everyone :

I think i make a mistake about the gcc and c++ compilaters, i will
 try to install the module of gcc to accept c++ so here is what he give me:

svr-supervision2:/hobbit/hobbit-4.2.0# make
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FI                                                                              LE_OFFSET_BITS=64 -DLINUX -I. -I`pwd`/include -I/usr/local/include" LDFLAGS="" O                                                                              SDEF="-DLINUX" RPATHOPT="-Wl,--rpath=/usr/local/rrdtool-1.2.2/lib -Wl,--rpath=/u                                                                              sr/local/lib -Wl,--rpath=/usr/local/lib" PCREINCDIR="-I/usr/local/include" SSLFL                                                                              AGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" BBTOPDIR="/home/hobbit" BBLOGDIR="/var                                                                              /log/hobbit" BBHOSTNAME="svr-supervision2" BBHOSTIP="1......." BBHOSTOS="linu                                                                              x" make -C lib all
make[1]: entrant dans le rpertoire  /hobbit/hobbit-4.2.0/lib 
make[1]: Rien  faire pour  all .
make[1]: quittant le rpertoire  /hobbit/hobbit-4.2.0/lib 
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FI                                                                              LE_OFFSET_BITS=64 -DLINUX -I. -I`pwd`/include -I/usr/local/include" LDFLAGS="" R                                                                              PATHOPT="-Wl,--rpath=/usr/local/rrdtool-1.2.2/lib -Wl,--rpath=/usr/local/lib -Wl                                                                              ,--rpath=/usr/local/lib" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" BBHOME="                                                                              /home/hobbit/server" make -C common all
make[1]: entrant dans le rpertoire  /hobbit/hobbit-4.2.0/common 
make[1]: Rien  faire pour  all .
make[1]: quittant le rpertoire  /hobbit/hobbit-4.2.0/common 
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FI                                                                              LE_OFFSET_BITS=64 -DLINUX -I. -I`pwd`/include -I/usr/local/include" LDFLAGS="" R                                                                              PATHOPT="-Wl,--rpath=/usr/local/rrdtool-1.2.2/lib -Wl,--rpath=/usr/local/lib -Wl                                                                              ,--rpath=/usr/local/lib" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" BBHOME="                                                                              /home/hobbit/server" BBVAR="/home/hobbit/data" HISTGRAPHDEF="" RUNTIMEDEFS="" PC                                                                              REINCDIR="-I/usr/local/include" PCRELIBS="-L/usr/local/lib -lpcre" make -C bbdis                                                                              play all
make[1]: entrant dans le rpertoire  /hobbit/hobbit-4.2.0/bbdisplay 
make[1]: Rien  faire pour  all .
make[1]: quittant le rpertoire  /hobbit/hobbit-4.2.0/bbdisplay 
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FI                                                                              LE_OFFSET_BITS=64 -DLINUX -I. -I`pwd`/include -I/usr/local/include" LDFLAGS="" R                                                                              PATHOPT="-Wl,--rpath=/usr/local/rrdtool-1.2.2/lib -Wl,--rpath=/usr/local/lib -Wl                                                                              ,--rpath=/usr/local/lib" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" LDAPFLAGS="-DBBGEN_                                                                              LDAP" LDAPINCDIR="-I/usr/local/include" LDAPLIBS="-L/usr/local/lib -lldap -llber                                                                              " NETLIBS="" BBHOME="/home/hobbit/server" ARESVER="1.2.1" RUNTIMEDEFS="" PCREINC                                                                              DIR="-I/usr/local/include" PCRELIBS="-L/usr/local/lib -lpcre" make -C bbnet all
make[1]: entrant dans le rpertoire  /hobbit/hobbit-4.2.0/bbnet 
(cd c-ares && CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE                                                                               -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I/hobbit/hobbit-4.2.0/include -I/usr/local/i                                                                              nclude" ./configure --disable-shared)
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for ssize_t... yes
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking whether to enable debug options... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make[1]: *** [c-ares/Makefile] Erreur 1
make[1]: quittant le rpertoire  /hobbit/hobbit-4.2.0/bbnet 
make: *** [bbnet-build] Erreur 2
svr-supervision2:/hobbit/hobbit-4.2.0#


Lancez des recherches en toute sécurité depuis n'importe quelle page Web. Téléchargez GRATUITEMENT Windows Live Toolbar aujourd'hui !
http://toolbar.live.com