Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2013-05-26 19:00:42 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2013-05-26 19:00:42 +0400
commitd3f9fb677b2b434432fee6a5ed75baa2ccb77ab3 (patch)
tree7480d040c3c6c26a704384a04791c3c8a052de50 /build_files
parent5e347c4f71bf220bb735e8f9b9b965ce8644d77c (diff)
Various fixes. Tested with OpenSuse 12.3 (amd64).
Diffstat (limited to 'build_files')
-rwxr-xr-xbuild_files/build_environment/install_deps.sh26
1 files changed, 14 insertions, 12 deletions
diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh
index 8cd72b750d0..95861e35783 100755
--- a/build_files/build_environment/install_deps.sh
+++ b/build_files/build_environment/install_deps.sh
@@ -730,15 +730,15 @@ compile_Boost() {
magic_compile_set boost-$BOOST_VERSION $boost_magic
- # Just always run it, much simpler this way!
- _need_boost_ldconfig=true
-
cd $CWD
INFO "Done compiling Boost-$BOOST_VERSION!"
else
INFO "Own Boost-$BOOST_VERSION is up to date, nothing to do!"
INFO "If you want to force rebuild of this lib, use the --force-boost option."
fi
+
+ # Just always run it, much simpler this way!
+ _need_boost_ldconfig=true
}
#### Build OCIO ####
@@ -1392,15 +1392,15 @@ EOF
magic_compile_set oiio-$OIIO_VERSION $oiio_magic
- # Just always run it, much simpler this way!
- _need_oiio_ldconfig=true
-
cd $CWD
INFO "Done compiling OpenImageIO-$OIIO_VERSION!"
else
INFO "Own OpenImageIO-$OIIO_VERSION is up to date, nothing to do!"
INFO "If you want to force rebuild of this lib, use the --force-oiio option."
fi
+
+ # Just always run it, much simpler this way!
+ _need_oiio_ldconfig=true
}
#### Build LLVM ####
@@ -2894,7 +2894,9 @@ print_info() {
INFO ""
INFO "****WARNING****"
INFO "If you are experiencing issues building Blender, _*TRY A FRESH, CLEAN BUILD FIRST*_!"
- INFO "Often, changes in the libs built by this script, or in your distro package, cannot simply be handled simply, so..."
+ INFO "The same goes for install_deps itself, if you encounter issues, please first erase everything in $SRC and $INST"
+ INFO "(provided obviously you did not add anything yourself in those dirs!), and run install_deps.sh again!"
+ INFO "Often, changes in the libs built by this script, or in your distro package, cannot be handled simply, so..."
INFO ""
INFO ""
INFO "If you're using CMake add this to your configuration flags:"
@@ -3074,13 +3076,13 @@ fi
INFO ""
INFO "Running ldconfig..."
-if [ _need_boost_ldconfig == true ]; then
- sudo sh -c 'echo "$INST/boost/lib" > /etc/ld.so.conf.d/boost.conf'
+if [ $_need_boost_ldconfig == true ]; then
+ sudo sh -c "echo \"$INST/boost/lib\" > /etc/ld.so.conf.d/boost.conf"
fi
-if [ _need_oiio_ldconfig == true ]; then
- sudo sh -c 'echo "$INST/oiio/lib" > /etc/ld.so.conf.d/oiio.conf'
+if [ $_need_oiio_ldconfig == true ]; then
+ sudo sh -c "echo \"$INST/oiio/lib\" > /etc/ld.so.conf.d/oiio.conf"
fi
-sudo ldconfig
+sudo /sbin/ldconfig # XXX OpenSuse does not include sbin in command path with sudo!!!
INFO ""
print_info | tee BUILD_NOTES.txt