LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   problem with compiling kdevelop pls help.. (https://www.linuxquestions.org/questions/programming-9/problem-with-compiling-kdevelop-pls-help-827143/)

hamedhsn 08-19-2010 01:09 AM

problem with compiling kdevelop pls help..
 
hi.i was trying to compile kdevelop as the instruction in http://www.kdevelop.org/mediawiki/in...op_4/compiling
but when i came to this command (cmake ../)the following problem happend:

CMake Error: The source directory "/home/forensic/src/kdevplatform" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.



i also copy the CMakeLists.txt from the source file of cmake2.8 but this time again this error was happened:

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:414 (INCLUDE):
include could not find load file:

/home/forensic/src/kdevplatform/Tests/CMakeInstall.cmake


CMake Error at CMakeLists.txt:418 (INCLUDE):
include could not find load file:

CompileFlags.cmake


-- Looking for unsetenv
-- Looking for unsetenv - found
-- Looking for environ
-- Looking for environ - not found.
CMake Error at CMakeLists.txt:194 (ADD_SUBDIRECTORY):
add_subdirectory given source "Source/kwsys" which is not an existing
directory.
Call Stack (most recent call first):
CMakeLists.txt:443 (CMAKE_BUILD_UTILITIES)


CMake Error: File /home/forensic/src/kdevplatform/cmake_uninstall.cmake.in does not exist.
CMake Error at CMakeLists.txt:498 (CONFIGURE_FILE):
configure_file Problem configuring file


CMake Error at CMakeLists.txt:505 (INCLUDE):
include could not find load file:

CMakeCPack.cmake


CMake Error: File /home/forensic/src/kdevplatform/Templates/CTestScript.cmake.in does not exist.
CMake Error at CMakeLists.txt:156 (CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:508 (CMAKE_SETUP_TESTING)


CMake Error: File /home/forensic/src/kdevplatform/DartLocal.conf.in does not exist.
CMake Error at CMakeLists.txt:509 (CONFIGURE_FILE):
configure_file Problem configuring file


CMake Error at CMakeLists.txt:520 (ADD_SUBDIRECTORY):
add_subdirectory given source "Source" which is not an existing directory.


CMake Error at CMakeLists.txt:521 (ADD_SUBDIRECTORY):
add_subdirectory given source "Utilities" which is not an existing
directory.


CMake Error at CMakeLists.txt:522 (ADD_SUBDIRECTORY):
add_subdirectory given source "Tests" which is not an existing directory.


-- Configuring incomplete, errors occurred!


if anybody can help me,i appreciate..
thanks

knudfl 08-19-2010 02:32 PM

The easy way to get kdevelop : # zypper in kdevelop4


Which sources are you using ?
'kdevplatform-1.0.0.tar.bb2' + 'kdevelop-4.0.0.tar.bz2' ?

Which version of Suse is used ?

1) The requirements :
# zypper in libkdecore4-devel libkde4-devel kdebase4-workspace-devel boost-devel
( = 149 packages total, including all dependencies ! )

Quote:

I also copied the CMakeLists.txt from the source file of cmake-2.8
A configuration file from cmake can only be used in .. cmake.
If "CMakeLists.txt" is missing :
You are probably doing the commands from a wrong directory.

2)
ls src/ : The reply is supposed to be : kdevelop-4.0.0/ kdevplatform-1.0.0/
3)
cd src/kdevplatform-1.0.0/ && mkdir build && cd build && 'cmake ..' && make
3a) # make install && exit && exit : Suse 11.3 - 64 : No errors.

4)
cd src/kdevelop-4.0.0/ && mkdir build && cd build && 'cmake ..' && make
4a) # make install && exit : No errors.
.. The command 'kdevelop' will display the kdevelop4 GUI.
..

hamedhsn 08-20-2010 01:21 AM

hi..thanks for your help.
it was completed but wen i open kdevelop i cant see new project in project menu.


All times are GMT -5. The time now is 06:37 AM.