LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-21-2007, 08:04 PM   #1
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
kdedevelop 3.4.0 compile settings


I am trying to write applications using C/C++ under KDE with a nice graphical IDE (a bit like Visual Studio but hopefully better !!) After playing with the Slackware 11.0 standard package of Kdevelop 3.3.4 the Kdevelop "build project" menu option errors out with this when tried :-
Code:
*** YOU'RE USING autoconf (GNU Autoconf) 2.60.
*** KDE requires autoconf 2.52, 2.53 or 2.54
I have had other problems after installing Autoconf 2.54 and uninstalling Autoconf 2.60 so I am trying to compile Kdevelop 3.4.0 as I have read somewhere that this version of Kdevelop fixes this. I have downloaded kdevelop-3.4.0.tar.bz2 and extracted all ready to compile this under Slackware 11.0 (not current). The KDE site : http://www.kdevelop.org/index.html?f.../download.html
states the following :
Code:
# In order to compile and install KDevelop on your system, type the commands (we assume you have bash shell) from below in the base directory.

    $ export KDEDIR=/where/your/kde3/is
    $ export QTDIR=/where/your/qt3/is
    $ export KDEVELOPDIR=/where/kdevelop/will/be/installed
    $ export KDEDIRS=$KDEVELOPDIR:$KDEDIR
    $ export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH
    $ export LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LIBRARY_PATH
    $ export PATH=$KDEVELOPDIR/bin:$QTDIR/bin:$KDEDIR/bin:$PATH

Note: For obvious reasons you should edit the first three lines to match your configuration!
On RPM based linux distributions, you can find the location of your Qt3 and KDE3 directories using the configuration program of your linux distribuition or simply issuing "rpm -ql qt3" and "rpm -ql kdebase3".
If you are a gentoo user and want to use ctags then you need to issue:

    ln -sf /usr/bin/exuberant-ctags /usr/bin/ctags
In order to compile Kdevelop correctly. What should I fill in for the settings :
Code:
$ export KDEDIR=/where/your/kde3/is
$ export QTDIR=/where/your/qt3/is
- with a standard Slackeware 11 install as I'm not sure where my QT3 and KDE directories are ? Do I set "opt/kde/bin" for my KDEDIR and "usr/lib/qt-3.3.6/bin" for QTDIR ? Anyone tried this compilation and if so does it fix the Autoconf version mismatch. -- My reason for doing this is to have a C/C++ graphical IDE to play with application development under Slackware/KDE. I know I can compile C/C++ apps from the command line but a graphical IDE would be nice. Thanks in advance for any input...
 
Old 05-21-2007, 09:13 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
For kde it is at '/opt/kde' and qt is at '/usr/lib/qt'.
 
Old 05-22-2007, 05:48 PM   #3
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Original Poster
Rep: Reputation: 232Reputation: 232Reputation: 232
Thanks - I have setup the build environment and compiled OK even if it took an age to complete. Uninstalled Kdevelop 3.3.4 and installed newly compiled Kdevelop 3.4 but it still has the same problem i.e. requiring autoconf 2.52/3/4! Oh well, another waste of time...

Update: I have just found a solution to the Kdevelop/Autoconf version mismatch. It is a bit convoluted but seems to work... Marvellous. Anyway, here is a link to a fix if anyone is interested:
http://www.kdevelop.org/mediawiki/in...or_messages.3F
I didn't find this before as I was Googling the error message. Googling "Kdevevelop autoconf" got me this - I must have been too specific in my previous searches. I've just compiled my first KDE app !! Life is good again...

Last edited by bgeddy; 05-22-2007 at 06:13 PM. Reason: Update - problem fixed
 
Old 05-22-2007, 06:17 PM   #4
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
Thanks , I ran into this problem before but never discovered the solution.
 
Old 05-22-2007, 10:42 PM   #5
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Original Poster
Rep: Reputation: 232Reputation: 232Reputation: 232
Cool - I was begining to think it was only me that had come up against this 'brick wall'. The solution was pretty obvious to find but I phrased my Google search the wrong way. I have been trying to fix this for a long time and now I'm very pleased I have found a cure. Given - the 'work around' is not an ideal solution but hey - it works !! I now want to setup a way of automating this within Kdevelop so every new project runs a script (maybe) to setup the 'admin' config so it works. All this stuff is pretty new to me so I am enjoying the learning process in a perverse kind of way. Great that I have been some help to you. All the best....
 
  


Reply



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
Gnome settings overriding KDE settings frode SUSE / openSUSE 2 04-21-2007 02:35 PM
Network settings / DNS Server settings uid0sd Linux - Newbie 3 02-22-2007 03:39 PM
How to restore out-of-box kernel settings if my kernel compile fails? brgr88 Slackware 8 04-18-2006 06:51 AM
Mandrake 10.0 Gnome/KDE Taskbar icon settings...are there settings? LiquidRezin Linux - Newbie 2 03-22-2004 09:27 AM
Changing US keyboard settings to Spain (SP) settings or Mexico. zLinuxz Linux - General 4 12-01-2002 12:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:53 PM.

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
Open Source Consulting | Domain Registration