Bug 201271 - misleading error message when trying to build against kde <= 4.2.68
Summary: misleading error message when trying to build against kde <= 4.2.68
Status: RESOLVED FIXED
Alias: None
Product: rekonq
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Andrea Diamantini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-23 19:28 UTC by Florian Hubold
Modified: 2009-08-05 14:33 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 Florian Hubold 2009-07-23 19:28:05 UTC
Version:           0.1.9 (using KDE 4.2.4)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Mandriva RPMs

When trying to build rekonq against kde 4.2.4, the following error message is shown:


--  KDE Network library found............. NO
--
CMake Error at CMakeLists.txt:121 (MESSAGE):
   rekonq needs, from version 0.2, KDENETWORK if compiled with a KDE version minor than 4.2.69


--  You can actually retrieve it from playground/libs/webkitkde/kdenetwork KDE svn
--
--
-- ----------------------------------------------------------------------------------
--
CMake Error at CMakeLists.txt:141 (MESSAGE):
   rekonq will NOT be compiled!



The actual error message is misleading, as i have kde <= 4.2.69 and kdenetwork and -devel packages installed. So is just the error message ill-phrased or is there another error related to building?
Comment 1 Andrea Diamantini 2009-07-24 00:23:01 UTC
On Thursday 23 July 2009 19:28:05 Florian Hubold wrote:
> https://bugs.kde.org/show_bug.cgi?id=201271
>
>            Summary: misleading error message when trying to build against
>                     kde <= 4.2.68
>            Product: rekonq
>            Version: unspecified
>           Platform: Mandriva RPMs
>         OS/Version: Linux
>             Status: NEW
>           Severity: normal
>           Priority: NOR
>          Component: general
>         AssignedTo: adjam7@gmail.com
>         ReportedBy: doktor5000@arcor.de
>
>
> Version:           0.1.9 (using KDE 4.2.4)
> Compiler:          gcc 4.3.2
> OS:                Linux
> Installed from:    Mandriva RPMs
>
> When trying to build rekonq against kde 4.2.4, the following error message
> is shown:
>
>
> --  KDE Network library found............. NO
> --
> CMake Error at CMakeLists.txt:121 (MESSAGE):
>    rekonq needs, from version 0.2, KDENETWORK if compiled with a KDE
> version minor than 4.2.69
>
>
> --  You can actually retrieve it from playground/libs/webkitkde/kdenetwork
> KDE svn
> --
> --
> --
> ---------------------------------------------------------------------------
>------- --
> CMake Error at CMakeLists.txt:141 (MESSAGE):
>    rekonq will NOT be compiled!
>
>
>
> The actual error message is misleading, as i have kde <= 4.2.69 and
> kdenetwork and -devel packages installed. So is just the error message
> ill-phrased or is there another error related to building?

The message is misleading in the kdenetwork part as you actually have kde < 
4.2.69.
So, cannot it be it cannot find your kdenetwork installation?
Comment 2 Florian Hubold 2009-07-25 13:39:43 UTC
I'm not that much into cmake, how to debug this? For what files is it looking?
How can i do this check manually?
Comment 3 Andrea Diamantini 2009-08-01 03:20:29 UTC
Fixed in master, now
Comment 4 Florian Hubold 2009-08-03 14:05:33 UTC
The error message seems fixed, but this new error seems related:



--  KDE Desktop Environment............... YES                                                       
--  KDE version 4.2.4 found!                                                                         
--  As KDE version is minor than KDE 4.2.70, rekonq will have                                        
--  some functions about KDE integration disabled                                                    
--                                                                                                   
--                                                                                                   
-- -----------------------------------------------------------------------                           
--
--  rekonq will be compiled............... YES
--
-- -----------------------------------------------------------------------
--
CMake Error at src/CMakeLists.txt:101 (TARGET_LINK_LIBRARIES):
  target_link_libraries called with incorrect number of arguments


-- Configuring incomplete, errors occurred!
Comment 5 Andrea Diamantini 2009-08-03 15:07:06 UTC
On Monday 03 August 2009 14:05:34 Florian Hubold wrote:
> https://bugs.kde.org/show_bug.cgi?id=201271
>
>
> Florian Hubold <doktor5000@arcor.de> changed:
>
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
>- Status|RESOLVED                    |REOPENED
>          Resolution|FIXED                       |
>
>
>
>
> --- Comment #4 from Florian Hubold <doktor5000 arcor de>  2009-08-03
> 14:05:33 --- The error message seems fixed, but this new error seems
> related:
>
>
>
> --  KDE Desktop Environment............... YES
> --  KDE version 4.2.4 found!
> --  As KDE version is minor than KDE 4.2.70, rekonq will have
> --  some functions about KDE integration disabled
> --
> --
> -- -----------------------------------------------------------------------
> --
> --  rekonq will be compiled............... YES
> --
> -- -----------------------------------------------------------------------
> --
> CMake Error at src/CMakeLists.txt:101 (TARGET_LINK_LIBRARIES):
>   target_link_libraries called with incorrect number of arguments
>
>
> -- Configuring incomplete, errors occurred!

Yes, sorry. Try now with rekonq master...
Comment 6 Florian Hubold 2009-08-05 14:33:04 UTC
This is fixed, rekonq compiling again.

Thanks for the fast reaction :)