LinuxQuestions.org
Help answer threads with 0 replies.
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 09-05-2005, 05:40 PM   #1
kgustaf
LQ Newbie
 
Registered: Jul 2005
Location: College Park, MD
Distribution: RHE3, Fedora Core 7, SuSE
Posts: 8

Rep: Reputation: 0
x11 libraries are optional?


Looking for someone with experience installing tcl/tk
or
experience with X-windows dependencies



Trying to install tk8.4.11 on RedHat i386 system

the tk 'make' claims it cannot find X11/Xlib.h

X-windows works on this computer

nevertheless, I enter dependency hell while trying to install the xorg-x11-devel-6.8.2-31 rpm

and get to the point where xorg-x11-libs is required.

1.) How can my xwindows work without the libraries?
2.) Do I really need to install all these rpms when tk8.4.11/xlib/X11/Xlib.h already exists in the installation directory?

the line in the tk.h code says: # include <X11/Xlib.h>

can I direct tk.h to the tk8.4.11/xlib/X11/Xlib.h in the installation directory? I'm not a C++ programmer.


Thanks for your help.
 
Old 09-05-2005, 06:19 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"Trying to install tk8.4.11 on RedHat i386 system"

What version of Red Hat are you using?

"the tk 'make' claims it cannot find X11/Xlib.h
X-windows works on this computer
nevertheless, I enter dependency hell while trying to install the xorg-x11-devel-6.8.2-31 rpm
and get to the point where xorg-x11-libs is required."

I think that the version of tk that you are trying to install is dependent on a newer version of X Window than what you have installed.

"1.) How can my xwindows work without the libraries?"

X Window has been rewritten lately. Previous versions of X Window had a different library structure.

"2.) Do I really need to install all these rpms when tk8.4.11/xlib/X11/Xlib.h already exists in the installation directory?
the line in the tk.h code says: # include <X11/Xlib.h>
can I direct tk.h to the tk8.4.11/xlib/X11/Xlib.h in the installation directory? I'm not a C++ programmer."

These questions will probably disappear after you sort through your version mismatch.

---------------------------
Steve Stites
 
Old 09-06-2005, 11:57 AM   #3
kgustaf
LQ Newbie
 
Registered: Jul 2005
Location: College Park, MD
Distribution: RHE3, Fedora Core 7, SuSE
Posts: 8

Original Poster
Rep: Reputation: 0
linux version 2.4.21-32.0.1.EL
I think the redhat is enterprise edition 3

Would it be reasonable, in your opinion, to go back to an older version of tcl/tk instead of fiddling with my established x-windows? Is this a good strategy in general?

Thanks,
--Kyle
 
Old 09-06-2005, 03:22 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"Would it be reasonable, in your opinion, to go back to an older version of tcl/tk instead of fiddling with my established x-windows? Is this a good strategy in general?"

In general when I run into a problem like the latest version of tcl/tk needing to have some dependencies upgraded I upgrade everything necessary to get tcl/tk installed. However having to upgrade X Window is so laborious that I would find it easier to upgrade the entire Red Hat release than to try to upgrade X Window on a running system.

If you don't want to upgrade X Window or upgrade Red Hat then the easiest thing to do would be to install the version of tcl/tk that is on your Red Hat install CD. That will be an older version of tcl/tk but it is 100% compatible with what you already have installed.

--------------------------
Steve Stites
 
Old 09-06-2005, 05:42 PM   #5
kgustaf
LQ Newbie
 
Registered: Jul 2005
Location: College Park, MD
Distribution: RHE3, Fedora Core 7, SuSE
Posts: 8

Original Poster
Rep: Reputation: 0
I ended up reinstalling tcl through ActiveTcl, which supposedly includes tk...

In any case, my final goal was to get VMD fully functional, which was possible on my machine after installing ActiveTcl8.4.11.0 and then vmd-1.8.3 binary from the Illinois ks.uiuc.illinois.edu website.

Problem solved, thanks for the advice.

--Kyle
 
  


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
problem on linking Xm Xt X11 libraries yaotz Linux - Newbie 9 03-07-2005 11:03 AM
Optional setting for XServer digitalbrutus Linux - Software 1 10-28-2004 02:40 PM
X11 libraries not found dannymacom Linux - Software 6 02-22-2004 06:31 PM
X11 libraries? eduac Linux - Software 4 07-11-2003 11:51 AM
optional proxy with squid? Tom Bozack Linux - Networking 2 08-12-2002 02:02 PM

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

All times are GMT -5. The time now is 09:11 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