Various fixes. Tested with OpenSuse 12.3 (amd64).

This commit is contained in:
Bastien Montagne 2013-05-26 15:00:42 +00:00
parent 5e347c4f71
commit d3f9fb677b

@ -730,15 +730,15 @@ compile_Boost() {
magic_compile_set boost-$BOOST_VERSION $boost_magic magic_compile_set boost-$BOOST_VERSION $boost_magic
# Just always run it, much simpler this way!
_need_boost_ldconfig=true
cd $CWD cd $CWD
INFO "Done compiling Boost-$BOOST_VERSION!" INFO "Done compiling Boost-$BOOST_VERSION!"
else else
INFO "Own Boost-$BOOST_VERSION is up to date, nothing to do!" 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." INFO "If you want to force rebuild of this lib, use the --force-boost option."
fi fi
# Just always run it, much simpler this way!
_need_boost_ldconfig=true
} }
#### Build OCIO #### #### Build OCIO ####
@ -1392,15 +1392,15 @@ EOF
magic_compile_set oiio-$OIIO_VERSION $oiio_magic magic_compile_set oiio-$OIIO_VERSION $oiio_magic
# Just always run it, much simpler this way!
_need_oiio_ldconfig=true
cd $CWD cd $CWD
INFO "Done compiling OpenImageIO-$OIIO_VERSION!" INFO "Done compiling OpenImageIO-$OIIO_VERSION!"
else else
INFO "Own OpenImageIO-$OIIO_VERSION is up to date, nothing to do!" 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." INFO "If you want to force rebuild of this lib, use the --force-oiio option."
fi fi
# Just always run it, much simpler this way!
_need_oiio_ldconfig=true
} }
#### Build LLVM #### #### Build LLVM ####
@ -2894,7 +2894,9 @@ print_info() {
INFO "" INFO ""
INFO "****WARNING****" INFO "****WARNING****"
INFO "If you are experiencing issues building Blender, _*TRY A FRESH, CLEAN BUILD FIRST*_!" 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 "" INFO ""
INFO "If you're using CMake add this to your configuration flags:" INFO "If you're using CMake add this to your configuration flags:"
@ -3074,13 +3076,13 @@ fi
INFO "" INFO ""
INFO "Running ldconfig..." INFO "Running ldconfig..."
if [ _need_boost_ldconfig == true ]; then if [ $_need_boost_ldconfig == true ]; then
sudo sh -c 'echo "$INST/boost/lib" > /etc/ld.so.conf.d/boost.conf' sudo sh -c "echo \"$INST/boost/lib\" > /etc/ld.so.conf.d/boost.conf"
fi fi
if [ _need_oiio_ldconfig == true ]; then if [ $_need_oiio_ldconfig == true ]; then
sudo sh -c 'echo "$INST/oiio/lib" > /etc/ld.so.conf.d/oiio.conf' sudo sh -c "echo \"$INST/oiio/lib\" > /etc/ld.so.conf.d/oiio.conf"
fi fi
sudo ldconfig sudo /sbin/ldconfig # XXX OpenSuse does not include sbin in command path with sudo!!!
INFO "" INFO ""
print_info | tee BUILD_NOTES.txt print_info | tee BUILD_NOTES.txt