Comments (6)
It says "Could NOT find Polonaise v0.3.0" when I run ./configure
I donot know where to find Polonaise to install it on my Redhat EL 6.5.
You don't need it to compile the code, so you can proceed safely.
The file sys/rusage.h is also not found. I google the problem, and try "yum install perl-BSD-Resource", which did not work.
If this didn't work try re-running cmake, eg. using:
make distclean
./configure
BTW, aren't you able to compile the code without this header? It is optional and it shouldn't break the compilation.
from lizardfs.
Thank you for your quick reply.
I will try later. I am busy installing Thrift which needs a lot of staff to install/upgrade first (boost, autoconf, automake, etc.)
from lizardfs.
Do you need Thrift to compile LizardFS? If yes, I warn you, that most probably you don't need this. Things like 'Polonaise v0.3.0' and Thrift are needed only when you need lizardfs-polonaise-server
to be compiled, which is not needed to use the filesytem with the usual (eg. provided by FUSE) interface.
from lizardfs.
Thank you for the explaination. However, I got some errors if I just jump to the make step.
I follow your INSTALL instroductions:
create a build directory inside the source directory, enter the build directory. Then:
[root@mfs1 build]# cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/lizardfs
-- CMAKE_BUILD_TYPE: Release
-- CMAKE_INSTALL_PREFIX: /opt/lizardfs
-- DEFAULT_USER: mfs
-- DEFAULT_GROUP: mfs
-- ENABLE_WERROR: OFF
-- ENABLE_LIGHTMFS: OFF
-- ENABLE_DEBIAN_PATHS: OFF
-- ENABLE_UTILS: OFF
-- ENABLE_TESTS: OFF
-- ENABLE_DOCS: ON
-- ENABLE_EXIT_ON_USR1: OFF
-- THROW_INSTEAD_OF_ABORT: OFF
-- FUSE_LIBRARY: FUSE_LIBRARY-NOTFOUND
-- RT_LIBRARY: /usr/lib64/librt.so
-- a2x: A2X_BINARY-NOTFOUND
-- Boost version: 1.56.0
-- Found the following Boost libraries:
-- regex
-- thread
-- Boost version: 1.56.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- Could NOT find Thrift (missing: THRIFT_INCLUDE_DIR THRIFT_LIBRARY)
-- Could NOT find Thrift
-- If it's installed in a non-standard path, set THRIFT_ROOT variable
-- to point this path (cmake -DTHRIFT_ROOT=...)
-- Could NOT find Polonaise v0.3.0
-- If it's installed in a non-standard path, set Polonaise_DIR variable
-- to point this path (cmake -DPolonaise_DIR=...)
Some include files were not found: sys/rusage.h
CMake Warning at doc/CMakeLists.txt:2 (message):
Program 'a2x' not found, manpages won't be generated
-- CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA=/root/lizardfs-2.5.0/build/src/data/postinst
-- Configuring done
-- Generating done
-- Build files have been written to: /root/lizardfs-2.5.0/build
[root@mfs1 build]# make
Scanning dependencies of target crcutil
[ 1%] Building CXX object external/CMakeFiles/crcutil.dir/crcutil-1.0/code/multiword_64_64_gcc_amd64_asm.cc.o
In file included from /root/lizardfs-2.5.0/external/crcutil-1.0/code/multiword_64_64_gcc_amd64_asm.cc:43:
/root/lizardfs-2.5.0/external/crcutil-1.0/code/generic_crc.h:590: warning: comma at end of enumerator list
/root/lizardfs-2.5.0/external/crcutil-1.0/code/generic_crc.h: In member function ‘_Crc crcutil::GenericCrc<_Crc, _TableEntry, Word, kStride>::CrcBlockword(const void, size_t, const _Crc&) const’:
/root/lizardfs-2.5.0/external/crcutil-1.0/code/generic_crc.h:356: warning: comma at end of enumerator list
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-gnu"
[ 2%] Building CXX object external/CMakeFiles/crcutil.dir/crcutil-1.0/code/multiword_64_64_cl_i386_mmx.cc.o
In file included from /root/lizardfs-2.5.0/external/crcutil-1.0/code/multiword_64_64_cl_i386_mmx.cc:18:
/root/lizardfs-2.5.0/external/crcutil-1.0/code/generic_crc.h:590: warning: comma at end of enumerator list
/root/lizardfs-2.5.0/external/crcutil-1.0/code/generic_crc.h: In member function ‘_Crc crcutil::GenericCrc<_Crc, _TableEntry, Word, kStride>::CrcBlockword(const void, size_t, const _Crc&) const’:
/root/lizardfs-2.5.0/external/crcutil-1.0/code/generic_crc.h:356: warning: comma at end of enumerator list
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-gnu"
[ 3%] Building CXX object external/CMakeFiles/crcutil.dir/crcutil-1.0/code/multiword_64_64_gcc_i386_mmx.cc.o
In file included from /root/lizardfs-2.5.0/external/crcutil-1.0/code/multiword_64_64_gcc_i386_mmx.cc:17:
/root/lizardfs-2.5.0/external/crcutil-1.0/code/generic_crc.h:590: warning: comma at end of enumerator list
/root/lizardfs-2.5.0/external/crcutil-1.0/code/generic_crc.h: In member function ‘_Crc crcutil::GenericCrc<_Crc, _TableEntry, Word, kStride>::CrcBlockword(const void, size_t, const _Crc&) const’:
/root/lizardfs-2.5.0/external/crcutil-1.0/code/generic_crc.h:356: warning: comma at end of enumerator list
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-gnu"
[ 4%] Building CXX object external/CMakeFiles/crcutil.dir/crcutil-1.0/code/multiword_64_64_intrinsic_i386_mmx.cc.o
In file included from /root/lizardfs-2.5.0/external/crcutil-1.0/code/multiword_64_64_intrinsic_i386_mmx.cc:17:
/root/lizardfs-2.5.0/external/crcutil-1.0/code/generic_crc.h:590: warning: comma at end of enumerator list
/root/lizardfs-2.5.0/external/crcutil-1.0/code/generic_crc.h: In member function ‘_Crc crcutil::GenericCrc<_Crc, _TableEntry, Word, kStride>::CrcBlockword(const void, size_t, const _Crc&) const’:
/root/lizardfs-2.5.0/external/crcutil-1.0/code/generic_crc.h:356: warning: comma at end of enumerator list
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-gnu"
[ 5%] Building CXX object external/CMakeFiles/crcutil.dir/crcutil-1.0/code/multiword_128_64_gcc_amd64_sse2.cc.o
In file included from /root/lizardfs-2.5.0/external/crcutil-1.0/code/multiword_128_64_gcc_amd64_sse2.cc:26:
/root/lizardfs-2.5.0/external/crcutil-1.0/code/generic_crc.h:590: warning: comma at end of enumerator list
/root/lizardfs-2.5.0/external/crcutil-1.0/code/generic_crc.h: In member function ‘_Crc crcutil::GenericCrc<_Crc, _TableEntry, Word, kStride>::CrcBlockword(const void, size_t, const Crc&) const’:
/root/lizardfs-2.5.0/external/crcutil-1.0/code/generic_crc.h:356: warning: comma at end of enumerator list
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-gnu"
[ 6%] Building CXX object external/CMakeFiles/crcutil.dir/crcutil-1.0/code/crc32c_sse4.cc.o
In file included from /root/lizardfs-2.5.0/external/crcutil-1.0/code/crc32c_sse4.cc:19:
/root/lizardfs-2.5.0/external/crcutil-1.0/code/crc32c_sse4.h:171: warning: comma at end of enumerator list
cc1plus: warning: unrecognized command line option "-Wno-gnu"
Linking CXX static library libcrcutil.a
[ 6%] Built target crcutil
Scanning dependencies of target mfscommon
[ 7%] Building CXX object src/common/CMakeFiles/mfscommon.dir/pcqueue.cc.o
[ 8%] Building CXX object src/common/CMakeFiles/mfscommon.dir/sockets.cc.o
[ 9%] Building CXX object src/common/CMakeFiles/mfscommon.dir/setup.cc.o
/root/lizardfs-2.5.0/src/common/setup.cc: In function ‘void prepareEnvironment()’:
/root/lizardfs-2.5.0/src/common/setup.cc:34: error: expected initializer before ‘:’ token
/root/lizardfs-2.5.0/src/common/setup.cc:37: error: expected primary-expression before ‘}’ token
/root/lizardfs-2.5.0/src/common/setup.cc:37: error: expected ‘;’ before ‘}’ token
/root/lizardfs-2.5.0/src/common/setup.cc:37: error: expected primary-expression before ‘}’ token
/root/lizardfs-2.5.0/src/common/setup.cc:37: error: expected ‘)’ before ‘}’ token
/root/lizardfs-2.5.0/src/common/setup.cc:37: error: expected primary-expression before ‘}’ token
/root/lizardfs-2.5.0/src/common/setup.cc:37: error: expected ‘;’ before ‘}’ token
/root/lizardfs-2.5.0/src/common/setup.cc:8: warning: unused variable ‘localeNames’
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-gnu"
make[2]: ** [src/common/CMakeFiles/mfscommon.dir/setup.cc.o] Error 1
make[1]: *** [src/common/CMakeFiles/mfscommon.dir/all] Error 2
make: *** [all] Error 2
[root@mfs1 build]#
from lizardfs.
You should make sure that you have a working c++11 compiler.
from lizardfs.
Thank you very much. After I upgrade the gcc from v4.4.7 to v4.8.1, it works well to compile the code.
from lizardfs.
Related Issues (20)
- lizardfs.com seems to be down HOT 1
- docs, repo, and ubu package are broken and wrong
- Enable/Enforce IO Timeouts for Mounts? HOT 2
- How to get the list of files which goal is 1 HOT 4
- :)
- Best way to disable rebalancing?
- Is there a way to keep overgoal chunks until free space falls below a threshold? HOT 1
- Shadow to master transition fails with existing metadata when no connection to master was established HOT 3
- Debian & Ubuntu Repo no longer exists? HOT 11
- Upgrade 3.12 to 3.13 HOT 8
- Website http://lizardfs.com/ is down HOT 2
- Fix documentation for installation HOT 5
- Unable to use lizardfs mount on Debian 11 bullseye with lizardfs-client HOT 3
- [PATCH] CMake 3.25 compatibility HOT 2
- IPv6 support HOT 1
- Status of the project? HOT 1
- Certificate expired on dev.lizardfs.com HOT 3
- aarch64 compiling got error: comparison is always true due to limited range of data type [-Werror=type-limits] HOT 2
- I got a file with 1 missing EC(2,1) chunk, but I was able to find the chunk files on disks. How can I make lizardfs use then? HOT 1
- Dead / Stagnant Project HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lizardfs.