You are not logged in.

#1 2010-05-11 20:34:21

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Error Builind Blender From AUR

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

#2 2010-05-12 01:56:22

cerulean
Member
Registered: 2010-05-12
Posts: 1

Re: Error Builind Blender From AUR

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

#3 2010-05-12 12:42:48

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Error Builind Blender From AUR

I'll try that and report back when I get a few minutes. Thanks!


Matt

"It is very difficult to educate the educated."

Offline

#4 2010-05-12 12:56:41

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Error Builind Blender From AUR

It seems to be working with the added line. Thanks!


Matt

"It is very difficult to educate the educated."

Offline

#5 2010-05-15 10:24:00

DREMA
Member
From: México
Registered: 2009-03-09
Posts: 15

Re: Error Builind Blender From AUR

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! big_smile

Offline

#6 2010-05-15 20:30:33

maxi_jac
Member
From: France
Registered: 2008-08-02
Posts: 72

Re: Error Builind Blender From AUR

Downgrading ffmpeg also fixes the build.

Offline

Board footer

Powered by FluxBB