OpenTSDB fails make install on MAC

103 views
Skip to first unread message

77....@gmail.com

unread,
Aug 27, 2015, 12:31:12 PM8/27/15
to OpenTSDB
When I downloaded the latest OpenTSDB from github or use the latest opentsdb-2.1.0.tar.gz, ./build.sh was successful but "sudo make install" has errors as below:

 /usr/bin/install -c -m 644 'favicon.ico' '/usr/local/share/opentsdb/static/favicon.ico'

 ./../build-aux/install-sh -c -d '/usr/local/share/opentsdb/static/gwt/standard/images'

/bin/sh: ./../build-aux/install-sh: No such file or directory

make[2]: *** [install-data-local] Error 1

make[1]: *** [install-am] Error 2

make: *** [install] Error 2


My env is Mac OS 10.10.5, jdk1.8.0_60.jdk


Please help. thank you.


Emily




Nitin Agarwal

unread,
Sep 16, 2016, 10:48:08 AM9/16/16
to OpenTSDB
Hi Emily,

Were you able to install opentsdb on mac? I am also facing similar problems.

Best Regards.
Nitin

Jonathan Creasy

unread,
Sep 20, 2016, 12:27:06 AM9/20/16
to Nitin Agarwal, OpenTSDB
I don't usually do the "install" on my mac, I'll check this out for you. 

When I want to run it on my Macbook I usually just do: 

./build.sh && build/tsdb tsd --config=.//src/opentsdb.conf --staticroot=.//build/staticroot --cachedir=.//build/cache --port=4242 --zkquorum=localhost:2181 --zkbasedir=/hbase --auto-metric

There is a script that sets up HBase and OpenTSDB on a Macbook here:


And then there is also a Dockerfile and script to build the image here:


I use it with this command line:

./build.sh; docker stop opentsdb; docker rm opentsdb; tools/docker/docker.sh && docker run --name opentsdb --add-host zookeeper:`ifconfig | grep inet | grep 192 | awk '{print $2}' | head -n 1`  -t -i -d -v /Users/jcreasy/code/opentsdb/src/opentsdb.conf:/etc/opentsdb/opentsdb.conf -p 4244:4244 perspicaio/opentsdb && docker logs -f opentsdb



Nitin Agrawal

unread,
Sep 20, 2016, 12:30:46 AM9/20/16
to Jonathan Creasy, OpenTSDB
Thanks Jonathan.

I am using same approach now.

Best Regards,
Nitin
Reply all
Reply to author
Forward
0 new messages