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/libs/zlib-1.2.3.tar.gz file to the desktop and pasting it into /tmp/rrdbuild
Is this the wrong method?
Thanks in advance
meniscus
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/libs/zlib-1.2.3.tar.gz file to the desktop and pasting it into /tmp/rrdbuild
Is this the wrong method?
Thanks in advance
meniscus