LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 08-19-2010, 01:09 AM   #1
hamedhsn
Member
 
Registered: Feb 2010
Distribution: opensuse 11.2
Posts: 57

Rep: Reputation: 0
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
 
Old 08-19-2010, 02:32 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,749

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
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.
..
 
1 members found this post helpful.
Old 08-20-2010, 01:21 AM   #3
hamedhsn
Member
 
Registered: Feb 2010
Distribution: opensuse 11.2
Posts: 57

Original Poster
Rep: Reputation: 0
hi..thanks for your help.
it was completed but wen i open kdevelop i cant see new project in project menu.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kdevelop compiling problem FiXon Linux - Software 4 09-14-2007 11:25 AM
Compiling with Kdevelop 52cent Programming 7 04-23-2007 11:43 PM
Problem when compiling autogenerated KDevelop application SteQve Linux - Software 0 12-22-2005 12:00 PM
compiling kdevelop merchtemeagle Linux - Software 2 03-16-2005 01:33 PM
Problem compiling KDevelop 3 stonehurstX11 Linux - Software 7 03-13-2004 10:30 AM


All times are GMT -5. The time now is 01:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration