i have the following Packages in my Spec: libkde4-devel libqt4-devel
qt-devel cmake fdupes gcc-c++ doxygen glib2-devel glib-devel
pkgconfig.
But i become the Errors;
-- Found Qt-Version 4.5.0 (using /usr/bin/qmake)
CMake Error: The following variables are used in this project, but
they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the
CMake files:
GLIB_LIB_INCLUDE_DIR
used as include directory in directory /usr/src/packages/BUILD/
libqinfinity-1.0b1/libqinfinity
used as include directory in directory /usr/src/packages/BUILD/
libqinfinity-1.0b1/test
LIBINFINITY_INCLUDES
used as include directory in directory /usr/src/packages/BUILD/
libqinfinity-1.0b1/libqinfinity
used as include directory in directory /usr/src/packages/BUILD/
libqinfinity-1.0b1/test
LIBINFINITY_LIBRARY
linked by target "qinfinity" in directory /usr/src/packages/BUILD/
libqinfinity-1.0b1/libqinfinity
linked by target "guibrowser" in directory /usr/src/packages/BUILD/
libqinfinity-1.0b1/test
LIBINFTEXT_INCLUDES
used as include directory in directory /usr/src/packages/BUILD/
libqinfinity-1.0b1/libqinfinity
LIBINFTEXT_LIBRARY
linked by target "qinfinity" in directory /usr/src/packages/BUILD/
libqinfinity-1.0b1/libqinfinity
Has anyone an Idea about the missing Packages.
And 2.) why is LIBINFINIY an Depend on the libqinfinity Buid? Through
them it should created the libs.
It seems the FindGlib.cmake script is having a hard time finding your glib-config.h file. On my system this is in /usr/lib/glib-2.0/include/glibconfig.h. Do you know where this file would be on your system so I can fix the script?
Libqinfinity is just a Qt wrapper for libinfinity, so the library does depend on libinfinity.
> i have the following Packages in my Spec: libkde4-devel libqt4-devel > qt-devel cmake fdupes gcc-c++ doxygen glib2-devel glib-devel > pkgconfig.
> But i become the Errors; > -- Found Qt-Version 4.5.0 (using /usr/bin/qmake) > CMake Error: The following variables are used in this project, but > they are set to NOTFOUND. > Please set them or make sure they are set and tested correctly in the > CMake files: > GLIB_LIB_INCLUDE_DIR > used as include directory in directory /usr/src/packages/BUILD/ > libqinfinity-1.0b1/libqinfinity > used as include directory in directory /usr/src/packages/BUILD/ > libqinfinity-1.0b1/test > LIBINFINITY_INCLUDES > used as include directory in directory /usr/src/packages/BUILD/ > libqinfinity-1.0b1/libqinfinity > used as include directory in directory /usr/src/packages/BUILD/ > libqinfinity-1.0b1/test > LIBINFINITY_LIBRARY > linked by target "qinfinity" in directory /usr/src/packages/BUILD/ > libqinfinity-1.0b1/libqinfinity > linked by target "guibrowser" in directory /usr/src/packages/BUILD/ > libqinfinity-1.0b1/test > LIBINFTEXT_INCLUDES > used as include directory in directory /usr/src/packages/BUILD/ > libqinfinity-1.0b1/libqinfinity > LIBINFTEXT_LIBRARY > linked by target "qinfinity" in directory /usr/src/packages/BUILD/ > libqinfinity-1.0b1/libqinfinity
> Has anyone an Idea about the missing Packages. > And 2.) why is LIBINFINIY an Depend on the libqinfinity Buid? Through > them it should created the libs.
On Montag 20 April 2009 22:13:02 Gregory Haynes wrote:
> It seems the FindGlib.cmake script is having a hard time finding your > glib-config.h file. On my system this is in > /usr/lib/glib-2.0/include/glibconfig.h. Do you know where this file > would be on your system so I can fix the script?
On my System i have: /usr/lib64/glib-2.0/include/glibconfig.h /usr/lib64/glib/include/glibconfig.h
> Libqinfinity is just a Qt wrapper for libinfinity, so the library > does depend on libinfinity.
Yes, that was it. :-)
Actual i have only the Error in: -- Found Qt-Version 4.5.0 (using /usr/bin/qmake) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GLIB_LIB_INCLUDE_DIR used as include directory in directory /usr/src/packages/BUILD/libqinfinity-1.0b1/libqinfinity used as include directory in directory /usr/src/packages/BUILD/libqinfinity-1.0b1/test
I think the Error is, that the Script only search in /lib and not in /lib64.
-- Sincereley Yours
Sascha Manns openSUSE Build Service openSUSE Marketing Team openSUSE Features Screening Team Maifeldstrasse 10 D-56 727 Mayen
> On Montag 20 April 2009 22:13:02 Gregory Haynes wrote: >> It seems the FindGlib.cmake script is having a hard time finding your >> glib-config.h file. On my system this is in >> /usr/lib/glib-2.0/include/glibconfig.h. Do you know where this file >> would be on your system so I can fix the script? > On my System i have: > /usr/lib64/glib-2.0/include/glibconfig.h > /usr/lib64/glib/include/glibconfig.h
>> Libqinfinity is just a Qt wrapper for libinfinity, so the library >> does depend on libinfinity. > Yes, that was it. :-)
> Actual i have only the Error in: > -- Found Qt-Version 4.5.0 (using /usr/bin/qmake) > CMake Error: The following variables are used in this project, but they > are set to NOTFOUND. > Please set them or make sure they are set and tested correctly in the > CMake files: > GLIB_LIB_INCLUDE_DIR > used as include directory in directory > /usr/src/packages/BUILD/libqinfinity-1.0b1/libqinfinity > used as include directory in directory > /usr/src/packages/BUILD/libqinfinity-1.0b1/test
> I think the Error is, that the Script only search in /lib and not in > /lib64.
Thats odd, I would think those directories would be symlinked? Does it work if you set the find_path( GLIB_LIB_INCLUDE_DIR to search in /usr/lib64?
Thanks for the patches! I did some research and turns out I'm not so good at writing CMakeScripts. I found a solution in kdelibs that doesnt require hardcoding the /usr/lib64 path into the Find script. If you could test this and make sure it works on your system that would be aweseme. I also fixed the erros you were getting below. These changes should be in the git repo on github.
On Tuesday 21 April 2009 08:23:15 Sascha Manns wrote:
> Hello Mates,
> i've attached the Changes for lib64.
> My BuildService builds not to the End. The Check for Compiler Errors > said me: > E: libqinfinity no-return-in-nonvoid-function > /usr/src/packages/BUILD/libqinfinity-1.0b1/libqinfinity/browseriter.cpp:140 >, 134, 128, 122, 111, 105, 99, 93, 87, 81, 75, 69, 63, 57 > E: libqinfinity no-return-in-nonvoid-function > /usr/src/packages/BUILD/libqinfinity-1.0b1/libqinfinity/browsermodel.cpp:22 >2, 195
Am Mittwoch 22 April 2009 05:25:34 schrieb Gregory Haynes:
> Hello,
> Thanks for the patches! I did some research and turns out I'm not so > good at writing CMakeScripts. I found a solution in kdelibs that > doesnt require hardcoding the /usr/lib64 path into the Find script. > If you could test this and make sure it works on your system that > would be aweseme. I also fixed the erros you were getting below. > These changes should be in the git repo on github.
Thank you very much for updating. :-) Now the Package builds perfectly...
-- Sincereley Yours
Sascha Manns openSUSE Build Service openSUSE Marketing Team openSUSE Features Screening Team Maifeldstrasse 10 D-56 727 Mayen