OpenTSDB / opentsdb

A scalable, distributed Time Series Database.
http://opentsdb.net
GNU Lesser General Public License v2.1
5k stars 1.25k forks source link

Make Install failing on SLES 11.1 SP3 #489

Open clohtd opened 9 years ago

clohtd commented 9 years ago
make  install-am
make[1]: Entering directory `/opt/opentsdb/build'
make[2]: Entering directory `/opt/opentsdb/build'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
 /usr/bin/install -c 'tsdb' '/usr/local/bin/tsdb'
make  install-exec-hook
make[3]: Entering directory `/opt/opentsdb/build'
script=tsdb; pkgdatadir='/usr/local/share/opentsdb'; configdir='/usr/local/share/opentsdb/etc/opentsdb'; \
          abs_srcdir=''; abs_builddir=''; srcdir=''; test -f ./$script.in || srcdir=../; sed -e "s:@pkgdatadir[@]:$pkgdatadir:g" -e "s:@abs_srcdir[@]:$abs_srcdir:g" -e "s:@abs_builddir[@]:$abs_builddir:g" -e "s:@configdir[@]:$configdir:g" ${srcdir}$script.in >$script.tmp
cat tsdb.tmp >"/usr/local/bin/tsdb"
rm -f tsdb.tmp
make[3]: Leaving directory `/opt/opentsdb/build'
/bin/sh: -c: line 9: syntax error near unexpected token `|'
/bin/sh: -c: line 9: `done |  | \'
make[2]: *** [install-data-lib] Error 2
make[2]: Leaving directory `/opt/opentsdb/build'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/opt/opentsdb/build'
make: *** [install] Error 2
clohtd commented 9 years ago

Seems this has been around for a while:
https://groups.google.com/forum/#!topic/opentsdb/aLNuojl_Kac

clohtd commented 9 years ago

Problem remains in today's "next" branch.

manolama commented 9 years ago

Hmm, what if you use gmake, would that help? Alternatively try "sh build.sh pom.xml" and see if that creates the pom for a Maven build please.