Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 11-22-2006, 02:07 PM   #1
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:

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:
 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:

[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, 02:30 PM   #2
Registered: May 2001
Posts: 29,394
Blog Entries: 55

Rep: Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565
Maybe try finding an RPM?:
]# rpm --test -v -i
Deps so far are libf2c-3.2.3 and tcl-8.4.5-7.
Old 11-22-2006, 02:45 PM   #3
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.

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 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, 04:47 AM   #4
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 04:50 AM.
Old 11-23-2006, 04:28 PM   #5
Registered: Nov 2005
Posts: 91

Original Poster
Rep: Reputation: 17

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:

[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                   installed       
xorg-x11-drv-aiptek.i386                   installed       
xorg-x11-drv-apm.i386                      installed       
xorg-x11-drv-ark.i386                      installed       
xorg-x11-drv-ati.i386                        installed       
xorg-x11-drv-calcomp.i386                  installed       
xorg-x11-drv-chips.i386                    installed       
xorg-x11-drv-cirrus.i386                   installed       
xorg-x11-drv-citron.i386                 2.1.5-1                installed       
xorg-x11-drv-cyrix.i386                    installed       
xorg-x11-drv-digitaledge.i386              installed       
xorg-x11-drv-dmc.i386                      installed       
xorg-x11-drv-dummy.i386                    installed       
xorg-x11-drv-dynapro.i386                  installed       
xorg-x11-drv-elo2300.i386                  installed       
xorg-x11-drv-elographics.i386              installed       
xorg-x11-drv-evdev.i386                    installed       
xorg-x11-drv-fbdev.i386                    installed       
xorg-x11-drv-fpit.i386                     installed       
xorg-x11-drv-glint.i386                      installed       
xorg-x11-drv-hyperpen.i386                 installed       
xorg-x11-drv-i128.i386                     installed       
xorg-x11-drv-i740.i386                       installed       
xorg-x11-drv-i810.i386                     installed       
xorg-x11-drv-jamstudio.i386                installed       
xorg-x11-drv-joystick.i386                 installed       
xorg-x11-drv-keyboard.i386                 installed       
xorg-x11-drv-magellan.i386                 installed       
xorg-x11-drv-magictouch.i386               installed       
xorg-x11-drv-mga.i386                      installed       
xorg-x11-drv-microtouch.i386               installed       
xorg-x11-drv-mouse.i386                  1.0.4-1                installed       
xorg-x11-drv-mutouch.i386                  installed       
xorg-x11-drv-neomagic.i386                 installed       
xorg-x11-drv-nsc.i386                      installed       
xorg-x11-drv-nv.i386                       installed       
xorg-x11-drv-palmax.i386                   installed       
xorg-x11-drv-penmount.i386                 installed       
xorg-x11-drv-rendition.i386                installed       
xorg-x11-drv-s3.i386                         installed       
xorg-x11-drv-s3virge.i386                  installed       
xorg-x11-drv-savage.i386                   installed       
xorg-x11-drv-siliconmotion.i386            installed       
xorg-x11-drv-sis.i386                      installed       
xorg-x11-drv-sisusb.i386                   installed       
xorg-x11-drv-spaceorb.i386                 installed       
xorg-x11-drv-summa.i386                    installed       
xorg-x11-drv-tdfx.i386                     installed       
xorg-x11-drv-trident.i386                  installed       
xorg-x11-drv-tseng.i386                    installed       
xorg-x11-drv-ur98.i386                     installed       
xorg-x11-drv-v4l.i386                      installed       
xorg-x11-drv-vesa.i386                     installed       
xorg-x11-drv-vga.i386                        installed       
xorg-x11-drv-via.i386                       installed       
xorg-x11-drv-vmware.i386                 installed       
xorg-x11-drv-void.i386                     installed       
xorg-x11-drv-voodoo.i386                   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                        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               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                  core            
xorg-x11-drv-via-devel.i386                 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 05:46 PM.


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

All times are GMT -5. The time now is 01:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration