Docker container

Your a genius and you know it.

1 Like

Goes fine for me until
CXX=clang+±3.4 CC=clang-3.4 cmake 
/

then 


willie@vostock:~/projects/MaidSafe/build$ CXX=clang+±3.4 CC=clang-3.4 cmake 
/
– Build type set to Debug
– This system is called Linux.
– Undefined behaviour sanitiser is enabled. Use -DNO_UBSAN=TRUE to prevent.
– BOOTSTRAP not set.

Configuring third party projects on ‘next’ branch of super-project

– Building b2 (bjam)
CMake Error at cmake_modules/add_boost.cmake:170 (message):
Failed running ./bootstrap.sh;–with-toolset=clang:

Building Boost.Build engine with toolset clang


Failed to build Boost.Build build engine

Consult ‘bootstrap.log’ for more details

Call Stack (most recent call first):
src/third_party_libs/CMakeLists.txt:40 (include)

– Configuring incomplete, errors occurred!
See also “/home/willie/projects/MaidSafe/build/CMakeFiles/CMakeOutput.log”.
See also “/home/willie/projects/MaidSafe/build/CMakeFiles/CMakeError.log”.

Neither bootstrap.log or CMakeOutput.log contain much useful (to me) info but
output of “/home/willie/projects/MaidSafe/build/CMakeFiles/CMakeError.log”.

Performing C SOURCE FILE Test HAVE_FLAG_STACK_PROTECTOR_STRONG failed with the
following output:
Change Dir: /home/willie/projects/MaidSafe/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make “cmTryCompileExec1407594910/fast”
/usr/bin/make -f CMakeFiles/cmTryCompileExec1407594910.dir/build.make CMakeFiles/cmTryCompileExec1407594910.dir/build
make[1]: Entering directory /home/willie/projects/MaidSafe/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/willie/projects/MaidSafe/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1407594910.dir/src.c.o /usr/bin/clang-3.4 -DHAVE_FLAG_STACK_PROTECTOR_STRONG -Werror -fstack-protector-strong -fstack-protector-strong -o CMakeFiles/cmTryCompileExec1407594910.dir/src.c.o -c /home/willie/projects/MaidSafe/build/CMakeFiles/CMakeTmp/src.c clang: error: unknown argument: '-fstack-protector-strong' clang: error: unknown argument: '-fstack-protector-strong' make[1]: *** [CMakeFiles/cmTryCompileExec1407594910.dir/src.c.o] Error 1 make[1]: Leaving directory /home/willie/projects/MaidSafe/build/CMakeFiles/CMakeTmp’
make: *** [cmTryCompileExec1407594910/fast] Error 2

Source file was:
int main(void) { return 0; }

Should I pastebin the other two files to help with tracking this down?

Ubuntu 14.04 64bit

You’re make options are incorrect.

If you want to build a native build (no Docker) go to Github and read the docs for Ubuntu 14.04.
I think you can probably use make options fro those instructions to build a Docker image, if you want to give it a try.

1 Like

Is an “official” docker version going to be released with the production version?

It would make very easy to run it on Synology NASs.

The devs said it would be.
But maybe not for your CPU architecture.

Thanks. Many of the big synology NAS have x86 processors, so I guess that it would not be an issue.

Ok. You didn’t say what arch you have so I thought to highlight that.
From what I read here x86 seems likely and x86_64 is guaranteed.

I would buy a new one for this purpose as the one I currently have is outdated and has very weak hardware.

I was thinking about the future. These NASs are becoming popular and a docker install file would make it very easy for many people.

For my own setup, I give myself a few months to decide between Synology, a FreeBSD system with a ZFS array or something else.

1 Like

Might any to look into Vagrant for distributing the developer environment, it’s made just for this kind of thing.