lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

make error

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
woonho.jang
Beginner


Joined: 31 May 2005
Posts: 3
Location: seoul Korea

PostPosted: Tue May 31, 2005 2:59 am    Post subject: make error Reply with quote

[root@localhost netmrg-0.18.2]# make
Making all in src
Making all in .
Making all in www
Making all in etc
Making all in var
Making all in lib
Making all in rrd
RRD zero.rrd
make[3]: execvp: /usr/local/rrdtool/bin/: Permission denied
make[3]: *** [zero.rrd] Error 127
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1



I'm trying to install 0.18.2 on CentOS release 4.0 (Final)

Hardware platform are you using x86
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Wed Jun 01, 2005 1:21 am    Post subject: Reply with quote

see the other make errors post
Back to top
woonho.jang
Beginner


Joined: 31 May 2005
Posts: 3
Location: seoul Korea

PostPosted: Wed Jun 01, 2005 11:50 am    Post subject: Reply with quote

cd rrdtool-1.2.9
./configure --prefix=/usr/local/rrdtool
make
make install


[root@mrtg netmrg-0.18.2]# ./configure --with-rrdtool=/usr/local/rrdtool/bin/ --with-mysql-lib-dir=/usr/local/mysql/lib/mysql/ --with-net-snmp

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 whether make sets $(MAKE)... (cached) yes
checking for rrdtool... /usr/local/rrdtool/bin/
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable -Wall... no
checking for dlopen in -ldl... yes
checking for compress in -lz... yes
checking for pthread_create in -lpthread... yes
checking for main in -lstdc++... yes
checking for xmlParseFile in -lxml2... yes
checking for mysql_init in -lmysqlclient... no
checking for mysql_init in -lmysqlclient... yes
checking for mysql_thread_init in -lmysqlclient... yes
checking how to run the C++ preprocessor... g++ -E
checking for egrep... grep -E
checking for ANSI C header files... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... 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 cstdio usability... yes
checking cstdio presence... yes
checking for cstdio... yes
checking cstdlib usability... yes
checking cstdlib presence... yes
checking for cstdlib... yes
checking string usability... yes
checking string presence... yes
checking for string... yes
checking list usability... yes
checking list presence... yes
checking for list... yes
checking for unistd.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for libxml/xmlmemory.h... yes
checking for mysql/mysql.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for working memcmp... no
checking whether lstat dereferences a symlink specified with a trailing slash... no
checking whether stat accepts an empty string... no
checking for memmove... yes
checking for llround... yes
checking if Net-SNMP needs crypto support... yes
checking if UCD-SNMP needs crypto support... no
checking for CRYPTO_free in -lcrypto... yes
checking for snmp_timeout in -lnetsnmp... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating subst
config.status: creating bin/netmrg_cron.sh
config.status: creating bin/rrdedit
config.status: creating etc/Makefile
config.status: creating etc/cron.d-netmrg
config.status: creating etc/init.d-netmrg
config.status: creating etc/netmrg.conf
config.status: creating etc/netmrg.xml
config.status: creating src/Makefile
config.status: creating src/include/netmrg.h
config.status: creating var/Makefile
config.status: creating var/lib/Makefile
config.status: creating var/lib/rrd/Makefile
config.status: creating www/Makefile
config.status: creating www/include/config.php
config.status: creating src/include/config.h
config.status: executing depfiles commands
[root@mrtg netmrg-0.18.2]# make
Making all in src
Making all in .
CXX db.o
CXX devices.o
CXX events.o
CXX locks.o
CXX mappings.o
CXX monitors.o
CXX netmrg.o
CXX rrd.o
CXX settings.o
CXX snmp.o
CXX utils.o
LINK netmrg-gatherer
Making all in www
Making all in etc
Making all in var
Making all in lib
Making all in rrd
RRD zero.rrd
make[3]: execvp: /usr/local/rrdtool/bin/: Permission denied
make[3]: *** [zero.rrd] Error 127
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1


The RRD the portion does not become creation
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Wed Jun 01, 2005 1:38 pm    Post subject: Reply with quote

We currently don't support the new RRDTool 1.2.x. Please download the latest 1.0.x release and use that.
Also, if you're configuring '--with-rrdtool' it has to be the full path to the binary, not the directory where you installed rrdtool.

-Doug
Back to top
woonho.jang
Beginner


Joined: 31 May 2005
Posts: 3
Location: seoul Korea

PostPosted: Wed Jun 01, 2005 8:05 pm    Post subject: Reply with quote

tar xvfz rrdtool-1.0.50.tar.gz
cd rrdtool-1.0.50
./configure --prefix=/usr/local/rrdtool
make && make install

[root@mrtg netmrg-0.18.2]# ./configure --with-rrdtool=/usr/local/rrdtool/bin/ --with-mysql-lib-dir=/usr/local/mysql/lib/mysql/ --with-net-snmp

[root@mrtg netmrg-0.18.2]# make
Making all in src
Making all in .
CXX db.o
CXX devices.o
CXX events.o
CXX locks.o
CXX mappings.o
CXX monitors.o
CXX netmrg.o
CXX rrd.o
CXX settings.o
CXX snmp.o
CXX utils.o
LINK netmrg-gatherer
Making all in www
Making all in etc
Making all in var
Making all in lib
Making all in rrd
RRD zero.rrd
make[3]: execvp: /usr/local/rrdtool/bin/: Permission denied
make[3]: *** [zero.rrd] Error 127
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

The same error happen.
could you tell me another check point.
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Wed Jun 01, 2005 9:11 pm    Post subject: Reply with quote

Try:
Code:
# ./configure --with-rrdtool=/usr/local/rrdtool/bin/rrdtool --with-mysql-lib-dir=/usr/local/mysql/lib/mysql/ --with-net-snmp


-Doug
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group