Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install kde-phonon #29

Closed
SeanSWatkins opened this issue Jul 1, 2014 · 6 comments
Closed

Unable to install kde-phonon #29

SeanSWatkins opened this issue Jul 1, 2014 · 6 comments

Comments

@SeanSWatkins
Copy link

I have tried absolutely everything i can possibly think of...but i cannot get the phonon dependency to install.

Hoping you can assist, this is the log i receive every time:

==> cmake -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/kde-phonon/4.7.1' -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWO
CMake Error: Qt4::moc target not found phononwidgets_automoc
CMake Error: Qt4::moc target not found phonon_automoc
CMake Error: Qt4::moc target not found phononexperimental_automoc
-- Generating done
-- Build files have been written to: /tmp/kde-phonon-ifcx/phonon-4.7.1

Thanks

@strank
Copy link

strank commented Jul 3, 2014

Seems to be related to this problem with cmake 3.0.0::

http://comments.gmane.org/gmane.linux.lfs.beyond.devel/26602

The suggested solution there::

rm cmake/FindQt4.cmake

from phonon source directory and then proceed with usual build instructions.

@strank
Copy link

strank commented Jul 3, 2014

And indeed it works after a "brew edit kde-phonon", inserting the line::

system "rm cmake/FindQt4.cmake"

in the install instructions, before the cmake command.

@karolpawlowski
Copy link

Is there any commit that solves this problem?

@strank in which file you have added this line?

@strank
Copy link

strank commented Jul 7, 2014

@carolus89 no commit, but you can do it on your local machine until @adymo or someone else with write access changes the repo::

brew edit kde-phonon

brings up the formula in an editor. Add the line I mentioned above before::

system "cmake #{std_cmake_parameters} ."

@karolpawlowski
Copy link

Thanks a lot. My installation proceeded a little further but I have next error. Maybe someone of you had this before:

==> rm cmake/FindQt4.cmake
==> cmake -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/kde-phonon/4.7.1' -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev .
CMakeLists.txt:261 (macro_display_feature_log)

-- Configuring incomplete, errors occurred!
See also "/tmp/kde-phonon-ScjT/phonon-4.7.1/CMakeFiles/CMakeOutput.log".

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
/usr/local/Library/Homebrew/exceptions.rb:182:in dump': undefined local variable or methodf' for #BuildError:0x007f9d23db44b8 (NameError)
from /usr/local/Library/brew.rb:158:in rescue in <main>' from /usr/local/Library/brew.rb:66:in

'

@adymo
Copy link
Owner

adymo commented Nov 11, 2014

I don't see this problem now. Does it still happen for you?

@adymo adymo closed this as completed Oct 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants