bytedance / terarkdb

A RocksDB compatible KV storage engine with better performance
Apache License 2.0
2.05k stars 202 forks source link

Ubuntu 22.04 compilation error #260

Open kolinfluence opened 1 year ago

kolinfluence commented 1 year ago

installed libjemalloc-dev and libaio-dev already but still have this error

Doing 6 tests (3 compress, 3 uncompress) ...
If there's a problem, things might stop at this point.

If you got this far and the 'cmp's didn't complain, it looks
like you're in business.  

To install in /usr/local/bin, /usr/local/lib, /usr/local/man and 
/usr/local/include, type

   make install

To install somewhere else, eg, /xxx/yyy/{bin,lib,man,include}, type 

   make install PREFIX=/xxx/yyy

If you are (justifiably) paranoid and want to see what 'make install'
is going to do, you can first do

   make -n install                      or
   make -n install PREFIX=/xxx/yyy      respectively.

The -n instructs make to show the commands it would execute, but
not actually execute them.

Instructions for use are in the preformatted manual page, in the file
bzip2.txt.  For more detailed documentation, read the full manual.  
It is available in Postscript form (manual.ps), PDF form (manual.pdf),
and HTML form (manual.html).

You can also do "bzip2 --help" to see some helpful information. 
"bzip2 -L" displays the software license.

[ 15%] Performing install step for 'bzip2-project'
[ 15%] Completed 'bzip2-project'
[ 15%] Built target bzip2-project
[ 15%] Building CXX object CMakeFiles/testharness.dir/util/testharness.cc.o
[ 15%] Building CXX object third-party/gtest-1.8.1/fused-src/gtest/CMakeFiles/gtest.dir/gtest-all.cc.o
[ 15%] Built target testharness
[ 15%] Linking CXX static library libgtest.a
[ 15%] Built target gtest
creating versioned links
compiling static library
==> building zstd with .gz decompression support 
[ 16%] Performing install step for 'zstd-project'
creating pkgconfig
Installing libraries
Installing includes
zstd static and shared library installed
==> building zstd with .gz decompression support 
Installing binaries
Installing man pages
zstd installation completed
[ 16%] Completed 'zstd-project'
[ 16%] Built target zstd-project
cp include/jemalloc/internal/private_namespace.gen.h include/jemalloc/internal/private_namespace.gen.h
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
[ 16%] Performing install step for 'jemalloc-project'
/usr/bin/install -c -m 755 bin/jemalloc-config /go/src/github.com/bytedance/terarkdb/build/bin
/usr/bin/install -c -m 644 include/jemalloc/jemalloc.h /go/src/github.com/bytedance/terarkdb/build/include/jemalloc
/usr/bin/install -c -m 755 bin/jemalloc.sh /go/src/github.com/bytedance/terarkdb/build/bin
/usr/bin/install -c -m 755 lib/libjemalloc.a /go/src/github.com/bytedance/terarkdb/build/lib
/usr/bin/install -c -m 755 bin/jeprof /go/src/github.com/bytedance/terarkdb/build/bin
/usr/bin/install -c -m 644 jemalloc.pc /go/src/github.com/bytedance/terarkdb/build/lib/pkgconfig
/usr/bin/install -c -m 644 doc/jemalloc.html /go/src/github.com/bytedance/terarkdb/build/share/doc/jemalloc
/usr/bin/install: cannot stat 'doc/jemalloc.html': No such file or directory
make[3]: *** [Makefile:506: install_doc_html] Error 1
make[3]: *** Waiting for unfinished jobs....
/usr/bin/install -c -m 755 lib/libjemalloc_pic.a /go/src/github.com/bytedance/terarkdb/build/lib
Note: Writing jemalloc.3
make[2]: *** [third-party/CMakeFiles/jemalloc-project.dir/build.make:102: third-party/jemalloc-project-prefix/src/jemalloc-project-stamp/jemalloc-project-install] Error 2
make[1]: *** [CMakeFiles/Makefile2:685: third-party/CMakeFiles/jemalloc-project.dir/all] Error 2
make: *** [Makefile:136: all] Error 2