Hello,
The software looks very promising, and I'm very happy you folks took the time to put this together. So a very big thank you to all who contribute to this project before I even begin. I'm very excited that there are going to be some candidates for open source video editing to compare to the "big boys".
Been looking over the forums and doing some searching, and haven't quite found anything that really matches what I'm getting - so I'm starting a new topic. I just discovered and started trying to install Kdenlive about two days ago. I'm having a problem with the installation that I haven't quite been able to figure out.
As background information: I just installed macports from scratch the other day, version 1.9.1 base. I did an immediate selfupdate to make sure I had the latest codebase. Then I started the kdenlive install. Using MacOSX 10.6.4 (Snow Leopard), MacPro 2x3GHz Dual-Core Xeon (Intel), 6GB Memory, up-to-date Xcode (3.2.4) developer tools, and Java SDK (fresh updated when I started this process as well). Running XQuartz for X11 (XQuartz up-to-date and freshly reinstalled, 2.5.3 - X11 up-to-date also, 2.3.5).
Issue I have is that when I run the port install command for kdenlive, it runs through and installs all the dependencies (expected), then when it gets to the actual kdenlive package I get an error stating that it cannot find an active phonon install. It suggests that I install qt4-mac with support for it. Looking at the installed dependences, it appears that phonon is installed, as is qt4-mac.
I've tried uninstalling/reinstalling both ports (phonon and qt4-mac) as well as starting the dbus-session items using launchctl. I unload these items before any updates/reinstalls, then re-load them after. I've set the appropriate permissions on the ~/Library/Preferences/KDE directory (ownership for my user, recursive) as indicated in the text that comes up during install as well. I've tried doing more selfupdates and cleaning then upgrading the ports that were outdated. I've tried completely removing macports and all associated files from my system and starting the process from scratch a couple times too.
Each time, everything goes very smoothly until the same point - where I get the same error about phonon not being installed/available. Several of the dependencies have been updated a few times over the past three days (some of the KDE base library stuff too), but obviously this is a very common thing to have the files updated. None of the updates seem to have made anything any better or any worse. The error is as follows (dependencies already installed at the time of this attempt, but always the same error):
$ sudo port install kdenlive
---> Computing dependencies for kdenlive
---> Fetching kdenlive
---> Verifying checksum(s) for kdenlive
---> Extracting kdenlive
---> Applying patches to kdenlive
Error: ######################################################
Error: A copy of phonon could not be found. Please install
Error: qt4-mac to provide this. If you have already done this
Error: your Qt installation is missing the phonon backend.
Error: Please reinstall Qt4 with phonon support.
Error: ######################################################
---> Configuring kdenlive
Error: Target org.macports.configure returned: configure failure: shell command failed
Log for kdenlive is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_kdenlive/main.log
Error: Status 1 encountered during processing.
To report a bug, see
Here's the relevant section of the logfile (really no errors or other oddities prior to this section):
:debug:main Executing org.macports.main (kdenlive)
:msg:main ---> Fetching kdenlive
:debug:fetch fetch phase started at Thu Nov 4 23:59:59 PDT 2010
:debug:fetch Executing org.macports.fetch (kdenlive)
:msg:fetch ---> Verifying checksum(s) for kdenlive
:debug:checksum checksum phase started at Thu Nov 4 23:59:59 PDT 2010
:debug:checksum Executing org.macports.checksum (kdenlive)
:info:checksum ---> Checksumming kdenlive-0.7.8.tar.gz
:debug:checksum Correct (sha1) checksum for kdenlive-0.7.8.tar.gz
:debug:checksum Correct (rmd160) checksum for kdenlive-0.7.8.tar.gz
:msg:checksum ---> Extracting kdenlive
:debug:extract extract phase started at Thu Nov 4 23:59:59 PDT 2010
:debug:extract Executing org.macports.extract (kdenlive)
:info:extract ---> Extracting kdenlive-0.7.8.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/kdenlive/kdenlive-0.7.8.tar.gz'
:debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_kdenlive/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_kdenlive/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/kdenlive/kdenlive-0.7.8.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:extract Executing proc-post-org.macports.extract-extract-0
:debug:patch patch phase started at Fri Nov 5 00:00:00 PDT 2010
:debug:patch Executing org.macports.patch (kdenlive)
:msg:patch ---> Applying patches to kdenlive
:info:patch ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/multimedia/kdenlive/files/patch-src-colorcorrection-vectorscopegenerator.h.diff
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_kdenlive/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_kdenlive/work/build" && /usr/bin/patch -p0'
:info:patch patching file ../kdenlive-0.7.8/src/colorcorrection/vectorscopegenerator.h
:debug:patch Executing proc-post-org.macports.patch-patch-0
:error:patch ######################################################
:error:patch A copy of phonon could not be found. Please install
:error:patch qt4-mac to provide this. If you have already done this
:error:patch your Qt installation is missing the phonon backend.
:error:patch Please reinstall Qt4 with phonon support.
:error:patch ######################################################
:msg:patch ---> Configuring kdenlive
:debug:patch Using compiler 'Mac OS X gcc 4.2'
:debug:configure configure phase started at Fri Nov 5 00:00:00 PDT 2010
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure Executing org.macports.configure (kdenlive)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_kdenlive/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-pipe -O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_kdenlive/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_MODULE_PATH=/opt/local/share/cmake/modules -Wno-dev -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4 -DPHONON_INCLUDE_DIR=/opt/local/libexec/qt4-mac/include -DPHONON_LIBRARY=/opt/local/libexec/qt4-mac/lib/phonon.framework/phonon -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" ../kdenlive-0.7.8 -DNO_JOGSHUTTLE=1 -DCMAKE_OSX_ARCHITECTURES="x86_64"'
:info:configure -- The C compiler identification is GNU
:info:configure -- The CXX compiler identification is GNU
:info:configure -- Checking whether C compiler has -isysroot
:info:configure -- Checking whether C compiler has -isysroot - yes
:info:configure -- Checking whether C compiler supports OSX deployment target flag
:info:configure -- Checking whether C compiler supports OSX deployment target flag - yes
:info:configure -- Check for working C compiler: /usr/bin/gcc-4.2
:info:configure -- Check for working C compiler: /usr/bin/gcc-4.2 -- works
:info:configure -- Detecting C compiler ABI info
:info:configure -- Detecting C compiler ABI info - done
:info:configure -- Checking whether CXX compiler has -isysroot
:info:configure -- Checking whether CXX compiler has -isysroot - yes
:info:configure -- Checking whether CXX compiler supports OSX deployment target flag
:info:configure -- Checking whether CXX compiler supports OSX deployment target flag - yes
:info:configure -- Check for working CXX compiler: /usr/bin/g++-4.2
:info:configure -- Check for working CXX compiler: /usr/bin/g++-4.2 -- works
:info:configure -- Detecting CXX compiler ABI info
:info:configure -- Detecting CXX compiler ABI info - done
:info:configure CMake Error at /opt/local/share/apps/cmake/modules/FindQt4.cmake:1249 (MESSAGE):
:info:configure Qt qmake not found!
:info:configure Call Stack (most recent call first):
:info:configure /opt/local/share/apps/cmake/modules/FindKDE4Internal.cmake:399 (find_package)
:info:configure /opt/local/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
:info:configure CMakeLists.txt:10 (find_package)
:info:configure
:info:configure
:info:configure -- Configuring incomplete, errors occurred!
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_kdenlive/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_MODULE_PATH=/opt/local/share/cmake/modules -Wno-dev -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4 -DPHONON_INCLUDE_DIR=/opt/local/libexec/qt4-mac/include -DPHONON_LIBRARY=/opt/local/libexec/qt4-mac/lib/phonon.framework/phonon -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" ../kdenlive-0.7.8 -DNO_JOGSHUTTLE=1 -DCMAKE_OSX_ARCHITECTURES="x86_64" " returned error 1
:error:configure Target org.macports.configure returned: configure failure: shell command failed
:debug:configure Backtrace: configure failure: shell command failed
while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for kdenlive): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Log for kdenlive is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_kdenlive/main.log
And here's qmake and my shell's path variable:
$ which qmake
/opt/local/bin/qmake
$ echo $PATH
/opt/local/bin:/opt/local/sbin:/Applications/Aqsis.app/Contents/MacOS:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/X11/bin
Note that the PHONON_INCLUDE_DIR, PHONON_LIBRARY and QT_MAKE_EXECUTABLE variables are not pointing to anywhere that the files they expect exist... the only place I even see a qt4-mac directory under the /opt filesystem is in /opt/local/var/macports/software/qt4-mac. Not quite what the configure is looking for.
Any suggestions for me to look towards? Anything I'm missing here? I'm hoping I'm just being dense due to being tired. I can see why it's not working... just not sure how to fix it currently.
On a separate note, I see from other posts there are not necessarily a lot of Mac systems available to you folks for testing on or trying to debug with. Please feel free to contact me if I can be of any help for that aspect of your projects.
Thanks for any info,
Sechy

Hello again,
Looks like I missed someone with the same issue. Must have been tired the first day I started playing around too since I found it pretty easily today. Same issue as posts 121 and 122 in this thread: http://www.kdenlive.org/forum/feedback-about-kdenlive-mac-os-x?page=2
I seem to remember doing a search for qmake and not finding that anywhere else on my system last night, but didn't find anything. I will have to take a look when I get home to determine whether my /opt/local/bin/qmake is symlinked, and if so to what. Maybe then I can manually set the build variables and get it to finish compiling/installing.
Any other help or suggestions are of course still more than welcome. I'd love to start playing around and see how this software works.
Thanks,
Sechy