[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 284430] New: xdebug: compile: cmake can not find
From:       jay <jay () jay ! cz>
Date:       2011-10-19 6:50:48
Message-ID: bug-284430-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=284430

           Summary: xdebug: compile: cmake can not find
                    EXECUTESCRIPT_INCLUDE_DIR
           Product: quanta
           Version: CVS HEAD
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: xdebug
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: jay@jay.cz


Version:           CVS HEAD
OS:                Linux

execute script was moved to kdevplatform, but cmakelists.txt does not reflect
the change.


To fix it I changed CMakeLists.txt :

[/opt/kdev/kde4/quanta/debuggers/xdebug]$ git diff
diff --git a/debuggers/xdebug/CMakeLists.txt b/debuggers/xdebug/CMakeLists.txt
index 03b9d08..cc86061 100644
--- a/debuggers/xdebug/CMakeLists.txt
+++ b/debuggers/xdebug/CMakeLists.txt
@@ -10,7 +10,7 @@ find_package(KDE4 REQUIRED)
 find_package(KDevPlatform REQUIRED)

 find_path( EXECUTESCRIPT_INCLUDE_DIR iexecutescriptplugin.h
- PATH_SUFFIXES kdevexecutescript )
+ PATH_SUFFIXES kdevplatform/executescript )

 find_path( EXECUTEBROWSER_INCLUDE_DIR iexecutebrowserplugin.h
  PATH_SUFFIXES kdevexecutebrowser )


Reproducible: Didn't try

Steps to Reproduce:
compile:
1. kdevplatform
2. kdevelop
3. kdevelop-pg-qt, kdev-php, kdev-php-docs
4. quanta/plugins/executebrowser
5. quanta/debugers/xdebug

Actual Results:  
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:
EXECUTESCRIPT_INCLUDE_DIR
   used as include directory in directory
/opt/kdev/kde4/quanta/debuggers/xdebug


Expected Results:  
-- EXECUTESCRIPT_INCLUDE_DIR:
/opt/kdev/compiled/kde4/include/kdevplatform/executescript

(this output was generated with:
MESSAGE( STATUS "EXECUTESCRIPT_INCLUDE_DIR:" ${EXECUTESCRIPT_INCLUDE_DIR} )
)

Because quanta developement is a bit frozen, and xdebug plugin is more or less
stable, i'd suggest to move xdebug and executebrowser to kdevplatform.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic