On Tue, Sep 1, 2009 at 7:12 PM, john malkovich<[email protected]> wrote:
> Ok. I was able to build mlt and kdenlive successfully from the HEAD branch.
>
> However, when I try to open kdenlive.app I am running into this problem:
>
> jhnmlkvchmac:/opt/local/bin/kdenlive.app/Contents/MacOS jhnmlkvchl$ sudo
> ./kdenlive

Is there a particular reason you are running with sudo?

> Error: "/var/tmp/kdecache-jhnmlkvch" is owned by uid 501 instead of uid 0.
> Error: "/tmp/kde-jhnmlkvch" is owned by uid 501 instead of uid 0.
> Error: "/tmp/kde-jhnmlkvch" is owned by uid 501 instead of uid 0.
> Bus error

This might be a side effect of using sudo, but you could try deleting
those after failing and then try running again.

> simply executing ./kdenlive dies with a Bus error

The proper way to run it is with 'open -a kdenlive'.
You probably need to also run 'open -a kdeinit4' after every reboot -
not strictly necessary, but some functions like file dialogs will not
work with it. If kdenlive.app and kdeinit4.app are not in your path,
then you can pass the full path to the .apps in the open command. On
my MacPorts install, the .apps are installed to /opt/local/bin, which
I have added to my PATH in ~/.profile.

> Never had this problem with any other X app. Not sure if this is a problem
> with my setup...

It is not an X11 app if you mean X11 by 'X'. It is a native app.

>
> On Tue, Sep 1, 2009 at 1:39 AM, Dan Dennedy <[email protected]> wrote:
>>
>> On Mon, Aug 31, 2009 at 9:37 PM, john malkovich<[email protected]>
>> wrote:
>> > I fetched mlt from HEAD branch.
>> >
>> > sudo port -d install fails with the following error:
>> >
>> > ================
>> >
>> > cc -O2 -I/opt/local/include -I/opt/local/libexec/qt4-mac/include -Wall
>> > -fPIC
>> > -DPIC   -O2 -pipe -fomit-frame-pointer -DUSE_MMX -DUSE_SSE -g
>> > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__DARWIN__
>> > -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -Wall -fPIC
>> > -DPIC
>> > -O2 -pipe -fomit-frame-pointer -DUSE_MMX -DUSE_SSE -g
>> > -D_FILE_OFFSET_BITS=64
>> > -D_LARGEFILE_SOURCE -D__DARWIN__ -I/opt/local/include/SDL
>> > -D_GNU_SOURCE=1
>> > -D_THREAD_SAFE -I../.. -Wall -fPIC -DPIC   -O2 -pipe
>> > -fomit-frame-pointer
>> > -DUSE_MMX -DUSE_SSE -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
>> > -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
>> > -I/opt/local/include    -I/opt/local/include/libavformat
>> > -I/opt/local/include/libavcodec -I/opt/local/include/libswscale
>> > -DFILTERS
>> > -DCODECS -DSWSCALE   -c -o producer_avformat.o producer_avformat.c
>> > cc -O2 -I/opt/local/include -I/opt/local/libexec/qt4-mac/include -Wall
>> > -fPIC
>> > -DPIC   -O2 -pipe -fomit-frame-pointer -DUSE_MMX -DUSE_SSE -g
>> > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__DARWIN__
>> > -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -Wall -fPIC
>> > -DPIC
>> > -O2 -pipe -fomit-frame-pointer -DUSE_MMX -DUSE_SSE -g
>> > -D_FILE_OFFSET_BITS=64
>> > -D_LARGEFILE_SOURCE -D__DARWIN__ -I/opt/local/include/SDL
>> > -D_GNU_SOURCE=1
>> > -D_THREAD_SAFE -I../.. -Wall -fPIC -DPIC   -O2 -pipe
>> > -fomit-frame-pointer
>> > -DUSE_MMX -DUSE_SSE -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
>> > -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
>> > -I/opt/local/include    -I/opt/local/include/libavformat
>> > -I/opt/local/include/libavcodec -I/opt/local/include/libswscale
>> > -DFILTERS
>> > -DCODECS -DSWSCALE   -c -o consumer_avformat.o consumer_avformat.c
>> > cc -dynamiclib -o ../libmltavformat.dylib factory.o
>> > filter_avcolour_space.o
>> > filter_avresample.o filter_avdeinterlace.o filter_swscale.o
>> > producer_avformat.o consumer_avformat.o -L/opt/local/lib
>> > -L/opt/local/lib
>> > -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -L/opt/local/lib
>> > -lSDLmain -lSDL -Wl,-framework,Cocoa -L../../framework -lmlt -lpthread
>> > -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -L/opt/local/lib
>> > -lavformat -lavcodec -lz -lbz2 -ldirac_decoder -ldirac_encoder -lfaac
>> > -lfaad
>> > -lmp3lame -lschroedinger-1.0 -lpthread -loil-0.3 -ltheora -lvorbisenc
>> > -lvorbis -logg -lx264 -lm -lxvidcore -lavutil   -lavformat -lavcodec
>> > -lavutil -lavdevice  -lswscale
>> > ld: Undefined symbols:
>> > _mlt_image_format_name
>> > _mlt_frame_set_audio
>> > /usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit
>> > command failed
>> > make[2]: *** [../libmltavformat.dylib] Error 1
>> > make[1]: *** [all] Error 1
>> > make: *** [all] Error 1
>>
>> I have seen this when passing additional include paths to make via
>> CFLAGS env var. Indeed, the Portfile is doing that. When that happens,
>> the CFLAGS include path gets searched before the local include path.
>> There is an API change in the framework, and this module is picking up
>> the previously installed MLT headers before the local ones from the
>> tree you are building. I will try to fix this, but in the meantime,
>> you ought to be able to move on by uninstalling mlt first. Thank you
>> for trying.
>>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Kdenlive-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel

Reply via email to