LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-28-2004, 04:06 AM   #1
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Formerly Various Linux Distros, Now Fixed on Fedora 32
Posts: 189

Rep: Reputation: 30
Trying to Install KDevelop - Problems with X...


Hi All,

I am an experienced Windows jockey, moving (or trying to) to Linux. I have RedHat Fedora Core v1.0 which so far I love.

I am trying to install KDevelop - a graphical programming IDE.

When I try the manual route I unpack the source and run ./configure which streams out some very promising looking output with lots of OKs and Yes's but then flops out with this very unhelpful message:

...lots more like this above....
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
[root@localhost kdevelop-3.0.0]#

Now the thing is, surely my system is running X? I am using the Gnome GUI (not KDE admittedly) so surely I have X?

If I try the RPM route I get tied into knots with circular dependencies where RPM package A requires the presence of package B which in turn will not install without package A! (These mainly seem to be X-Free86 things...)

Can anyone give me a step-by-step guide to getting this thing up and running? (Think 6-year old!)....

Thanks in advance...

Mark
 
Old 03-28-2004, 02:46 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,341

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
"Now the thing is, surely my system is running X? I am using the Gnome GUI (not KDE admittedly) so surely I have X?"

You have the X binaries installed but the compile is probably looking for the X source. The ./configure error messages are often vague about whether it is the source or binaries that are missing. So I suggest that you look at your installed packages with:
rpm -qa | sort > /root/package.list.txt
Look through /root/package.list.txt and see if all of your X packages include both source and binary rpms. If not, try installing the source rpms.

"If I try the RPM route I get tied into knots with circular dependencies where RPM package A requires the presence of package B which in turn will not install without package A! (These mainly seem to be X-Free86 things...)"

When you get into this type of foul up isolate the circular dependencies and then install them with the rpm --nodeps option. See man rpm. Also you can use --force.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 03-29-2004, 12:31 PM   #3
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Formerly Various Linux Distros, Now Fixed on Fedora 32
Posts: 189

Original Poster
Rep: Reputation: 30
Hi Jailbait,

Thanks for helping out...

These are the "X" entries in the output from the rpm -qa command you suggested:
Xaw3d-1.5-19
xawtv-3.88-6
xboard-4.2.7-1
xcdroast-0.98a14-2
xchat-2.0.7-1.FC1.0
xdelta-1.1.3-12
XFree86-100dpi-fonts-4.3.0-55
XFree86-4.3.0-55
XFree86-75dpi-fonts-4.3.0-55
XFree86-base-fonts-4.3.0-55
XFree86-common-4.3.99.903-2
XFree86-font-utils-4.3.0-55
XFree86-libs-4.3.0-55
XFree86-libs-data-4.3.0-55
XFree86-Mesa-libGL-4.3.0-55
XFree86-Mesa-libGLU-4.3.0-55
XFree86-tools-4.3.0-55
XFree86-truetype-fonts-4.3.0-55
XFree86-twm-4.3.0-55
XFree86-xauth-4.3.0-55
XFree86-xdm-4.3.0-55
XFree86-xfs-4.3.0-55
xinetd-2.3.12-4.10.0
xinitrc-3.35-1
xisdnload-3.2-5.p1
xloadimage-4.1-29
xml-common-0.6.3-14
xmms-1.2.10-1.p
xpdf-2.03-1
xsane-0.91-1
xsane-gimp-0.91-1
xscreensaver-4.14-2
xsri-2.1.0-6
xterm-179-5

I guess if they were source rpm's it would be obvious in some way? And I guess that this means that I don't have the source code?

That being the case where would be a good place to get the source? (Anything I have came with my distro but has since, I think, been updated by RedHat's auto updater Up2Date). Must the source match the binaries?

...and which, if any, from the list would be essential?

Thanks for your help...

Mark

Last edited by ArthurDent; 03-29-2004 at 12:38 PM.
 
Old 03-29-2004, 06:57 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,341

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
"And I guess that this means that I don't have the source code?"

Right. The source rpms have src in their name.

"where would be a good place to get the source?"

You can download the source rpms from here:
http://download.fedora.redhat.com/pu...lopment/SRPMS/

You can buy the complete 3 CD source set here.
http://www.linuxcd.org/view_distro.php

"Must the source match the binaries?"

Yes. So if you have updated the binary to a later version then use Google to find the corresponding src package. You can derive the src rpm name from the binary rpm name.

"which, if any, from the list would be essential?"

That is a tricky question. The ./configure message is so vague that I can only guess. I guess that you would need the core X routines, possibly:

XFree86-4.3.0-55
XFree86-common-4.3.99.903-2
XFree86-libs-4.3.0-55
XFree86-xauth-4.3.0-55

As an alternative you might try installing the kdevelop binary rpm. It is on your second Fedora install CD.
Mount your second CD.
find /mnt/cdrom -iname "*kdevelop*"
rpm -i /mnt/cdrom/Fedora/RPMS/kdevelop-2.1.5-13.i386.rpm
If you get dependency errors then install the dependencies first.
Eject the CD.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 03-30-2004, 03:14 PM   #5
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Formerly Various Linux Distros, Now Fixed on Fedora 32
Posts: 189

Original Poster
Rep: Reputation: 30
Steve,

One thing that has impressed me since I made the switch from MS (well - trying valiantly to switch) is the extraordinary and selfless helpfulness of the Linux community - but even in among this devoted collection of people your post shines out.

For its sheer clarity and usefulness it has to rate as the best answer I've had to any of the questions I've asked so far (and er... I've asked a few...).

I did have the Kdevelop binary on my Fedora distro CD - It did require another app - but only one (QT Designer - which was on the same CD) From then on the installation went flawlessly. I now have KDevelop on my system!

Thanks very much!

I think XFree86 may be causing me some other problems elsewhere so I may well yet have do a complete install - but I will leave that battle for another day (and I will probably be back to you with more questions then!). In the meantime, thanks again.

All the Best

Mark
 
  


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
Kdevelop Problems chanwing Programming 7 06-29-2005 02:46 AM
Problems with KDevelop ComputerErik Programming 1 04-15-2005 03:12 PM
kdevelop problems Gitzo645 Mandriva 3 02-05-2005 09:27 AM
Trying to install KDevelop - Problems with X ArthurDent Linux - Newbie 0 03-28-2004 05:08 AM
Problems with kdevelop 2.1.5 ppuddick Programming 9 10-08-2003 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:31 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
Open Source Consulting | Domain Registration