a really light setup, what could be missing , the error is:
Scanning dependencies of target bloom_filter_test
[ 5%] Building CXX object
src/cc/Common/CMakeFiles/bloom_filter_test.dir/tests/bloom_filter_test.cc.o
Linking CXX executable bloom_filter_test
libHyperCommon.a(SystemInfo.cc.o): In function
`Hypertable::TermInfo::init()':
/root/src/hypertable/src/cc/Common/SystemInfo.cc:754: undefined reference
to `setupterm'
/root/src/hypertable/src/cc/Common/SystemInfo.cc:756: undefined reference
to `cur_term'
/root/src/hypertable/src/cc/Common/SystemInfo.cc:757: undefined reference
to `cur_term'
collect2: ld returned 1 exit status
Thanks,
Kashirin Alex
On Thursday, January 30, 2014 10:22:29 PM UTC+2, Alex Kashirin wrote:
>
> setting the cMakefile of the DFSclient do help.
>
>
> target_link_libraries(dfsclient HyperDfsCmds ${EDITLINE_LIBRARIES}
> /lib64/libdl.so )
>
> as well the -ldl or setting the file at the EDITLINE DIR
>
>
> Thanks,
>
> Kashirin Alex
> On Monday, January 27, 2014 6:39:30 PM UTC+2, Doug Judd wrote:
>>
>> Thanks for updating the script, Alex. It looks like it is missing libdl.
>> Try adding -ldl to either the start or end of the TARGET_LINK_LIBRARIES
>> setting for dfsclient.
>>
>> - Doug
>>
>>
>> On Sun, Jan 26, 2014 at 1:10 PM, Alex Kashirin <[email protected]>wrote:
>>
>>> [ 89%] Building CXX object
>>> src/cc/Tools/dfsclient/CMakeFiles/dfsclient.dir/dfsclient.cc.o
>>> Linking CXX executable dfsclient
>>> /usr/local/lib/libsigar-amd64-linux.so: undefined reference to `dlopen'
>>> /usr/local/lib/libsigar-amd64-linux.so: undefined reference to `dlclose'
>>> /usr/local/lib/libsigar-amd64-linux.so: undefined reference to `dlsym'
>>>
>>> collect2: ld returned 1 exit status
>>> make[2]: *** [src/cc/Tools/dfsclient/dfsclient] Error 1
>>> make[1]: *** [src/cc/Tools/dfsclient/CMakeFiles/dfsclient.dir/all] Error
>>> 2
>>> make: *** [all] Error 2
>>>
>>>
>>> is there anything specific? (release 0.9.7.15)
>>>
>>>
>>>
>>>
>>>
>>> On Sunday, January 26, 2014 10:09:46 PM UTC+2, Alex Kashirin wrote:
>>>>
>>>> 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.
>>>
>>
>>
>>
>> --
>> Doug Judd
>> CEO, Hypertable Inc.
>>
>
--
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
echo "Release: $(lsb_release -sc)"
echo "Arch: $arch"
apt-get -y update
apt-get -y --allow-unauthenticated install zip g++ make
apt-get -y --allow-unauthenticated install python-dev
apt-get -y --allow-unauthenticated install rrdtool
apt-get -y --allow-unauthenticated install libncurses-dev
apt-get -y --allow-unauthenticated install libart-2.0-2 libart-2.0-dev
echo Cmake
cd ~
wget http://www.cmake.org/files/v2.6/cmake-2.6.4.tar.gz
tar xzvf cmake-2.6.4.tar.gz
cd cmake-2.6.4
./bootstrap --prefix=/usr; make; make install
cd ~; /bin/rm -rf cmake-2.6.4*
cd ~
/sbin/ldconfig
echo log4cpp
cd ~
wget 'http://sourceforge.net/projects/log4cpp/files/log4cpp-1.1.x%20(new)/log4cpp-1.1/log4cpp-1.1.1.tar.gz/download' --output-document=log4cpp.tgz
tar zxf log4cpp.tgz
cd log4cpp
./configure; make; make install
cd ~; /bin/rm -rf ~/log4cpp-1.1.1*
cd ~
/sbin/ldconfig
echo libevent4
cd ~
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar xzvf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure; make; make install
cd ~; rm -rf libevent-2.0.21-stable*
cd ~
/sbin/ldconfig
echo 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*
cd ~
fi
echo Cronolog
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*
cd ~
/sbin/ldconfig
echo Google Perftools
cd ~
wget https://gperftools.googlecode.com/files/gperftools-2.1.tar.gz
tar xzvf gperftools-2.1.tar.gz
cd gperftools-2.1
./configure; make; make install
cd ~; /bin/rm -rf ~/gperftools-2.1*
cd ~
/sbin/ldconfig
echo 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*
cd ~
/sbin/ldconfig
echo BerkeleyDB
cd ~
wget http://download.oracle.com/berkeley-db/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
cd ~; /bin/rm -rf ~/db-4.8.26/build_unix*
echo "/usr/local/BerkeleyDB.4.8/lib" > "/etc/ld.so.conf.d/bdb.conf"
cd ~
/sbin/ldconfig
echo SIGAR
cd ~
wget 'http://sourceforge.net/projects/sigar/files/sigar/1.6/hyperic-sigar-1.6.4.zip/download' --output-document=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*
cd ~
/sbin/ldconfig
echo Google RE2
cd ~
wget http://re2.googlecode.com/files/re2-20140111.tgz
tar zxf re2-20140111.tgz
cd re2
make install
/bin/rm -rf ~/re2*
cd ~
/sbin/ldconfig
echo 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
/bin/rm -rf ~/snappy-1.0.4*
cd ~
/sbin/ldconfig
echo expat
cd ~
wget 'http://sourceforge.net/projects/expat/files/expat/2.1.0/expat-2.1.0.tar.gz/download' --output-document=expat-2.1.0.tar.gz
tar xzvf expat-2.1.0.tar.gz
cd expat-2.1.0
./configure; make; make install
/bin/rm -rf ~/expat-2.1.0*
cd ~
/sbin/ldconfig
echo zlib
cd ~
wget http://zlib.net/zlib-1.2.8.tar.gz
tar xzvf zlib-1.2.8.tar.gz
cd zlib-1.2.8
./configure; make; make install
/bin/rm -rf ~/zlib-1.2.8*
cd ~
/sbin/ldconfig
echo bzip2
cd ~
wget http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
tar xzvf bzip2-1.0.6.tar.gz
cd bzip2-1.0.6
./configure; make; make install
/bin/rm -rf ~/bzip2-1.0.6*
cd ~
/sbin/ldconfig
echo libxml2
cd ~
wget ftp://xmlsoft.org/libxml2/libxml2-2.9.1.tar.gz
tar xzvf libxml2-2.9.1.tar.gz
cd libxml2-2.9.1
./configure; make; make install
/bin/rm -rf ~/libxml2-2.9.1*
cd ~
/sbin/ldconfig
echo ncurses
cd ~
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz
tar xzvf ncurses-5.9.tar.gz
cd ncurses-5.9
./configure; make; make install
cd ~; /bin/rm -rf ~/ncurses-5.9*
echo readline
cd ~
wget ftp://ftp.cwru.edu/pub/bash/readline-6.2.tar.gz
tar xzvf 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
/sbin/ldconfig
echo libedit
cd ~
wget http://thrysoee.dk/editline/libedit-20130712-3.1.tar.gz
tar xzvf 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
/sbin/ldconfig
echo Thrift
cd /usr/src
wget http://archive.apache.org/dist/thrift/0.8.0/thrift-0.8.0.tar.gz
tar xzvf thrift-0.8.0.tar.gz
rm -f thrift
ln -s hrift-0.8.0 thrift
cd thrift-0.8.0
chmod 755 ./configure ./lib/php/src/ext/thrift_protocol/build/shtool
./configure --with-c_glib=yes --with-python=no --with-perl=no --with-ruby=no
make
make install
echo 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*
cd ~
/sbin/ldconfig