Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-18-2009, 10:15 PM   #1
LQ Newbie
Registered: Sep 2009
Posts: 3

Rep: Reputation: 0
Unhappy Error in building projects in Kdevelop

1. I have fedora 9 installed, i installed kdevelop using command yum install kdevelop. so i think all the dependencies must have been resolved.

2.Built a new project in the category C++ -> KDE ->Simple KDE Application

3. then i tried to build it with "run automake and success" in the build tab. It was successful.

4. however, with the option "Run Configure" in the build tab again, I got the following

mkdir '/home/rishabh/app1/debug' && cd '/home/rishabh/app1/debug' && CXXFLAGS="-O0 -g3" "/home/rishabh/app1/configure" --enable-debug=full
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking target system type... i686-redhat-linux-gnu
installing -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /usr/bin/kde-config
checking where to install... /usr (as returned by kde-config)
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether gcc is blacklisted... no
checking whether g++ supports -Wmissing-format-attribute... no
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether g++ supports -Wundef... no
checking whether g++ supports -Wno-long-long... no
checking whether g++ supports -Wno-non-virtual-dtor... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
*** Exited with status: 1 ***

If anyone could advise me on what to do, it would be greatly appreciated.
Old 09-18-2009, 11:19 PM   #2
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
Is it KDevelop 3.*? If yes, consider upgrading to KDevelop 4. KDevelop 3 is intended to develop KDE3 applications (deprecated and unsuported). KDevelop4 is less stable, but offer much more feature and support for KDE4. It also use CMake instead of AutoTools. CMake is less likely to fail like that.
Old 09-19-2009, 02:04 AM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,429

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
The errors :
you are missing the (most) important packages :

# yum install gcc-c++ glibc-devel glibc-headers


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
Need advice on building/developing complex projects pilotmm Programming 10 07-19-2009 01:14 PM
Building your own memory manager for C/C++ projects alan_ri Programming 16 07-19-2009 09:24 AM
Are there any Open Source Building Automation Projects going on? aclavi Programming 4 04-08-2008 12:06 AM
Problem linking KDevelop projects mrogerf Programming 7 08-08-2005 09:32 AM
Error building kdevelop danielg Linux - Software 1 11-22-2004 07:37 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:10 PM.

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