problem with phonon-4.1 and cmake/FindG*.cmake

Helio Chissini de Castro helio at kde.org
Mon Nov 3 18:55:45 GMT 2008


I know is a bit confusing, but for KDE 4.1, you need to have phonon 4.2

[]'s

On Quinta 30 Outubro 008 13:38:08 Ben Taylor wrote:
> I am working on Solaris 10, and have a more recent version of glib2
> and gstreamer compiled and working (both 32-bit and 64-bit)
>
> When I try to build phonon-4.1, it appears that the FindG*.cmake files
> use the proper PKG_CONFIG_PATH, and then rewrite it using the
> system includes (which are really ancient).
>
> I added some debugging to FindGLIB2.cmake and found this:
>
> WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
> Just set _LibGLIB2IncDir to value /opt/foss/include
> Just set _LibGLIB2LinkDir to value /opt/foss/lib/amd64
> Just set _LibGLIB2LinkFlags to value -L/opt/foss/lib/amd64 -lglib-2.0
> -lintl -liconv
> Just set _LibGLIB2Cflags to value -I/opt/foss/include/glib-2.0
> -I/opt/foss/lib/amd64/glib-2.0/include
>
> *** This is what I expect these values to be ****
>
> Just set GLIB2_MAIN_INCLUDE_DIR to value /usr/include/glib-2.0
> Just set GLIB2_LIBRARIES to value /usr/lib/libglib-2.0.so
> Just set glib2LibDir to value /usr/lib
> Just set GLIB2_INTERNAL_INCLUDE_DIR to value /usr/lib/glib-2.0/include
> Just set GLIB2_INCLUDE_DIR to value /usr/include/glib-2.0
> Just set GLIB2_INCLUDE_DIR to value
> /usr/include/glib-2.0/usr/lib/glib-2.0/include
> Found GLIB2: /usr/lib/libglib-2.0.so
> Just set GLIB2 to value
>
> Then FindGLIB2.cmake goes merrily rewriting the variables ignoring the
> information from pkg-config and making my 64-bit build fail.
>
> Anyone have a clue why cmake is ignoring the information pkg-config
> provided?
>
> Thanks
>
> Ben
> _______________________________________________
> kde-multimedia mailing list
> kde-multimedia at kde.org
> https://mail.kde.org/mailman/listinfo/kde-multimedia

-- 
Helio Chissini de Castro
KDE Project
Brasil and South America Primary Contact



More information about the kde-multimedia mailing list