Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.

Go Back   TechSpot OpenBoards > OS & Software > The Alternative OS

Installing RDDtool

Reply
Bookmark / Share this page
Thread Tools
  #1  
Old 05-22-2006
Newcomer, in training
 
Member since: Feb 2006, 9 posts
Installing RDDtool

Hi everybody. Im installing rddtool on a newly installed ubuntu os and im using the method found at this link.

http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html

Im on the step Building zlib and this is what im getting on the screen

meniscus@ubuntu:~$ BUILD_DIR=/tmp/rrdbuild
meniscus@ubuntu:~$ INSTALL_DIR=/usr/local/rrdtool-1.2.13
meniscus@ubuntu:~$ mkdir -p $BUILD_DIR
meniscus@ubuntu:~$ cd $BUILD_DIR
meniscus@ubuntu:/tmp/rrdbuild$ cd $BUILD_DIR
meniscus@ubuntu:/tmp/rrdbuild$ tar zxf zlib-2.2.3.tar.gz
meniscus@ubuntu:/tmp/rrdbuild$ cd zlib-1.2.3
meniscus@ubuntu:/tmp/rrdbuild/zlib-1.2.3$ env CFLAGS="-O3 -fPIC" ./configure --prefix=$BUILD_DIR/lb Checking for gcc...
Building static library libz.a version 1.2.3 with cc.
Checking for unistd.h... No.
Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf()
Checking for snprintf() in stdio.h... No.
WARNING: snprintf() not found, falling back to sprintf(). zlib
can build but will be open to possible buffer-overflow security
vulnerabilities.
Checking for return value of sprintf()... No.
WARNING: apparently sprintf() does not return a value. zlib
can build but will be open to possible string-format security
vulnerabilities.
Checking for errno.h... No.
Checking for mmap support... No.

meniscus@ubuntu:/tmp/rrdbuild/zlib-1.2.3$ make
bash: make: command not found
meniscus@ubuntu:/tmp/rrdbuild/zlib-1.2.3$ make install
bash: make: command not found
meniscus@ubuntu:/tmp/rrdbuild/zlib-1.2.3$


Am i doing something wrong?

P.S wget isnt working for me so im just downloading the http://oss.oetiker.ch/rrdtool/pub/li...b-1.2.3.tar.gz file to the desktop and pasting it into /tmp/rrdbuild
Is this the wrong method?

Thanks in advance
meniscus
Reply With Quote
  #2  
Old 05-22-2006
jobeard's Avatar
TechSpot Evangelist
 
Location: Southern Calif.
Member since: Apr 2005, 6,612 posts
Quote:
Originally Posted by meniscus
./configure --prefix=$BUILD_DIR/lb Checking for gcc...
Checking for unistd.h... No.
Checking for snprintf() in stdio.h... No.
Checking for return value of sprintf()... No.
Checking for errno.h... No.
Checking for mmap support... No.
this looks like a path error for the header files, typically found in
/usr/include, where stdio.h is there and {errno.h,unstd.h} are below in sys/
Reply With Quote
You can remove this banner by registering, join the TS Community for free.
  #3  
Old 05-23-2006
Nodsu's Avatar
TS Special Forces
 
Location: Estonia
Member since: Feb 2002, 9,430 posts
System specs
You are missing the "make" utility, meaning that you probably don't have any essential development tools installed. You need GCC C compilers, (g)make, stdlib-devel at the minimum and probably many more -devel packages to actually be able to build anything.
Reply With Quote
  #4  
Old 05-23-2006
Newcomer, in training
 
Member since: Feb 2006, 9 posts
Are all those in the synaptic package manager section. Can you give me a hint as to what they are under? libraries? perl programming/python programming perhaps?
Reply With Quote
  #5  
Old 05-23-2006
Newcomer, in training
 
Member since: Feb 2006, 9 posts
Sorry got it! at this link:

http://davidsmalley.com/blog/archive...lopment-tools/

And think Ive installed it right well i hope so anyway! Do you know if there is any links for using rrdtool with lm-sensors? Im trying to graph the CPU temperture?
Reply With Quote
  #6  
Old 05-23-2006
Newcomer, in training
 
Member since: Feb 2006, 9 posts
Ive read u can use the daemon collectd with those 2 programs. So ive installed that but cant find the way of configuring them together. Any clues?
Reply With Quote
Reply
Thread Tools

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
sata problem on installing xp wallraff Storage & Networking 1 03-02-2006 03:29 PM
Problems with installing DirectX 9.0c Saciro Audio and Video 2 02-25-2006 01:15 PM
No video files will play after installing bf2 Captainchaos Audio and Video 3 07-02-2005 04:50 AM
Hey guys i got a question about installing a video card. IsaiasPerez77 Gaming and Consoles 1 12-13-2004 06:23 AM
Can't access the Internet after installing SP1 Eric Legge Windows OS 0 01-20-2003 06:19 PM


All times are GMT -4. The time now is 04:00 AM.