I want to install RRDTOOL, there are some builds needed to be installed first as specified here.
While trying to install every build in bash
with a set of commands like these :
wget http://pkgconfig.freedesktop.org/releases/pkg-config-0.23.tar.gz
gunzip -c pkg-config-0.23.tar.gz | tar xf -
cd pkg-config-0.23
./configure --prefix=$INSTALL_DIR CFLAGS="-O3 -fPIC"
$MAKE
$MAKE install
I get the following message error after $MAKE install
:
install: missing file operand
Try 'install --help' for more information
How to make this right ?
Edit : I attached shell log this time with the chnges "$MAKE"-> "make" and "$MAKE install"->"make install", It's seems not working:
pi@raspberrypi:/tmp/rrdbuild/libxml2-2.6.32 $ make install
Making install in include
make[1]: Entering directory '/tmp/rrdbuild/libxml2-2.6.32/include'
Making install in libxml
make[2]: Entering directory '/tmp/rrdbuild/libxml2-2.6.32/include/libxml'
make[3]: Entering directory '/tmp/rrdbuild/libxml2-2.6.32/include/libxml'
make install-exec-hook
make[4]: Entering directory '/tmp/rrdbuild/libxml2-2.6.32/include/libxml'
/bin/bash ../../mkinstalldirs /opt/rrdtool-1.6.0/include/libxml2/libxml
mkdir -p -- /opt/rrdtool-1.6.0/include/libxml2/libxml
mkdir: cannot create directory ‘/opt/rrdtool-1.6.0’: Permission denied
Makefile:562: recipe for target 'install-exec-hook' failed
make[4]: *** [install-exec-hook] Error 1
make[4]: Leaving directory '/tmp/rrdbuild/libxml2-2.6.32/include/libxml'
Makefile:512: recipe for target 'install-exec-am' failed
make[3]: *** [install-exec-am] Error 2
make[3]: Leaving directory '/tmp/rrdbuild/libxml2-2.6.32/include/libxml'
Makefile:471: recipe for target 'install-am' failed
make[2]: *** [install-am] Error 2
make[2]: Leaving directory '/tmp/rrdbuild/libxml2-2.6.32/include/libxml'
Makefile:322: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/tmp/rrdbuild/libxml2-2.6.32/include'
Makefile:1075: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1