Unable to run blender 2.80 in RHEL/CentOS 7

Hi, I have been struggling with this on and off since then.
When I ran the @mon docker I had to remove the “–storage-opt size=20G” cause it gave me an error that I can’t regenerate now cause the whole docker is messed up now. and it fell my root drive completely and chocked it. I tried moving the docker default folder to a secondary Drive using various ways without luck.
the last being Editing the docker.service ExecStart line to look like this ExecStart =/usr/bin/dockerd -g /new/docker/root/dir -H fd:// but I get this error.
"docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Sun 2018-10-14 12:20:21 MST; 6s ago
Docs: https://docs.docker.com
Process: 5230 ExecStart=/usr/bin/dockerd -g /STORAGE/docker/ -H fd:// (code=exited, status=1/FAILURE)
Main PID: 5230 (code=exited, status=1/FAILURE)

Oct 14 12:20:21 Lahloba systemd[1]: Failed to start Docker Application Container Engine.
Oct 14 12:20:21 Lahloba systemd[1]: Unit docker.service entered failed state.
Oct 14 12:20:21 Lahloba systemd[1]: docker.service failed.
Oct 14 12:20:21 Lahloba systemd[1]: docker.service holdoff time over, scheduling restart.
Oct 14 12:20:21 Lahloba systemd[1]: start request repeated too quickly for docker.service
Oct 14 12:20:21 Lahloba systemd[1]: Failed to start Docker Application Container Engine.
Oct 14 12:20:21 Lahloba systemd[1]: Unit docker.service entered failed state.
Oct 14 12:20:21 Lahloba systemd[1]: docker.service failed."

I would really appreciate any help I can get on this.
Thanks everyone for your time and effort.
Ahmed

Do you need to use Docker at all?

If all you want is to make a Blender build, it seems easier to just follow the standard steps:
https://wiki.blender.org/wiki/Building_Blender/Linux/Generic_Distro

Or these commands from earlier in this thread:

1 Like

Thanks. excuse my ignorance as I haven’t built blender from source before. and have some limited experience generally when it comes to building software from source. only had to do it couple of times on some simple tools. will give it a try. will pull the software as per the wiki instructions. then run commands in the quoted post.

Thanks a lot for your help very much appreciated. and also thanks for the amazing work you guys are doing on blender. Ex-Softimage user here started the switch to blender earlier this year :).

1 Like

Tried following the wiki steps. and first had problems with cmake versions but managed to block yum from updating to old camke. then I faced the following error running the install_deps.sh.
and although I get errors only for the openEXRwhen I run make deps and then make full.
I get a lot of missing libraries. ( SDL2, OpenCOLLADA,Spacenav, OSL, OPENVDB, BLOSC,ALEMBIC, OpenImageIO, LLVM and OpenSubdiv)
tried attaching a text instead of pasting in but couldn’t so I apologise for that.

""Own Python-3.7.0 is up to date, nothing to do!
If you want to force rebuild of this lib, use the --force-python option.

Own Numpy-1.15.0 is up to date, nothing to do!
If you want to force rebuild of this lib, use the --force-numpy option.

Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile

Own OpenColorIO-1.1.0 is up to date, nothing to do!
If you want to force rebuild of this lib, use the --force-ocio option.

Running ldconfig for ocio…

Building ILMBase-2.3.0
Ensuring /opt/lib exists and is writable by us
Downloading ILMBase-2.3.0
–2018-10-15 10:48:16-- https://github.com/openexr/openexr/releases/download/v2.3.0/ilmbase-2.3.0.tar.gz
Resolving github.com (github.com)… 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443… connected.
HTTP request sent, awaiting response… 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/3533348/b080196a-9c51-11e8-9d1d-084d278dd30a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181015%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181015T174816Z&X-Amz-Expires=300&X-Amz-Signature=b586569f67d56aa9fd09ce3f8b0e2d95f2998dd258596458e1920478508eece2&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dilmbase-2.3.0.tar.gz&response-content-type=application%2Foctet-stream [following]
–2018-10-15 10:48:16-- https://github-production-release-asset-2e65be.s3.amazonaws.com/3533348/b080196a-9c51-11e8-9d1d-084d278dd30a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181015%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181015T174816Z&X-Amz-Expires=300&X-Amz-Signature=b586569f67d56aa9fd09ce3f8b0e2d95f2998dd258596458e1920478508eece2&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dilmbase-2.3.0.tar.gz&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)… 52.216.228.8
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.228.8|:443… connected.
HTTP request sent, awaiting response… 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

Unpacking ILMBase-2.3.0
– The C compiler identification is GNU 4.8.5
– The CXX compiler identification is GNU 4.8.5
– Check for working C compiler: /bin/cc
– Check for working C compiler: /bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: /bin/c++
– Check for working CXX compiler: /bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– Configuring done
– Generating done
CMake Warning:
Manually-specified variables were not used by the project:

BUILD_SHARED_LIBS
NAMESPACE_VERSIONING

– Build files have been written to: /root/src/blender-deps/ILMBase-2.3.0/build
Scanning dependencies of target eLut
Scanning dependencies of target toFloat
[ 25%] Building CXX object Half/CMakeFiles/eLut.dir/eLut.cpp.o
[ 50%] Building CXX object Half/CMakeFiles/toFloat.dir/toFloat.cpp.o
[ 75%] Linking CXX executable eLut
[100%] Linking CXX executable toFloat
[100%] Built target eLut
[100%] Built target toFloat
[ 50%] Built target toFloat
[100%] Built target eLut
Install the project…
– Install configuration: “Release”
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IlmBaseConfig.h
– Installing: /tmp/ilmbase-2.3.0/lib/pkgconfig/IlmBase.pc
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/half.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/halfFunction.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/halfExport.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/halfLimits.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexBaseExc.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexMathExc.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexThrowErrnoExc.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexErrnoExc.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexMacros.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/Iex.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexNamespace.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexExport.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexForward.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexMathFloatExc.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexMathFpu.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexMathIeeeExc.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathBoxAlgo.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathBox.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathColorAlgo.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathColor.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathEuler.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathExc.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathExport.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathForward.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathFrame.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathFrustum.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathFrustumTest.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathFun.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathGL.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathGLU.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathHalfLimits.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathInt64.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathInterval.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathLimits.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathLineAlgo.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathLine.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathMath.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathMatrixAlgo.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathMatrix.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathNamespace.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathPlane.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathPlatform.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathQuat.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathRandom.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathRoots.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathShear.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathSphere.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathVecAlgo.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathVec.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IlmThreadPool.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IlmThread.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IlmThreadSemaphore.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IlmThreadMutex.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IlmThreadNamespace.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IlmThreadExport.h
– Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IlmThreadForward.h
Done compiling ILMBase-2.3.0!

Building OpenEXR-2.3.0
Ensuring /opt/lib exists and is writable by us
– The C compiler identification is GNU 4.8.5
– The CXX compiler identification is GNU 4.8.5
– Check for working C compiler: /bin/cc
– Check for working C compiler: /bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: /bin/c++
– Check for working CXX compiler: /bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– Found ZLIB: /usr/lib64/libz.so (found version “1.2.7”)
– Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is at least version “2.7”)
CMake Warning at CMakeLists.txt:124 (message):
Make Python 2.7 available to CMake’s search path, and re-run configuration

CMake Error at CMakeLists.txt:125 (message):
Python is a required dependency when OPENEXR_BUILD_PYTHON_LIBS is set
– Configuring incomplete, errors occurred!
See also “/root/src/blender-deps/OpenEXR-2.3.0/build/CMakeFiles/CMakeOutput.log”.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `clean’. Stop.""

You could try running with --force-python and --force-numpy to ensure you have a recent enough Python version.

Or try the commands from earlier in this thread instead.

will try that. and I did run the commands from the earlier thread.

Thanks

did you have any of the deps pre installed. as I ran these and I get this error after the make deps

Configuring dependencies in “/STORAGE/blender-git/build_linux/deps”
– Build type not specified: defaulting to a release build.
BuildMode = Release
LIBDIR = /STORAGE/blender-git/build_linux/deps/Release
DOWNLOAD_DIR = OFF
PATCH_DIR = /STORAGE/blender-git/blender/build_files/build_environment/patches
BUILD_DIR = /STORAGE/blender-git/build_linux/deps/build
HARVEST_TARGET = /STORAGE/blender-git/lib/linux_x86_64
– Configuring done
– Generating done
– Build files have been written to: /STORAGE/blender-git/build_linux/deps

Building dependencies …
make -C “/STORAGE/blender-git/build_linux/deps” -s -j 16 install
[ 4%] Built target external_spnav
[ 4%] Built target external_sqlite
[ 7%] Built target external_zlib
[ 9%] Built target external_lzma
[ 11%] Built target external_clew
[ 13%] Built target external_tbb
[ 13%] Performing configure step for ‘external_jpeg’
[ 15%] Built target external_glew
[ 17%] Built target ll
[ 19%] Built target external_ilmbase
[ 21%] Built target external_glfw
[ 23%] Built target external_blosc
[ 23%] Performing download step (download, verify and extract) for ‘external_openal’
[ 25%] Built target external_boost
[ 27%] Built target external_cuew
– verifying file…
file=’/STORAGE/blender-git/build_linux/deps/build/openal/src/openal-soft-1.18.2.tar.bz2’
– MD5 hash of
/STORAGE/blender-git/build_linux/deps/build/openal/src/openal-soft-1.18.2.tar.bz2
does not match expected value
expected: ‘d4eeb0889812e2fdeaa1843523d76190’
actual: ‘d41d8cd98f00b204e9800998ecf8427e’
– File already exists but hash mismatch. Removing…
– Downloading…
dst=’/STORAGE/blender-git/build_linux/deps/build/openal/src/openal-soft-1.18.2.tar.bz2’
timeout=‘none’
– Using src=‘http://kcat.strangesoft.net/openal-releases/openal-soft-1.18.2.tar.bz2
[ 29%] Built target external_ogg
[ 33%] Built target external_faad
[ 33%] Built target external_ffi
[ 36%] Built target external_xvidcore
[ 37%] Built target external_lame
[ 45%] Built target external_ssl
[ 45%] Built target external_pugixml
[ 45%] Built target external_bzip2
[ 45%] Built target external_sdl
[ 47%] Built target external_fftw3
[ 49%] Built target external_freetype
[ 51%] Built target external_openjpeg
[ 57%] Built target external_openexr
[ 57%] Built target external_vorbis
[ 57%] Built target external_clang
[ 59%] Built target external_opensubdiv
[ 61%] Built target external_png
[ 62%] Built target external_tiff
[ 64%] Built target external_opencolorio
[ 66%] Built target external_python
[ 70%] Built target external_theora
[ 70%] Built target openvdb
[ 70%] Built target Make_Python_Environment
[ 71%] Built target external_alembic
[ 73%] Built target external_opencolorio_extra
[ 73%] Built target external_flac
[ 77%] Built target external_vpx
[ 77%] Built target external_flexbison
[ 79%] Built target external_python_site_packages
[ 80%] Built target external_numpy
[ 82%] Built target external_sndfile
[ 84%] Built target external_jemalloc
[ 86%] Built target external_xml2
[ 88%] Built target external_x264
[ 90%] Built target external_opencollada
[ 92%] Built target external_ffmpeg
autoreconf: Entering directory `.’
autoreconf: configure.ac: not using Gettext
– Retrying…
– Using src=‘http://kcat.strangesoft.net/openal-releases/openal-soft-1.18.2.tar.bz2
– Retry after 5 seconds (attempt #2) …
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:21: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
make[3]: *** [build/jpg/src/external_jpeg-stamp/external_jpeg-configure] Error 1
make[2]: *** [CMakeFiles/external_jpeg.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs…
– Using src=‘http://kcat.strangesoft.net/openal-releases/openal-soft-1.18.2.tar.bz2
– Retry after 5 seconds (attempt #3) …
– Using src=‘http://kcat.strangesoft.net/openal-releases/openal-soft-1.18.2.tar.bz2
– Retry after 15 seconds (attempt #4) …
– Using src=‘http://kcat.strangesoft.net/openal-releases/openal-soft-1.18.2.tar.bz2
– Retry after 60 seconds (attempt #5) …
– Using src=‘http://kcat.strangesoft.net/openal-releases/openal-soft-1.18.2.tar.bz2
CMake Error at external_openal-stamp/download-external_openal.cmake:159 (message):
Each download failed!

error: downloading 'http://kcat.strangesoft.net/openal-releases/openal-soft-1.18.2.tar.bz2' failed
     status_code: 52
     status_string: "Server returned nothing (no headers, no data)"
     log:
     --- LOG BEGIN ---
     About to connect() to kcat.strangesoft.net port 80 (#0)
Trying 198.54.117.200...

Connected to kcat.strangesoft.net (198.54.117.200) port 80 (#0)

GET /openal-releases/openal-soft-1.18.2.tar.bz2 HTTP/1.1

User-Agent: curl/7.29.0

Host: kcat.strangesoft.net

Accept: /

Empty reply from server

Connection #0 to host kcat.strangesoft.net left intact

     --- LOG END ---
     error: downloading 'http://kcat.strangesoft.net/openal-releases/openal-soft-1.18.2.tar.bz2' failed
     status_code: 52
     status_string: "Server returned nothing (no headers, no data)"
     log:
     --- LOG BEGIN ---
     About to connect() to kcat.strangesoft.net port 80 (#1)
Trying 198.54.117.200...

Connected to kcat.strangesoft.net (198.54.117.200) port 80 (#1)

GET /openal-releases/openal-soft-1.18.2.tar.bz2 HTTP/1.1

User-Agent: curl/7.29.0

Host: kcat.strangesoft.net

Accept: /

Empty reply from server

Connection #1 to host kcat.strangesoft.net left intact

     --- LOG END ---
     error: downloading 'http://kcat.strangesoft.net/openal-releases/openal-soft-1.18.2.tar.bz2' failed
     status_code: 52
     status_string: "Server returned nothing (no headers, no data)"
     log:
     --- LOG BEGIN ---
     About to connect() to kcat.strangesoft.net port 80 (#2)
Trying 198.54.117.200...

Connected to kcat.strangesoft.net (198.54.117.200) port 80 (#2)

GET /openal-releases/openal-soft-1.18.2.tar.bz2 HTTP/1.1

User-Agent: curl/7.29.0

Host: kcat.strangesoft.net

Accept: /

Empty reply from server

Connection #2 to host kcat.strangesoft.net left intact

     --- LOG END ---
     error: downloading 'http://kcat.strangesoft.net/openal-releases/openal-soft-1.18.2.tar.bz2' failed
     status_code: 52
     status_string: "Server returned nothing (no headers, no data)"
     log:
     --- LOG BEGIN ---
     About to connect() to kcat.strangesoft.net port 80 (#3)
Trying 198.54.117.200...

Connected to kcat.strangesoft.net (198.54.117.200) port 80 (#3)

GET /openal-releases/openal-soft-1.18.2.tar.bz2 HTTP/1.1

User-Agent: curl/7.29.0

Host: kcat.strangesoft.net

Accept: /

Empty reply from server

Connection #3 to host kcat.strangesoft.net left intact

     --- LOG END ---
     error: downloading 'http://kcat.strangesoft.net/openal-releases/openal-soft-1.18.2.tar.bz2' failed
     status_code: 52
     status_string: "Server returned nothing (no headers, no data)"
     log:
     --- LOG BEGIN ---
     About to connect() to kcat.strangesoft.net port 80 (#4)
Trying 198.54.117.200...

Connected to kcat.strangesoft.net (198.54.117.200) port 80 (#4)

GET /openal-releases/openal-soft-1.18.2.tar.bz2 HTTP/1.1

User-Agent: curl/7.29.0

Host: kcat.strangesoft.net

Accept: /

Empty reply from server

Connection #4 to host kcat.strangesoft.net left intact

     --- LOG END ---
     error: downloading 'http://kcat.strangesoft.net/openal-releases/openal-soft-1.18.2.tar.bz2' failed
     status_code: 52
     status_string: "Server returned nothing (no headers, no data)"
     log:
     --- LOG BEGIN ---
     About to connect() to kcat.strangesoft.net port 80 (#5)
Trying 198.54.117.200...

Connected to kcat.strangesoft.net (198.54.117.200) port 80 (#5)

GET /openal-releases/openal-soft-1.18.2.tar.bz2 HTTP/1.1

User-Agent: curl/7.29.0

Host: kcat.strangesoft.net

Accept: /

Empty reply from server

Connection #5 to host kcat.strangesoft.net left intact

     --- LOG END ---

make[3]: *** [build/openal/src/external_openal-stamp/external_openal-download] Error 1
make[2]: *** [CMakeFiles/external_openal.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [deps] Error 2

looks like the openal people moved some stuff around, we’ll have to update the build scripts for that, in the meantime try replacing the url in versions.cmake with http://openal-soft.org/openal-releases/openal-soft-1.19.1.tar.bz2

Thanks, now I get this error
– verifying file…
file=’/STORAGE/blender-git/build_linux/deps/build/openal/src/openal-soft-1.19.1.tar.bz2’
– MD5 hash of
/STORAGE/blender-git/build_linux/deps/build/openal/src/openal-soft-1.19.1.tar.bz2
does not match expected value
expected: ‘d4eeb0889812e2fdeaa1843523d76190’
actual: ‘af6f148c342276a51ea9c33ebd303f78’
– Hash mismatch, removing…
CMake Error at external_openal-stamp/download-external_openal.cmake:159 (message):
Each download failed!

replace the hash with the new one, should be just below the link you changed.

Thank you a lot for your help I have been struggling for a while with this now.

now it gives me this.
Configuring dependencies in “/STORAGE/blender-git/build_linux/deps”
– Build type not specified: defaulting to a release build.
BuildMode = Release
LIBDIR = /STORAGE/blender-git/build_linux/deps/Release
DOWNLOAD_DIR = OFF
PATCH_DIR = /STORAGE/blender-git/blender/build_files/build_environment/patches
BUILD_DIR = /STORAGE/blender-git/build_linux/deps/build
HARVEST_TARGET = /STORAGE/blender-git/lib/linux_x86_64
– Configuring done
– Generating done
– Build files have been written to: /STORAGE/blender-git/build_linux/deps

Building dependencies …
make -C “/STORAGE/blender-git/build_linux/deps” -s -j 16 install
[ 4%] Built target external_ssl
[ 5%] Built target external_lzma
[ 8%] Performing configure step for ‘external_jpeg’
[ 9%] Built target external_sqlite
[ 13%] Built target external_jemalloc
[ 13%] Built target external_bzip2
[ 13%] Built target external_zlib
[ 17%] Built target external_boost
[ 17%] Built target external_glfw
[ 22%] Built target external_sdl
[ 22%] Built target external_glew
[ 25%] Built target external_openjpeg
[ 25%] Built target external_ilmbase
[ 28%] Built target external_spnav
[ 29%] Built target ll
[ 29%] Performing patch step for ‘external_openal’
patching file CMakeLists.txt
Hunk #1 FAILED at 885.
1 out of 1 hunk FAILED – saving rejects to file CMakeLists.txt.rej
make[3]: *** [build/openal/src/external_openal-stamp/external_openal-patch] Error 1
make[2]: *** [CMakeFiles/external_openal.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs…
[ 34%] Built target external_xml2
[ 35%] Built target external_clew
[ 39%] Built target external_tbb
[ 39%] Built target external_ffi
[ 39%] Built target external_cuew
[ 41%] Built target external_blosc
[ 43%] Built target external_ogg
[ 45%] Built target external_x264
[ 47%] Built target external_lame
[ 51%] Built target external_faad
[ 51%] Built target external_vpx
[ 53%] Built target external_freetype
[ 55%] Built target external_flac
[ 57%] Built target external_xvidcore
autoreconf: Entering directory `.’
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:21: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
make[3]: *** [build/jpg/src/external_jpeg-stamp/external_jpeg-configure] Error 1
make[2]: *** [CMakeFiles/external_jpeg.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [deps] Error 2

you either have to fix the diff manually, or wait for us to do it, i’ll probably have time in the next couple of days

1 Like

I tried installing the libraries and the dependencies manually. but I faced a lot of conflicts as most of them were already installed and updated to the latest available in Centos repos. and updating things out of the supported repos sometimes is very messy. I will keep trying. and if you can update me here when you get the chance to fix this I will e very grateful.
Thanks a lot,
Ahmed

I fixed the open-al link in git just now, should be good to go.

Thanks, everything seemed to be going smooth during the make deps. but at the end it gave me this

[ 40%] Completed ‘ll’
[ 40%] Built target ll
make[1]: *** [all] Error 2
make: *** [deps] Error 2
is there a log for this where I can find what wen wrong

and I tried to make full but it ran these errors

Configuring Blender in “/STORAGE/blender-git/build_linux_full” …
loading initial cache file /STORAGE/blender-git/blender/build_files/cmake/config/blender_full.cmake
– The C compiler identification is GNU 4.8.5
– The CXX compiler identification is GNU 4.8.5
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– 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
– Performing Test SUPPORT_SSE_BUILD
– Performing Test SUPPORT_SSE_BUILD - Success
– SSE Support: detected.
– Performing Test SUPPORT_SSE2_BUILD
– Performing Test SUPPORT_SSE2_BUILD - Success
– SSE2 Support: detected.
– Found Git: /usr/bin/git (found version “1.8.3.1”)
– Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
– Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
– Looking for gethostbyname
– Looking for gethostbyname - found
– Looking for connect
– Looking for connect - found
– Looking for remove
– Looking for remove - found
– Looking for shmat
– Looking for shmat - found
– Found X11: /usr/lib64/libX11.so
– Found JPEG: /usr/lib64/libjpeg.so (found version “62”)
– Found ZLIB: /usr/lib64/libz.so (found version “1.2.7”)
– Found PNG: /usr/lib64/libpng.so (found version “1.5.13”)
– Found Freetype: /usr/lib64/libfreetype.so (found version “2.4.11”)
– Found PythonLibsUnix: /opt/lib/python-3.7/lib/libpython3.7m.a
– Could NOT find OpenEXR (missing: _openexr_LIBRARIES OPENEXR_INCLUDE_DIR)
– Found OpenJPEG: /usr/lib64/libopenjp2.so
– Found TIFF: /usr/lib64/libtiff.so (found version “4.0.3”)
– Found OpenAL: /usr/lib64/libopenal.so
– Found SDL2: /usr/lib64/libSDL2.so
– Found Jack: /usr/lib64/libjack.so
– Found SndFile: /usr/lib64/libsndfile.so
– Found Fftw3: /usr/lib64/libfftw3.so
– Could NOT find OpenCOLLADA (missing: _opencollada_LIBRARIES _opencollada_INCLUDES)
– Found JeMalloc: /usr/lib64/libjemalloc.so
– Could NOT find Spacenav (missing: SPACENAV_LIBRARY SPACENAV_INCLUDE_DIR)
– Could NOT find OSL (missing: _osl_LIBRARIES OSL_INCLUDE_DIR)
– OSL not found, disabling it from Cycles
– Could NOT find OPENVDB (missing: OPENVDB_LIBRARY OPENVDB_INCLUDE_DIR)
– Found TBB: /usr/lib64/libtbb.so
– Could NOT find BLOSC (missing: BLOSC_LIBRARY BLOSC_INCLUDE_DIR)
– OpenVDB not found, disabling it
– Could NOT find ALEMBIC (missing: ALEMBIC_LIBRARY ALEMBIC_INCLUDE_DIR)
– Looking for pthread.h
– Looking for pthread.h - found
– Looking for pthread_create
– Looking for pthread_create - not found
– Looking for pthread_create in pthreads
– Looking for pthread_create in pthreads - not found
– Looking for pthread_create in pthread
– Looking for pthread_create in pthread - found
– Found Threads: TRUE
– Boost version: 1.53.0
– Found the following Boost libraries:
– filesystem
– regex
– thread
– date_time
– locale
– system
– chrono
– atomic
– Could NOT find OpenImageIO (missing: OPENIMAGEIO_LIBRARY OPENIMAGEIO_INCLUDE_DIR)
– OpenImageIO not found, disabling WITH_CYCLES
– Found OpenColorIO: /opt/lib/ocio/lib/static/libOpenColorIO.a;/opt/lib/ocio/lib/libyaml-cpp.a;/opt/lib/ocio/lib/libtinyxml.a
– Could NOT find LLVM (missing: LLVM_LIBRARY)
– LLVM not found
– Could NOT find OpenSubdiv (missing: _opensubdiv_LIBRARIES OPENSUBDIV_INCLUDE_DIR)
– OpenSubdiv not found
CMake Error at CMakeLists.txt:943 (message):
Cycles requires WITH_OPENIMAGEIO, the library may not have been found.
Configure OIIO or disable WITH_CYCLES

– Configuring incomplete, errors occurred!
See also “/STORAGE/blender-git/build_linux_full/CMakeFiles/CMakeOutput.log”.
See also “/STORAGE/blender-git/build_linux_full/CMakeFiles/CMakeError.log”.
make: *** [all] Error 1

OK, So I have been struggling with this for weeks now with no luck. obviously building blender on Centos is beyond my technical capabilities. the question now should I just abandon ship and jump and leave Centos for another distro? or is it something that will be addressed during beta and release candidates? will we have binaries for RHEL and Centos?

Hi @AhmedBarakat , sorry to see you are having issues.
In the past few days I had issues as well building through the docker, but was only due to some dependency issues. Yesterday night built just fine (cheers devs :slight_smile: )

The benefit of using docker (to me) is that you don’t end up polluting your system for one off built.
now to go back to the @mon docker…

first off ensure you have docker installed running :

docker pull hello-world

if everything is fine then run :

docker run mattiasohlsson/centos-blender-2.8-builder

This should pull and run the build image.

You can then extract the result build with :

  docker cp <your result docker name>:/blender-2.80.0-git20180925.df5cb4d-x86_64.tar.gz ./

hope it helps.
L.

Hi Lorenzo, I appreciate your help and taking the time to put this guide for me.
my problem with the docker was that it filled up my root during the pulling and building. and with no luck I tried moving it’s default folder to my secondary drive I followed 3 different guides I found and non worked.
I guess I will try that again and see.

Thanks again for your support.
Ahmed

@AhmedBarakat, pleasure :slight_smile:
if you have issues with docker space, try running this command:

docker stop $(docker container ls -a -q) && docker system prune -a -f --volumes

please note, this command will cleanup any docker thingy you have around, so be careful.
Let me know how it goes.

I struggled a lot with this with no luck. and I messed up my system with all the libraries I was trying to install. and I discovered I lost too much time over this. so one day I decided to just re-install a fresh system and while I was at it I just decided to switch to Ubuntu. few days into Ubuntu, definitely I miss how solid and stable Centos was. but Ubuntu is more user friendly for sure. apt is a joke compared to yum for me. but will see how it goes. important thing I managed to get all my apps to run and I can download the 2.8 builds again.
Thanks for your help.
Ahmed