-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling on Ubuntu Disco Dingo #10
Comments
You need to install pkgconfig as well with the apt-get install.
Eric
…On Sat, Jul 27, 2019 at 8:58 AM Jackson Delahunt ***@***.***> wrote:
Here's a Dockerfile I'm using to set up DriveFS on Ubuntu Disco Dingo with
docker build -t drivefs .
FROM ubuntu:19.04
# Install build dependenciesRUN apt-get update -qq && \
apt-get install -qq \
cmake \
g++ \
git \
fuse3 \
libboost-all-dev \
libfuse3-3 \
libfuse3-dev \
libjemalloc-dev \
libmongoc-dev \
mongodb
# Install DriveFSRUN git clone https://github.com/thejinx0r/DriveFS.git && \
cd DriveFS && \
git submodule init && \
git submodule update && \
mkdir build && \
cd build && \
DUSE_FUSE3=1 cmake .. && \
make -j 8
# Start the applicationCMD ./DriveFS
The build log errors with
-- The CXX compiler identification is GNU 8.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Call Stack (most recent call first):
/usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:39 (find_package_handle_standard_args)
CMakeLists.txt:49 (find_package)
-- Configuring incomplete, errors occurred!
See also "/DriveFS/build/CMakeFiles/CMakeOutput.log".
The command '/bin/sh -c git clone https://github.com/thejinx0r/DriveFS.git && cd DriveFS && git submodule init && git submodule update && mkdir build && cd build && DUSE_FUSE3=1 cmake .. && make -j 8' returned a non-zero code: 1
Could you advise as to which package is missing please?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#10>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACO63A6NT5ZTVKY5P4E7P3QBRA5ZANCNFSM4IHJIJCA>
.
|
Thank you, fixed with your advice. Now I'm receiving the following error even with
|
hello, i have fixed all dependencies by adding this lines to docker file: But i have got many errors during compilation, usually with mongocxx here is the part of exception: |
Great. I haven't had time to check it out yet.
What you have sent are warnings, which are or side of my control. Do you
have compilation errors?
…On Tue., Jul. 30, 2019, 17:42 T-REX-XP, ***@***.***> wrote:
Thank you, fixed with your advice. Now I'm receiving the following error
even with fuse3, libfuse3-3, libfuse3-dev available
<https://github.com/cloud-computer/cloud-computer/blob/drive-fs/infrastructure/containers/drivefs/Dockerfile#L12>
and DUSE_FUSE3=1 set. Any advice?
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for one of the modules 'fuse'
CMake Error at /usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:679 (message):
None of the required 'fuse' found
Call Stack (most recent call first):
CMakeLists.txt:57 (pkg_search_module)
hello, i have fixed all dependencies by adding this lines to docker file:
RUN apt-get install -qq pkg-config
RUN apt-get install -qq libfuse-dev
But i have got many errors during compilation, usually with mongocxx
here is the part of exception:
In file included from
/DriveFS/build/mongocxx/src/mongocxx/src/mongocxx/exception/private/mongoc_error.hh:19,
from /DriveFS/build/mongocxx/src/mongocxx/src/mongocxx/bulk_write.cpp:22:
/DriveFS/build/mongocxx/src/mongocxx/src/mongocxx/private/libmongoc.hh:58:61:
warning: 'int64_t mongoc_collection_count(mongoc_collection_t*,
mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const
mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use
mongoc_collection_count_documents or
mongoc_collection_estimated_document_count instead
[-Wdeprecated-declarations] extern MONGOCXX_API
mongocxx::test_util::mock<decltype(&mongoc_##name)>& name;
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#10>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACO63AVJ7OJMVOHTILHRZLQCCYUHANCNFSM4IHJIJCA>
.
|
I get
|
If that helps, here is my dockerfile
|
Here's a Dockerfile I'm using to set up DriveFS on Ubuntu Disco Dingo with
docker build -t drivefs .
The build log errors with
Could you advise as to which package is missing please?
The text was updated successfully, but these errors were encountered: