trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: October 2014

Re: [trinity-devel] Libmagic patches

From: Michele Calgaro <michele.calgaro@...>
Date: Wed, 08 Oct 2014 17:48:47 +0900
On 10/08/2014 04:57 AM, François Andriot wrote:
> Le 01/10/2014 22:53, Darrell a écrit :
>> On Wed October 1 2014 2:56:14 pm François Andriot wrote:
>>> It's probably broken already.
>>> FTBFS in current tdebase:
>> There you go. :) I'll find other things to do for a few days.
>>
>> Darrell
>>
>>
>
> Hello,
> New FTBFS in tdelibs today:
>
>    656s]
> /home/abuild/rpmbuild/BUILD/trinity-tdelibs-14.0.0/tdeio/tdeio/kmimemagic.cpp:
> In member function 'bool KMimeMagic::mergeConfig(const TQString&)':
> [  656s]
> /home/abuild/rpmbuild/BUILD/trinity-tdelibs-14.0.0/tdeio/tdeio/kmimemagic.cpp:254:32:
> error: 'magic_version' was not declared in this scope
> [  656s] make[2]: ***
> [tdeio/tdeio/CMakeFiles/tdeiocore-static.dir/kmimemagic.cpp.o] Error 1
>
>
> It looks like many distributions ship with a libmagic that do NOT have
> the "magic_version()" function...
>

No problem in Debian/Jessie today. You may need to install libmagic-dev 
to build (I had a similar problem a few days ago when libmagic-dev 
wasn't in the list of dependencies.

Cheers
   Michele