LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-22-2006, 01:07 PM   #1
vortmax
Member
 
Registered: Nov 2005
Posts: 91

Rep: Reputation: 17
dependency HELL


I'm attempting to install a data format library called vis5d. When I run the make file I get this:

Code:
make[1]: Entering directory `/usr/vis5d-5.1/lui5'
make target \
"CC = gcc" \
"CFLAGS = -pipe -g -m486" \
"RANLIB = ranlib"
make[2]: Entering directory `/usr/vis5d-5.1/lui5'
gcc -c -pipe -g -m486 browser.c
In file included from browser.c:10:
lui.h:20:22: error: X11/Xlib.h: No such file or directory
lui.h:21:23: error: X11/Xutil.h: No such file or directory
lui.h:22:28: error: X11/cursorfont.h: No such file or directory
In file included from list.h:8,
                 from browser.h:13,
                 from lui.h:28,
                 from browser.c:10:
......
Looking at stuff online, I determine that I don't have the xorg-x11-devel package. Easy enough to solve. So I try yum, and it can't find it. So I go and download the rpm.

I get xorg-x11-devel-6.8.2-31.i386.rpm and try to install it. It then tells me:
Code:
 xorg-x11-libs = 6.8.2-31 is needed by xorg-x11-devel-6.8.2-31.i386
So I download xorg-x11-libs-6.8.2-31.i386.rpm, install and get this:

Code:
[root@meso ~]# rpm -i xorg-x11-libs-6.8.2-31.i386.rpm 
        file /usr/X11R6/lib/X11/locale/compose.dir from install of xorg-x11-libs-6.8.2-31 conflicts with file from package xorg-x11-libs-data-6.7.0-14
        file /usr/X11R6/lib/X11/locale/en_US.UTF-8/XLC_LOCALE from install of xorg-x11-libs-6.8.2-31 conflicts with file from package xorg-x11-libs-data-6.7.0-14
        file /usr/X11R6/lib/X11/locale/iso8859-2/Compose from install of xorg-x11-libs-6.8.2-31 conflicts with file from package xorg-x11-libs-data-6.7.0-14
So the next thought is to update my xorg-x11-libs-data-6.7.0-14 package to 6.8.2-31. The problem is that 6.7.0-14 is the latest version I can find. If I try and install 6.7.0-14 version packages of the other two, they end up conflicting with the xorg-x11-filesystem-7.0-1 package.

any thoughts on how I can get this development package installed and working?
 
Old 11-22-2006, 01:30 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Maybe try finding an RPM?:
Code:
]# rpm --test -v -i http://monkeyrpms.net/fc2-i386/RPMS/vis5d+-1.2.1-1.mr.i386.rpm
Deps so far are libf2c-3.2.3 and tcl-8.4.5-7.
 
Old 11-22-2006, 01:45 PM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Before running make you did a configuration (./configure), right? It should have produced an error if something was missing, and if it did, you shouldn't have gone any further before you fixed it. Anyway..

Firstly, running ./configure (or preferably reading the appropriate INSTALL and/or README-files) should tell you which version (at minimum) of xorg's devel package you need for this.

Code:
Looking at stuff online, I determine that I don't have the xorg-x11-devel package.
Yes, but the thing is, with which (exact) command did you try installing it through yum? The name could very well be something different (like "xorg-devel"). If you can get X from Yum, I guess it's pretty sensible that you can get the devel package too - if you installed your X from an install cd and haven't updated it since, the devel package is on the cd too. The reason why the downloaded rpm conflicts is that the devel package must be of the same version as the installed one if you wish to use it. You probably figured this out anyway. This is why it's preferable to use package managers instead of just blindly downloading the rpms from the net, and possibly spend some time figuring out where/how to get it using your package manager - that way you won't run into dependency problems (since any package in the reposities should have all it's dependencies there too..it doesn't make sense if this is not the case).

From this point on you have basically two options:

1) search, crawl and find the rest of the missing dependencies - and their dependencies (and so on...), then install them, re-try compiling the code and possibly find more missing packets (I suggest reading all the relevant docs from the install directory/website of the developer and running the configure script first to determine what's missing, if something is) or

2) spend some more time with your package manager and the relevant documentation to find out what the devel package of Xorg is called. I'm pretty confident it is there, you just didn't find it (yet) - yum is quite nice, but if you make a mistake in the packet name it will fail (it won't correct your mistakes, if you happen to do any)

It's the same thing if you're trying to compile something that requires kernel source code to be present (like video card drivers) - the kernel source code must match the running kernel (you can have several, but at least the version that your running kernel is). Package managers were developed to ease the pain called "dependency hell" (which is somewhat old term), so if you'd like to do this, stick with them - or prepare to first search and download every package you need and only then install them.
 
Old 11-23-2006, 03:47 AM   #4
the_warper
LQ Newbie
 
Registered: Apr 2006
Distribution: Fedora core 5
Posts: 24

Rep: Reputation: 15
Frankly adding the livna repo and using yum would have been the simplest.

Last edited by the_warper; 11-23-2006 at 03:50 AM.
 
Old 11-23-2006, 03:28 PM   #5
vortmax
Member
 
Registered: Nov 2005
Posts: 91

Original Poster
Rep: Reputation: 17
okay....

vis5d doesn't have a ./configure file. You run the Makefile with a paramerter indicating which system you are installing on. I did read the README to figure this out. I tried to install via Livna and YUM, but it's not listed in YUM. Using monkeyRPM I did manage to get it installed, and issuing the vis5d command from bash launches the viewer. When I attempt to run ARPS it still tells me that the vis5d libraries are not linked.

I cannot find the developer package on yum. running "yum search xorg" brings up a long list of packages, but none of them have anything about development in them.

running "yum list xorg* |list" gives this output:

Code:
[root@meso yum.repos.d]# yum list xorg* |less
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
Installed Packages
xorg-x11-apps.i386                       1.0.1-2                installed       
xorg-x11-drivers.i386                    7.0-2                  installed       
xorg-x11-drv-acecad.i386                 1.0.0.5-1.2            installed       
xorg-x11-drv-aiptek.i386                 1.0.0.5-1.2            installed       
xorg-x11-drv-apm.i386                    1.0.1.5-1.1            installed       
xorg-x11-drv-ark.i386                    0.5.0.5-1.1            installed       
xorg-x11-drv-ati.i386                    6.5.7.3-4              installed       
xorg-x11-drv-calcomp.i386                1.0.0.5-1.2            installed       
xorg-x11-drv-chips.i386                  1.0.1.3-1.1            installed       
xorg-x11-drv-cirrus.i386                 1.0.0.5-1.1            installed       
xorg-x11-drv-citron.i386                 2.1.5-1                installed       
xorg-x11-drv-cyrix.i386                  1.0.0.5-1.1            installed       
xorg-x11-drv-digitaledge.i386            1.0.1.3-1.2            installed       
xorg-x11-drv-dmc.i386                    1.0.0.5-1.2            installed       
xorg-x11-drv-dummy.i386                  0.1.0.5-1.2            installed       
xorg-x11-drv-dynapro.i386                1.0.0.5-1.2            installed       
xorg-x11-drv-elo2300.i386                1.0.0.5-1.2            installed       
xorg-x11-drv-elographics.i386            1.0.0.5-1.2            installed       
xorg-x11-drv-evdev.i386                  1.0.0.5-1.2            installed       
xorg-x11-drv-fbdev.i386                  0.1.0.5-1.2            installed       
xorg-x11-drv-fpit.i386                   1.0.0.5-1.2            installed       
xorg-x11-drv-glint.i386                  1.0.1.3-2              installed       
xorg-x11-drv-hyperpen.i386               1.0.0.5-1.2            installed       
xorg-x11-drv-i128.i386                   1.1.0.5-1.1            installed       
xorg-x11-drv-i740.i386                   1.0.0.5-2              installed       
xorg-x11-drv-i810.i386                   1.4.1.3-3.1            installed       
xorg-x11-drv-jamstudio.i386              1.0.0.5-1.2            installed       
xorg-x11-drv-joystick.i386               1.0.0.5-1.2            installed       
xorg-x11-drv-keyboard.i386               1.0.1.3-1.2            installed       
xorg-x11-drv-magellan.i386               1.0.0.5-1.2            installed       
xorg-x11-drv-magictouch.i386             1.0.0.5-1.2            installed       
xorg-x11-drv-mga.i386                    1.2.1.3-1.2            installed       
xorg-x11-drv-microtouch.i386             1.0.0.5-1.2            installed       
xorg-x11-drv-mouse.i386                  1.0.4-1                installed       
xorg-x11-drv-mutouch.i386                1.0.0.5-1.2            installed       
xorg-x11-drv-neomagic.i386               1.0.0.5-1.1            installed       
xorg-x11-drv-nsc.i386                    2.7.6.5-2.1            installed       
xorg-x11-drv-nv.i386                     1.0.1.5-3.1            installed       
xorg-x11-drv-palmax.i386                 1.0.0.5-1.2            installed       
xorg-x11-drv-penmount.i386               1.0.0.5-1.2            installed       
xorg-x11-drv-rendition.i386              4.0.1.3-1.1            installed       
xorg-x11-drv-s3.i386                     0.3.5.5-2              installed       
xorg-x11-drv-s3virge.i386                1.8.6.5-1.2            installed       
xorg-x11-drv-savage.i386                 2.0.2.3-1.2            installed       
xorg-x11-drv-siliconmotion.i386          1.3.1.5-1.1            installed       
xorg-x11-drv-sis.i386                    0.8.1.3-1.2            installed       
xorg-x11-drv-sisusb.i386                 0.7.1.3-1.2            installed       
xorg-x11-drv-spaceorb.i386               1.0.0.5-1.2            installed       
xorg-x11-drv-summa.i386                  1.0.0.5-1.2            installed       
xorg-x11-drv-tdfx.i386                   1.1.1.3-1.3            installed       
xorg-x11-drv-trident.i386                1.0.1.2-1.2            installed       
xorg-x11-drv-tseng.i386                  1.0.0.5-1.1            installed       
xorg-x11-drv-ur98.i386                   1.0.0.5-1.2            installed       
xorg-x11-drv-v4l.i386                    0.0.1.5-1.1            installed       
xorg-x11-drv-vesa.i386                   1.0.1.3-1.2            installed       
xorg-x11-drv-vga.i386                    4.0.0.5-2              installed       
xorg-x11-drv-via.i386                    0.1.33.2-2             installed       
xorg-x11-drv-vmware.i386                 10.11.1.3-1.1          installed       
xorg-x11-drv-void.i386                   1.0.0.5-1.2            installed       
xorg-x11-drv-voodoo.i386                 1.0.0.5-1.2            installed       
xorg-x11-filesystem.noarch               7.0-1                  installed       
xorg-x11-font-utils.i386                 1:1.0.1-3              installed       
xorg-x11-fonts-100dpi.noarch             7.0-3                  installed       
xorg-x11-fonts-75dpi.noarch              7.0-3                  installed       
xorg-x11-fonts-ISO8859-1-100dpi.noarch   7.0-3                  installed       
xorg-x11-fonts-ISO8859-1-75dpi.noarch    7.0-3                  installed       
xorg-x11-fonts-Type1.noarch              7.0-3                  installed       
xorg-x11-fonts-base.noarch               7.0-3                  installed       
xorg-x11-fonts-misc.noarch               7.0-3                  installed       
xorg-x11-fonts-truetype.noarch           7.0-3                  installed       
xorg-x11-libs.i386                       6.7.0-14               installed       
xorg-x11-libs-data.i386                  6.7.0-14               installed       
xorg-x11-server-Xorg.i386                1.0.1-8                installed       
xorg-x11-server-utils.i386               1.0.1-1.2              installed       
xorg-x11-twm.i386                        1:1.0.1-1.2            installed       
xorg-x11-utils.i386                      1.0.1-1.2              installed       
xorg-x11-xauth.i386                      1:1.0.1-1.2            installed       
xorg-x11-xdm.i386                        1:1.0.1-1.2            installed       
xorg-x11-xfs.i386                        1:1.0.1-4              installed       
xorg-x11-xinit.i386                      1.0.1-2                installed       
xorg-x11-xkb-utils.i386                  1.0.1-1.2              installed       
xorg-x11-xkbdata.noarch                  1.0.1-7                installed       
Available Packages
xorg-x11-apps.i386                       7.0-1                  updates         
xorg-x11-drv-ati.i386                    6.5.8.0-1              updates         
xorg-x11-drv-fglrx.i386                  8.29.6-1.lvn5          livna           
xorg-x11-drv-fglrx-devel.i386            8.29.6-1.lvn5          livna           
xorg-x11-drv-i810-devel.i386             1.4.1.3-3.1            core            
xorg-x11-drv-nv.i386                     1.2.0-3.fc5            updates         
xorg-x11-drv-nvidia.i386                 1.0.8776-1.lvn5        livna           
xorg-x11-drv-nvidia-devel.i386           1.0.8776-1.lvn5        livna           
xorg-x11-drv-nvidia-legacy.i386          1.0.7184-2.lvn5        livna           
xorg-x11-drv-nvidia-legacy-devel.i386    1.0.7184-2.lvn5        livna           
xorg-x11-drv-tek4957.i386                1.0.0.1-1.2            core            
xorg-x11-drv-via-devel.i386              0.1.33.2-2             core            
xorg-x11-fonts-ISO8859-14-100dpi.noarch  7.0-3                  core            
xorg-x11-fonts-ISO8859-14-75dpi.noarch   7.0-3                  core            
xorg-x11-fonts-ISO8859-15-100dpi.noarch  7.0-3                  core            
xorg-x11-fonts-ISO8859-15-75dpi.noarch   7.0-3                  core            
xorg-x11-fonts-ISO8859-2-100dpi.noarch   7.0-3                  core            
xorg-x11-fonts-ISO8859-2-75dpi.noarch    7.0-3                  core            
xorg-x11-fonts-ISO8859-9-100dpi.noarch   7.0-3                  core            
xorg-x11-fonts-ISO8859-9-75dpi.noarch    7.0-3                  core
notice no reference to any development packages. The repos being searched include livna and the base Fedora repos.


EDIT: I think I got it. Apparently with FC5 they split up the repos. There is no longer a xorg-x11-devel package. It is now xorg-x11-proto-devel. Happened to come across it by random chance. That installed...the make file runs and now it's just down to a few random development packages that I need.

Thanks for your help.

Last edited by vortmax; 11-23-2006 at 04:46 PM.
 
  


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
Dependency Hell Mithrilhall Linux - Newbie 5 04-28-2006 10:29 AM
please help me I'm in dependency hell baronsam Linux - Software 5 11-05-2004 09:33 PM
dependency hell riseringseeker Linux - Newbie 3 09-22-2004 01:57 PM
Dependency Hell :-( AMMullan Linux - Software 5 03-27-2004 10:51 PM
Dependency Hell Time Lord Mandriva 2 09-09-2003 03:48 PM

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

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