hi Kai,

Did you run

source setup_build_env.sh

?

You can also manually run the thirdparty build scripts, but then you
must set the environment variables yourself (see the
setup_build_env.sh and also the Travis CI scripts for a complete
accounting).

Thanks
Wes

On Sun, Mar 27, 2016 at 5:25 PM, Zheng, Kai <kai.zh...@intel.com> wrote:
> Hi,
>
> Does Arrow/cpp assumes the building set up all its dependencies including 
> google flatbuffers lib by itself? I hit the following error but am not sure 
> if it's a building issue or not.
> Thanks.
>
> [root@zkdesk debug]# pwd
> /home/workspace/arrow/cpp/debug
> [root@zkdesk debug]# cmake ..
> Configured for DEBUG build (set with cmake 
> -DCMAKE_BUILD_TYPE={release,debug,...})
> INFO Using built-in specs.
> COLLECT_GCC=/bin/c++
> COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.3/lto-wrapper
> Target: x86_64-redhat-linux
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
> --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla 
> --enable-bootstrap --enable-shared --enable-threads=posix 
> --enable-checking=release --with-system-zlib --enable-__cxa_atexit 
> --disable-libunwind-exceptions --enable-gnu-unique-object 
> --enable-linker-build-id --with-linker-hash-style=gnu 
> --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin 
> --enable-initfini-array --disable-libgcj 
> --with-isl=/builddir/build/BUILD/gcc-4.8.3-20140911/obj-x86_64-redhat-linux/isl-install
>  
> --with-cloog=/builddir/build/BUILD/gcc-4.8.3-20140911/obj-x86_64-redhat-linux/cloog-install
>  --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 
> --build=x86_64-redhat-linux
> Thread model: posix
> gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC)
>
> Selected compiler gcc 4.8.3
> collect2 version 4.8.3 20140911 (Red Hat 4.8.3-9)
> /usr/bin/ld --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m 
> elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 
> /usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../lib64/crt1.o 
> /usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../lib64/crti.o 
> /usr/lib/gcc/x86_64-redhat-linux/4.8.3/crtbegin.o 
> -L/usr/lib/gcc/x86_64-redhat-linux/4.8.3 
> -L/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../lib64 -L/lib/../lib64 
> -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../.. 
> --version -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc 
> /usr/lib/gcc/x86_64-redhat-linux/4.8.3/crtend.o 
> /usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../lib64/crtn.o
> Using ld linker
> -- Found the GTest library: 
> /home/workspace/arrow/cpp/thirdparty/googletest-release-1.7.0/libgtest.a
> Added static library dependency gtest: 
> /home/workspace/arrow/cpp/thirdparty/googletest-release-1.7.0/libgtest.a
> CMake Error at cmake_modules/FindFlatbuffers.cmake:83 (message):
>   Could not find the Flatbuffers library.  Looked in system search paths.
> Call Stack (most recent call first):
>   CMakeLists.txt:602 (find_package)
>
> Regards,
> Kai
>
> -- Configuring incomplete, errors occurred!
>

Reply via email to