in the previous file was not included the:


apt-get -y update
apt-get -y --allow-unauthenticated install zip g++ cmake liblog4cpp5-dev 
libbz2-dev git-core cronolog zlib1g-dev libexpat1-dev libncurses-dev 
rrdtool librrd2-dev libart-2.0-2 libart-2.0-dev

# no install ceph and the new lib and dev headers - posibly dont need ceph 
just to build but is needed for testing
apt-get -y install ceph libcephfs1


On Sunday, January 26, 2014 9:17:36 PM UTC+2, Alex Kashirin wrote:
>
> is it correct to add:
>
> #################
> # libedit
> cd ~
> wget http://thrysoee.dk/editline/libedit-20130712-3.1.tar.gz
> tar xvf libedit-20130712-3.1.tar.gz
> cd libedit-20130712-3.1
> ./configure --enable-widec; make; make install
> cd ~; /bin/rm -rf ~/libedit-20130712-3.1*
> ln -s /usr/local/include/editline /usr/include/editline
>
> # readline
> cd ~
> wget ftp://ftp.cwru.edu/pub/bash/readline-6.2.tar.gz
> tar xvf readline-6.2.tar.gz
> cd readline-6.2
> ./configure; make; make install
> cd ~; /bin/rm -rf ~/readline-6.2*
> ln -s /usr/local/include/readline /usr/include/readline
>
> ################
>
> Changed JDK to default-jdk
>
> boost_1_44_0 - was other ver combination
>
> thrift - a mistake of  combination of 0.7 and 0.8 - 
>
>
> CURRENT ERROR with  cmake ~/src/hypertable
>
> CMakeFiles/cmTryCompileExec.dir/CheckEditline.cc.o: In function `main':
> CheckEditline.cc:(.text+0x27): undefined reference to `el_wset'
> CheckEditline.cc:(.text+0x41): undefined reference to `el_wgets'
> collect2: ld returned 1 exit status
> make[1]: Leaving directory 
> `/root/build/hypertable/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp'
> make[1]: *** [cmTryCompileExec] Error 1
> make: *** [cmTryCompileExec/fast] Error 2
>
> CMake Error at cmake/FindEditline.cmake:62 (message):
> Please fix the Editline installation and try again. Make sure you build
> libedit with --enable-widec!
> Call Stack (most recent call first):
> CMakeLists.txt:115 (find_package)
>
>
>
> # Scrooge (Scala Thrift binding) --- IS IT CORRECT CURRENT NOT USED?
>
> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> [warn] :: UNRESOLVED DEPENDENCIES ::
> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> [warn] :: com.typesafe.sbt#sbt-site;0.6.2: not found
> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]
> [warn] Note: Some unresolved dependencies have extra attributes. Check 
> that these dependencies exist with the requested attributes.
> [warn] com.typesafe.sbt:sbt-site:0.6.2 (sbtVersion=0.11.2, 
> scalaVersion=2.9.1)
> [warn]
> [error] {file:/usr/src/scrooge/project/}default-08a666/*:update: 
> sbt.ResolveException: unresolved dependency: 
> com.typesafe.sbt#sbt-site;0.6.2: not found
>
>
>
>
>
> htbuild:
> _install_tcmalloc() {
> _install_libunwind || return 1
> wget 
> http://google-perftools.googlecode.com/files/google-perftools-1.4.tar.gz-O 
> tcmalloc.tgz
> tar zxf tcmalloc.tgz
> (cd google-perftools-1.4 && ./configure && make && make install)
> }
>
> RETURN:
>
> src/tcmalloc.cc:1320:54: error: conflicting declaration גvoid* (* 
> __memalign_hook)(size_t, size_t, const void*)ג
> /usr/include/malloc.h:183:39: error: ג__memalign_hookג has a previous 
> declaration as גvoid* (* volatile __memalign_hook)(size_t, size_t, const 
> void*)ג
> src/tcmalloc.cc: In function גvoid PrintStats(int)ג:
> src/tcmalloc.cc:473:47: warning: ignoring return value of גssize_t 
> write(int, const void*, size_t)ג, declared with attribute 
> warn_unused_result [-Wunused-result]
> src/tcmalloc.cc: In function גvoid ReportLargeAlloc(Length, void*)ג:
> src/tcmalloc.cc:761:47: warning: ignoring return value of גssize_t 
> write(int, const void*, size_t)ג, declared with attribute 
> warn_unused_result [-Wunused-result]
> make: *** [libtcmalloc_minimal_la-tcmalloc.lo] Error 
>
>
> Thanks,
>
> Kashirin Alex
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hypertable-dev.
For more options, visit https://groups.google.com/groups/opt_out.
#!/usr/bin/env bash

arch=`uname -m`

if [ $arch == "i386" ] || [ $arch == "i586" ] || [ $arch == "i686" ] ; then
  ARCH=32
elif [ $arch == "x86_64" ] ; then
  ARCH=64
else
  echo "Unknown processor architecture: $arch"
  exit 1
fi



apt-get -y update
apt-get -y --allow-unauthenticated install zip g++ cmake liblog4cpp5-dev libbz2-dev git-core cronolog zlib1g-dev libexpat1-dev libncurses-dev rrdtool librrd2-dev libart-2.0-2 libart-2.0-dev

# no install ceph and the new lib and dev headers - posibly dont need ceph just to build but is needed for testing
apt-get -y install ceph libcephfs1

# libedit
cd ~
wget  http://thrysoee.dk/editline/libedit-20130712-3.1.tar.gz
tar xvf libedit-20130712-3.1.tar.gz
cd libedit-20130712-3.1
./configure --enable-widec; make; make install
cd ~; /bin/rm -rf ~/libedit-20130712-3.1*
ln -s /usr/local/include/editline /usr/include/editline
 
# readline
cd ~
wget ftp://ftp.cwru.edu/pub/bash/readline-6.2.tar.gz
tar xvf readline-6.2.tar.gz
cd readline-6.2
./configure --enable-widec; make; make install
cd ~; /bin/rm -rf ~/readline-6.2*
ln -s /usr/local/include/readline /usr/include/readline
 
 
 
 
# Boost
cd ~
wget http://downloads.sourceforge.net/boost/boost_1_44_0.tar.bz2
tar xjvf boost_1_44_0.tar.bz2
cd boost_1_44_0
./bootstrap.sh --with-libraries=filesystem,iostreams,program_options,system,thread,graph,regex
./bjam install
cd ~; /bin/rm -rf ~/boost_1_44_0*

# Cronolog - NEADED?? as added to apt-get above
cd ~
wget http://cronolog.org/download/cronolog-1.6.2.tar.gz
tar xzvf cronolog-1.6.2.tar.gz 
cd cronolog-1.6.2/
./configure; make; make install
cd ~; /bin/rm -rf cronolog-1.6.2*

# SIGAR
cd ~
wget http://www.hypertable.com/uploads/hyperic-sigar-1.6.4.zip
unzip hyperic-sigar-1.6.4.zip
cp hyperic-sigar-1.6.4/sigar-bin/include/*.h /usr/local/include
if [ $ARCH -eq 32 ]; then
  cp hyperic-sigar-1.6.4/sigar-bin/lib/libsigar-x86-linux.so /usr/local/lib
else
  cp hyperic-sigar-1.6.4/sigar-bin/lib/libsigar-amd64-linux.so /usr/local/lib
fi
/bin/rm -rf ~/hyperic-sigar-1.6.4*

# important to tell the lib sistem to index this
ldconfig

# BerkeleyDB
cd ~
wget http://www.hypertable.com/uploads/db-4.8.26.tar.gz
tar -xzvf db-4.8.26.tar.gz
cd db-4.8.26/build_unix/
../dist/configure --enable-cxx
make
make install
sh -c "echo '/usr/local/BerkeleyDB.4.8/lib' > /etc/ld.so.conf.d/BerkeleyDB.4.8.conf"
cd ~; /bin/rm -rf ~/db-4.8.26*

# Google RE2
cd ~
wget http://www.hypertable.com/uploads/re2.tgz
tar -zxvf re2.tgz
cd re2
# insert the missing include (manifests as a missing "ptrdiff_t does not name a type" message)
sed 's:<string.h>:<string.h>\
#include <cstddef>:' re2/stringpiece.h > sp.bak && mv sp.bak re2/stringpiece.h
make
make install
/bin/rm -rf ~/re2*

# libunwind
if [ $ARCH -eq 64 ]; then
  cd ~
  wget http://download.savannah.gnu.org/releases/libunwind/libunwind-1.0.1.tar.gz
  tar xzvf libunwind-1.0.1.tar.gz 
  cd libunwind-1.0.1/
  ./configure CFLAGS=-U_FORTIFY_SOURCE
  make
  make install
  cd ~
  /bin/rm -rf ~/libunwind-1.0.1*
fi

# Google Perftools
cd ~
wget http://google-perftools.googlecode.com/files/google-perftools-1.8.3.tar.gz
tar xzvf google-perftools-1.8.3.tar.gz
cd google-perftools-1.8.3
./configure
make
make install
cd ~
/bin/rm -rf ~/google-perftools-1.8.3*


# Google Snappy
cd ~
wget http://snappy.googlecode.com/files/snappy-1.0.4.tar.gz
tar xzvf snappy-1.0.4.tar.gz
cd snappy-1.0.4
./configure
make
make install
cd ~
/bin/rm -rf ~/snappy-1.0.4*

apt-get -y --allow-unauthenticated install default-jdk


apt-get -y --allow-unauthenticated install ant autoconf automake libtool bison flex pkg-config php5 php5-dev php5-cli ruby-dev python-dev ruby1.8-dev libhttp-access2-ruby libbit-vector-perl libclass-accessor-chained-perl

# libevent4
cd ~
wget https://github.com/downloads/libevent/libevent/libevent-1.4.14b-stable.tar.gz
tar xzvf libevent-1.4.14b-stable.tar.gz 
cd libevent-1.4.14b-stable
./configure 
make
make install
cd ~; rm -rf libevent-1.4.14b-stable*


# Thrift
cd /usr/src
wget http://apache.mirror.anlx.net/thrift/0.8.0/thrift-0.8.0.tar.gz
tar xzvf thrift-0.8.0.tar.gz
rm -f thrift
ln -s thrift-0.8.0 thrift
cd thrift-0.8.0
chmod 755 ./configure ./lib/php/src/ext/thrift_protocol/build/shtool
./configure
make
make install

# Scrooge (Scala Thrift binding)
wget http://apt.typesafe.com/repo-deb-build-0002.deb
dpkg -i repo-deb-build-0002.deb
apt-get update
apt-get -y --force-yes --fix-missing install sbt
mkdir -p ~/.sbt/.lib/0.11.2
cd ~/.sbt/.lib/0.11.2
wget http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt-launch/0.11.2/sbt-launch.jar
cd /usr/src
git clone git://github.com/twitter/scrooge.git
cd scrooge
sbt -sbt-version 0.11.2 package-dist

apt-get -y --allow-unauthenticated install dstat doxygen rrdtool graphviz gdb emacs rdoc rubygems

gem install capistrano sinatra rack thin json titleize

/sbin/ldconfig

Reply via email to