LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-15-2010, 03:25 AM   #1
madsovenielsen
Member
 
Registered: Aug 2009
Posts: 182

Rep: Reputation: 15
Compiling kdevelop4 on Fedora 12


Hey

I have tried to compile kdevelop4 on fedora 12 the first steps is going well. i am following the steps on the kdevelop page

Code:
mkdir -p $HOME/src/kdevplatform/build
cd $HOME/src/kdevplatform/build
cmake ../
make
sudo make install
Thats fine. its compiling and all.

Code:
mkdir -p $HOME/src/kdevelop/build
cd $HOME/src/kdevelop/build
cmake ../
make
sudo make install
But then at this last step i get this error:

Code:
[root@thinkpad source]# cd kdevelop-4.0.0/
[root@thinkpad kdevelop-4.0.0]# cd build
[root@thinkpad build]# ls
[root@thinkpad build]# cmake ../
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib64/ccache/gcc
-- Check for working C compiler: /usr/lib64/ccache/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.6.2 (using /usr/bin/qmake-qt4)
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found OpenSSL: /usr/lib64/libssl.so
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Phonon Version: 4.4.1
-- Found Phonon: /usr/lib64/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- CMAKE_SYSTEM_LIBRARY_PATH: /usr/lib64/kde4/devel;/usr/lib/w32api;/usr/X11R6/lib;/usr/lib/X11;/opt/local/lib;/usr/pkg/lib;/opt/csw/lib;/opt/lib;/usr/openwin/lib;/usr/lib/w32api;/usr/X11R6/lib;/usr/lib/X11;/opt/local/lib;/usr/pkg/lib;/opt/csw/lib;/opt/lib;/usr/openwin/lib;/usr/lib64
-- LIB_INSTALL_DIR: /usr/local/lib64
-- _LIB_INSTALL_DIR_INDEX_IN_CMAKE_SYSTEM_LIBRARY_PATH: -1
-- appending to CMAKE_INSTALL_RPATH: /usr/local/lib64
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.4 include dir: /usr/include/kde4
-- Found KDE 4.4 library dir: /usr/lib64/kde4/devel
-- Found the KDE4 kconfig_compiler4 preprocessor: /usr/bin/kconfig_compiler4
-- Found automoc4: /usr/bin/automoc4
-- CTest cannot determine repository type. Please set UPDATE_TYPE to 'cvs' or 'svn'. CTest update will not work.
CMake Warning at cmake/modules/FindKDevPlatform.cmake:40 (find_package):
  Could not find a configuration file for package KDevPlatform.

  Set KDevPlatform_DIR to the directory containing a CMake configuration file
  for KDevPlatform.  The file will have one of the following names:

    KDevPlatformConfig.cmake
    kdevplatform-config.cmake

Call Stack (most recent call first):
  CMakeLists.txt:39 (find_package)


CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:57 (MESSAGE):
  Could NOT find KDevPlatform (missing: KDevPlatform_CONFIG)
Call Stack (most recent call first):
  cmake/modules/FindKDevPlatform.cmake:44 (find_package_handle_standard_args)
  CMakeLists.txt:39 (find_package)


-- Configuring incomplete, errors occurred!
[root@thinkpad build]#
I dont know what to do about it, please if someone can provide me with the steps necessary to complete the compile.

/mads
 
Old 06-15-2010, 05:55 AM   #2
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Hi

Is there a specific reason that you're compiling from source?

kdevelop is in the supported Fedora repos and you can use yum to install it with all its dependencies resolved.
 
Old 06-15-2010, 04:44 PM   #3
madsovenielsen
Member
 
Registered: Aug 2009
Posts: 182

Original Poster
Rep: Reputation: 15
Not kdevelop 4...

No kdevelop 4 isent in the repository. i want to use kdevelop 4. not 3.5 thats why im compiling from source. but its not working.
 
Old 06-15-2010, 05:53 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,634

Rep: Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268
Fedora 12 .. .. kdevelop

# yum --nogpgcheck localinstall kdevelop-*

.. when you have downloaded the two packages :
kdevelop-4.0.0-1.fc13.<arch>.rpm
kdevelop-libs-4.0.0-1.fc13.<arch>.rpm

from i386
http://download.fedora.redhat.com/pu...6/os/Packages/
or x86_64 ( if you have 64 Bits OS )
http://download.fedora.redhat.com/pu...4/os/Packages/

→ → The Fedora 13 kdevelop is compiled with "old" glibc, etc.
P.S. : I got 58 packages installed for dependency,
had no kde4, only gnome. ( Kdevelop works OK.)

Last edited by knudfl; 06-15-2010 at 06:22 PM.
 
Old 06-15-2010, 05:53 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,634

Rep: Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268
.. And, if you really want to see it compile,
you can just rebuild the SRC.RPM =
kdevelop-4.0.0-1.fc13.src.rpm

About the error you have :
""Could NOT find KDevPlatform (missing: ...""
>>> 'kdevplatform-1.0.0' is a requirement for the compiling.
( kdevplatform-devel + kdelibs4-devel + kdebase-workspace-devel etc. :
The file kdevelop.spec will tell.)
..

Last edited by knudfl; 06-15-2010 at 06:20 PM.
 
Old 06-16-2010, 01:34 PM   #6
madsovenielsen
Member
 
Registered: Aug 2009
Posts: 182

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
# yum --nogpgcheck localinstall kdevelop-*

.. when you have downloaded the two packages :
kdevelop-4.0.0-1.fc13.<arch>.rpm
kdevelop-libs-4.0.0-1.fc13.<arch>.rpm

from i386
http://download.fedora.redhat.com/pu...6/os/Packages/
or x86_64 ( if you have 64 Bits OS )
http://download.fedora.redhat.com/pu...4/os/Packages/

→ → The Fedora 13 kdevelop is compiled with "old" glibc, etc.
P.S. : I got 58 packages installed for dependency,
had no kde4, only gnome. ( Kdevelop works OK.)
Okay. but can i do this if i use Fedora 12 ?

I have compiled kdevplatform.
 
Old 06-16-2010, 01:55 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,634

Rep: Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268
Things you read in post # 4 was done on Fedora 12.

Just get the two packages
kdevelop-4.0.0-1.fc13.x86_64.rpm
kdevelop-libs-4.0.0-1.fc13.x86_64.rpm

Why compile 'kdevplatform' ? The Fedora 12 packages
'kdevplatform' + 'kdevplatform-libs' will be installed with yum.
They are included in the 58 dependencies !
..

Last edited by knudfl; 06-16-2010 at 01:56 PM.
 
Old 06-16-2010, 02:24 PM   #8
madsovenielsen
Member
 
Registered: Aug 2009
Posts: 182

Original Poster
Rep: Reputation: 15
Thanks
 
  


Reply

Tags
kdevelop4


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
LXer: Team Sets Seventh Beta of KDevelop4 Loose LXer Syndicated Linux News 0 12-16-2009 09:40 PM
kdevelop4: run programs ootawata Programming 1 08-17-2009 10:02 AM
How to install repos for kdevelop4 on FC8 (or something like that) CelticBlues Fedora 3 06-05-2009 09:30 PM
LXer: KDevelop4 Beta 3 Released LXer Syndicated Linux News 0 05-31-2009 12:10 PM
Compiling kernel on Fedora 10 and copying it to another machine with Fedora 5 on it ddel Linux - Newbie 8 04-13-2009 08:14 AM


All times are GMT -5. The time now is 04:19 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration