a simple shell script to check out cvs and build yafray
yafray-cvs.sh:
---------------------------------------snip---------------------
Files/yafray-cvs.txt
---------------------------------------snip---------------------
Howto:
copy paste the script to a file called 'yafray-cvs.sh' in your homedirectory.
do a 'chmod +x ./yafray-cvs.sh
start the script the first time. it will download cvs sources and libraries now. for password press enter.
now it takes some time to download and the first build.
after you checked out and build the first time you have all neded libraries installed.
we do a fix up now: go to your ~/src/yafray-src/yafray dir, and open linux-settings.py
look for the following lines:
def get_cxxflags(args):
debug=args.get('debug',0)
flags='-Wall -DHAVE_CONFIG_H -D_PTHREADS'
and change 'flags' to :
flags='-DHAVE_CONFIG_H -D_PTHREADS -arch=i686'
(with -Wall removed and -arch=i686 added)
for all non-i686 users, set i686 to whatever 'uname -m' says :)
...now, run the script again. this will be much faster now, and yafray will be built again and installed.
go on compile blender...
build blender and yafray from cvs
build yafray from cvs
build blender from cvs