Installing kdenlive: The continuing saga.

Steve Morris steve at
Wed Apr 28 22:56:07 PDT 2010

Ryan. I did not mean to complain about the Macports work. I think it
is a tremendous thing. I realize that I just happen to want something
obscure that doesn't get touched often so it gets rusty. I am amazed
that so much does work. It is just that I am getting pretty fried.
I've put a lot of time into this. I'm a bit old to be up in the wee
hours like this.

What am I supposed to do to apply the latest Portfile patch? I did the
update sequence again (port selfupdate; port upgrade outdated; port
clean mlt; port install mlt) and got the same error in have_mmx.S. I
checked the build area and --disable-mmx is not shown in
configfile.log. I didn't understand how to translate the Portfile diff
(where do Portfiles live?) so I wasn't sure whether the change
intended to take it out or put it in. Just to test I manually reran
configure with --disable-mmx added and got a different failure:

ltDeque.o MltEvent.o MltFactory.o MltField.o MltFilter.o
MltFilteredConsumer.o MltFilteredProducer.o MltFrame.o MltGeometry.o
MltMultitrack.o MltParser.o MltPlaylist.o MltProducer.o MltProfile.o
MltProperties.o MltPushConsumer.o MltRepository.o MltService.o
MltTokeniser.o MltTractor.o MltTransition.o  -L../framework -lmlt
ln -sf libmlt++.0.5.2.dylib libmlt++.dylib
ln -sf libmlt++.0.5.2.dylib libmlt++.3.dylib
cc -Wall -fPIC -DPIC   -O2 -pipe -fomit-frame-pointer   -DUSE_SSE2 -g
-DVERSION=\"0.5.2\"   -c -o melt.o melt.c
melt.c:33:17: error: SDL.h: No such file or directory
melt.c: In function ‘event_handling’:
melt.c:181: error: ‘SDL_Event’ undeclared (first use in this function)
melt.c:181: error: (Each undeclared identifier is reported only once
melt.c:181: error: for each function it appears in.)
melt.c:181: error: expected ‘;’ before ‘event’
melt.c:183: warning: implicit declaration of function ‘SDL_PollEvent’
melt.c:183: error: ‘event’ undeclared (first use in this function)
melt.c:187: error: ‘SDL_QUIT’ undeclared (first use in this function)
melt.c:191: error: ‘SDL_KEYDOWN’ undeclared (first use in this function)
make[1]: *** [melt.o] Error 1
make: *** [all] Error 1

On Wed, Apr 28, 2010 at 11:37 PM, Ryan Schmidt <ryandesign at> wrote:
> On Apr 28, 2010, at 19:17, Steve Morris wrote:
>> I am trying to install kdenlive and have had a series of of problems
>> with installing its many dependencies. Currently mlt is dead. I filed
>> ticket #24698 against that and hopefully it will get fixed someday.
> I believe you're seeing this because your machine has an Intel Core (and not an Intel Core 2) processor. I'll add a note to the ticket with some more ideas.
>> In
>> the process of debugging the most recent problems Ryan mentioned that
>> he had sucesssfully built kdenlive against revision r64072 of
>> macports.
> I also said that I was able to build kdenlive with the current version of our ports.
>> Since I have used subversion I decided to give that a shot.
>> I couldn't find the exact instructions but simply followed the wiki
>> instructions for installing fron the repository and eventually ran
>> % svn co -r 64072 .
>> ... lots of stuff deleted ...
>> A    devel/caml-json-static/Portfile
>> A    devel/vxl
>> A    devel/vxl/files
>> svn: Can't convert string from 'UTF-8' to native encoding:
>> svn: devel/vxl/files/patch-v3p?\226?\152?\131mpeg2?\226?\152?\131libmpeg2?\226?\152?\131idct_altivec.c
> In general, the solution to that Subversion error message is to set the LANG environment variable properly in your terminal.
> However, in this instance, the vxl patchfiles were named ludicrously and I've fixed that in r67097.
>> I'm stumped. Any suggestions would be appreciated. How to fix mlt? How
>> to get svn to download macports sources on my machine? Anything?
> You can try again now that I've renamed the patchfiles, but I don't believe it will help because I believe the error you describe in #24698 is specific to i386 machines and my machine is x86_64.
>> Actually the kindest thing you could do is tell me that I will never
>> be able to install and use kdenlive on my mac so I could just give up
>> and do something else with my life. This is too much like torture. I
>> just want to edit a little video.
> If you want to give up, I won't stop you. I can tell you that parts of MacPorts are broken. Certain ports won't install. We are not perfect. If you can live with that and want to proceed and help us improve the parts that don't work, let's continue.

More information about the macports-users mailing list