Bug 156791 - Phonon doesn't compile, complains about missing Xine
Summary: Phonon doesn't compile, complains about missing Xine
Status: RESOLVED WORKSFORME
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: Xine backend (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-27 17:08 UTC by Akarsh Simha
Modified: 2008-01-29 10:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Akarsh Simha 2008-01-27 17:08:31 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          g++ 4.2.3 
OS:                Linux

Despite having installed libxine-1.1.9.1, I get the following error while compiling a recent SVN version of kdebase (Output of cmake):
==================================================
-- Install the package which contains OpenEXR.pc if you want to support this feature.
-- Create macro to display info at the end of install
CMake Error: Xine_DIR is set to /c/kde-devel/xine-lib-1.1.9.1/, which is not a directory containing XineConfig.cmake
CMake Error: An attempt was made to access a variable: XINE_FOUND that has not been defined. This variable is created by the FIND_PACKAGE command. CMake version 1.6 always converted the variable name to upper-case, but this behavior is no longer the case.  To fix this you might need to set the cache value of CMAKE_BACKWARDS_COMPATIBILITY to 1.6 or less.  If you are writing a CMake listfile, you should change the variable reference to use the case of the argument to FIND_PACKAGE.
CMake Error: An attempt was made to access a variable: XINE_FOUND that has not been defined. This variable is created by the FIND_PACKAGE command. CMake version 1.6 always converted the variable name to upper-case, but this behavior is no longer the case.  To fix this you might need to set the cache value of CMAKE_BACKWARDS_COMPATIBILITY to 1.6 or less.  If you are writing a CMake listfile, you should change the variable reference to use the case of the argument to FIND_PACKAGE.
CMake Error: An attempt was made to access a variable: XINE_FOUND that has not been defined. This variable is created by the FIND_PACKAGE command. CMake version 1.6 always converted the variable name to upper-case, but this behavior is no longer the case.  To fix this you might need to set the cache value of CMAKE_BACKWARDS_COMPATIBILITY to 1.6 or less.  If you are writing a CMake listfile, you should change the variable reference to use the case of the argument to FIND_PACKAGE.
-- Found CLucene library: /usr/lib/libclucene.so
=============================================
At the end, cmake complains about having not found xine-libs 1.1.x and the compile stops.

On replacing all XINE_... variables with Xine_ as indicated by CMake in the error message, I get the following error message:
==============================================================
-- Install the package which contains OpenEXR.pc if you want to support this feature.
-- Create macro to display info at the end of install
CMake Error: Xine_DIR is set to "/c/kde-devel/xine-lib-1.1.9.1/", which is not a directory containing XineConfig.cmake
-- Found CLucene library: /usr/lib/libclucene.so
-- Found CLucene include dir: /usr/include
===============================================================

This is using cmake version 2.4-patch 6
Comment 1 Jörg Walter 2008-01-28 14:46:11 UTC
Update kdelibs, see this commit:

http://websvn.kde.org/?view=rev&revision=765548
Comment 2 Akarsh Simha 2008-01-29 10:00:37 UTC
Thanks for the heads up.
It's compiling fine.