Thanks ! Iβll stick though to 6.3.1 as is the one I really need after all
@lorenzoangeli, nice work!
The docker image that I have created is simple in comparison. However, it works well
docker create --name blender-builder --storage-opt size=20G mattiasohlsson/centos-blender-2.8-builder
docker start blender-builder
docker logs --follow blender-builder
[...]
CPack3: - package: //blender-2.80.0-git20180925.df5cb4d-x86_64.tar.gz generated.
Use docker cp to copy the package:
docker cp e35f0ac063c6:/blender-2.80.0-git20180925.df5cb4d-x86_64.tar.gz ./
Repeat docker start blender-builder
and docker logs --follow blender-builder
to rebuild.
https://hub.docker.com/r/mattiasohlsson/centos-blender-2.8-builder/
Source: https://github.com/mattias-ohlsson/docker-centos-blender-2.8-builder
Hi Mon, I can see Iβm not the only one which found himself in trouble with the latest builds.
Although the docker are slightly different seems we are getting to the same point
My approach is due to the fact that later on I want/need to change how dependencies are built, and wanted to keep that separated from the actual blender build. Also wanted to ensure that ALL is built against the correct gcc version (6.3.1 in this case), and therefore wanted to have it as base container .
That said, there are some interesting things in how you did it, that Iβll definitely steal for good β¦
(eg: I was wondering how cpack had to setup in order to properly package the result build ;))
Iβll keep this post up to date with any finds , so we can improve our lovely builds
thanks for sharing your results !
L.
@lorenzoangeli thank you guys for the Dockers, I am new to Docker and struggling a bit to find a way to make the docker pull everything to another drive as it fell my main drive completely and also to where to find the built package and how to pull it out of it. if you can point me in any direction as I am a bit struggling with their documentation.
Thanks for you time and effort
Hi @AhmedBarakat , I would suggest to have a look at the @mon docker as it is simpler to use and already includes the instructions in the post
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:
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 :).
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
- base: mirror.hostduplex.com
- elrepo: repos.dfw.lax-noc.com
- epel: d2lzkl7pfhq30w.cloudfront.net
- extras: sjc.edge.kernel.org
- nux-dextop: mirror.li.nux.ro
- rpmfusion-nonfree-updates: mirror.math.princeton.edu
- updates: mirror.keystealth.org
Package boost-devel-1.53.0-27.el7.x86_64 already installed and latest version
Nothing to do
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
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