mediainfo fails to compile [solved]

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
ibka
Posts: 159
Joined: 12. Sep 2010, 13:14
Location: Sweden
Contact:

mediainfo fails to compile [solved]

Post by ibka »

Hi

I try to install mediainfo in 14.1 XFCE edition and openbox beta1 with spi but it fails with:

Code: Select all

../../../Source/Common/Core.cpp: In member function 'MediaInfoLib::String Core::StreamName(MediaInfoLib::stream_t)':
../../../Source/Common/Core.cpp:391:10: error: 'Stream_Chapters' was not declared in this scope
     case Stream_Chapters: return __T("Chapters");
          ^
make: *** [Core.o] Error 1
fakeroot -- sh mediainfo.SlackBuild Failed
libmediainfo and libzen is installed.
Any idea what it could be?
it was no problem to install it in 14.0
Last edited by ibka on 23. May 2014, 17:09, edited 1 time in total.
Image
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: mediainfo fails to compile

Post by laprjns »

Fails here will same error. Looks like there is a bug in the source package. The latest mediainfo version 0.7.69 does however builds and runs here. Do the following:

Code: Select all

 # VERSION=0.7.69 slapt-src -i mediainfo-gui
If it fails to download the source (as it did for me) you can manually download the source and but in in the slackbuild build directory:

Code: Select all

cd /usr/src/slapt-src/multimedia/mediainfo-gui/
root[mediainfo-gui]# wget http://mediaarea.net/download/source/mediainfo/0.7.69/mediainfo_0.7.69.tar.bz2
Then rerun the slapt-src command

Code: Select all

root[mediainfo-gui]# VERSION=0.7.69 slapt-src -i mediainfo-gui
Note that I have built mediainfo-gui, as it provides a gui interface to mediainfo. Both mediainfo and mediainfo-gui slackbuilds use the same source so you can build either package using the method I described above, just makesure that the 0.7.69 source package is in the correct build directory
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
ibka
Posts: 159
Joined: 12. Sep 2010, 13:14
Location: Sweden
Contact:

Re: mediainfo fails to compile

Post by ibka »

Thanks!
Well i build 0.7.69 with my own SLKBUILD instead, and now i can put it in my own local repository.
This way i don't need to build it on every computer i want use it on.
Image
Post Reply