You are not logged in.
I am trying to build Blender from the AUR using this package:
http://aur.archlinux.org/packages.php?ID=13062
I build it once or twice a month usually. I am getting an error this time, and it seems to have something to do with ffmpeg.
In file included from /usr/include/libavutil/avutil.h:81:0,
from /usr/include/libavcodec/avcodec.h:30,
from /usr/include/libavformat/avformat.h:56,
from intern/audaspace/ffmpeg/AUD_FFMPEGReader.h:36,
from intern/audaspace/intern/AUD_FileFactory.cpp:32:
/usr/include/libavutil/common.h: In function 'int32_t av_clipl_int32(int64_t)':
/usr/include/libavutil/common.h:154:47: error: 'UINT64_C' was not declared in this scope
scons: *** [/var/abs/local/blender-svn-backup/src/build/linux2/intern/audaspace/intern/AUD_FileFactory.o] Error 1
scons: building terminated because of errors.
I checked on ffmpeg's site and it says that as of May 3rd, 2010, this bug was fixed in revision r311. The Arch version was updated via pacman on May 9th, 2010. It is my assumption that this update is in there. Does anyone else have problems building this package?
Matt
"It is very difficult to educate the educated."
Offline
While the issue gets resolved you can try changing the _CXXFLAGS lines from:
_CFLAGS=`echo $CFLAGS | sed -e "s/\ -O.//" -e "s/^/'/" -e "s/\ /','/g" -e "s/$/'/"`
_CXXFLAGS=`echo $CXXFLAGS | sed -e "s/\ -O.//" -e "s/^/'/" -e "s/\ /','/g" -e "s/$/'/"`
to:
_CFLAGS=`echo $CFLAGS | sed -e "s/\ -O.//" -e "s/^/'/" -e "s/\ /','/g" -e "s/$/'/"`
_CXXFLAGS=`echo $CXXFLAGS | sed -e "s/\ -O.//" -e "s/^/'/" -e "s/\ /','/g" -e "s/$/'/"`
_CXXFLAGS="`echo $_CXXFLAGS` , '-D__STDC_CONSTANT_MACROS'"
in the blender-svn PKGBUILD
Offline
I'll try that and report back when I get a few minutes. Thanks!
Matt
"It is very difficult to educate the educated."
Offline
It seems to be working with the added line. Thanks!
Matt
"It is very difficult to educate the educated."
Offline
I'm getting this error trying to compile another package (zoneminder) could I use that lines on the PKGBUILD to fix it? Where they should go?
Thanks
Last edited by DREMA (2010-05-15 10:25:34)
Just... enjoy life!
Offline
Downgrading ffmpeg also fixes the build.
Offline