LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Failed dependency (http://www.linuxquestions.org/questions/linux-software-2/failed-dependency-890852/)

sethusubbiah 07-09-2011 07:35 PM

Failed dependency
 
Hi,

I want to install snowflock in my machine. It required few dependancies.I found some and I am searching for the following :

i) libpython2.5.so.1.0 ii) libtinfo.so.5 iii) python(abi) = 2.5

I searched , but I am not able to find these. I am running Centos 5.6 with linux kernel 2.6.18-238.el5.

The command : rpm -q --provides python | grep -Fw 'python(abi)' returns python(abi) = 2.4 .

As far as I searched, libtinfo.so.5 is a part of ncurses library now. But It is searching for that specific dependecy library. I tried downloading ncurses and installing with './configure --with-termlib' as per the information in a forum. But didnt work (I didnt remove the previous ncurses library already installed).

My current python version is 2.4.3. If someone has any idea about installing these dependencies please help me out. Thanks in advance.

- Sethu

XavierP 07-10-2011 11:52 AM

Centos uses rpm to install software. The rpm database is only aware of other rpms and will not recognise hand configured/installed software. Is ncurses not available through your package manager?

sethusubbiah 07-10-2011 02:46 PM

It has the ncurses library but it is still searching for libtinfo.so.5.

Yeah I guessed the mismatch. But I dont exactly know the right kernel. I am trying Fedora 8 right now. I installed it from the live cd and found it has the required python(abi) = 2.5. But the eth0 interface is not detected. My machine has Broadcom Corporation NetXtreme II BCM5716 Gigabit Ethernet controller. Looks like fedora 8 doesnt have the required driver. I am still confused how to solve this.

TB0ne 07-10-2011 04:45 PM

Quote:

Originally Posted by sethusubbiah (Post 4410907)
It has the ncurses library but it is still searching for libtinfo.so.5.

Yeah I guessed the mismatch. But I dont exactly know the right kernel. I am trying Fedora 8 right now. I installed it from the live cd and found it has the required python(abi) = 2.5. But the eth0 interface is not detected. My machine has Broadcom Corporation NetXtreme II BCM5716 Gigabit Ethernet controller. Looks like fedora 8 doesnt have the required driver. I am still confused how to solve this.

No confusion at all about it. You're using Fedora 8, which is ANCIENT..the latest is 15. Load a current, up-to-date distro, and your hardware and library problems will probably go away.

chrism01 07-10-2011 07:45 PM

Whether you use Centos 5.6 (post #1) or Fedora, rpm is the Pkg File Spec, BUT the Pkg File Mgr is yum and that will automatically handle dependencies for you.
http://kbase.redhat.com/faq/docs/DOC-2531

BTW TB0ne is right; F8 is obsolete; current is F15 iirc.

sethusubbiah 07-10-2011 11:05 PM

Yeah F8 may be obsolete but Snowflock rpm was built on an old kernnel. I am not 100% sure it will work on F8 but I hope it does. Is there any way to get the network interface working?

John VV 07-11-2011 01:40 AM

I am trying Fedora 8 right now.
fedora 8 hit it's end of Life in Dec. 2008 yes in 2008

not just obsolete but the repos were moved to the historical archives
AND they have a different security hash do to a break in with the fedora 8 repo servers .
the hash on the very old 8 install cd will not work .

on rhel/centos 5.6 you can install a newer version of python side by side with the REQUIRED by cent 2.4 ( remove 2.4 and you KILL the install)

that is easy to do

TB0ne 07-11-2011 09:42 AM

Quote:

Originally Posted by sethusubbiah (Post 4411151)
Yeah F8 may be obsolete but Snowflock rpm was built on an old kernnel. I am not 100% sure it will work on F8 but I hope it does. Is there any way to get the network interface working?

Well, according to the Snowflock page on Sourceforge, it was last updated 5 days ago.

http://snowflock.hg.sourceforge.net/...e/f51417926bbc

And the .spec files and source code are there, so compiling/installing from source, or building an RPM that works with a current distro is trivial.

sethusubbiah 07-13-2011 08:45 PM

I am trying to compile snowflock from source and also use the fedora 8. I am planning to continue with anything that works first.

I successfully installed the driver and the ethernet seems to work now. I installed snowflock from the rpm and the installation was complete. It also created the required kernel and set it as default. Please find the /boot/grub/grub.conf below :


# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title SnowFlock Xen 3.0.3 / Linux (2.6.16.29-xen)
root (hd0,0)
kernel /xen-3.0.3-0.gz console=vga
module /vmlinuz-2.6.16.29-xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
module /initrd-2.6.16.29-xen.img
title Fedora (2.6.23.1-42.fc8)
root (hd0,0)
kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.23.1-42.fc8.img


Now when I do reboot to continue with the newly created snowflock kernel. I am not able to boot. I get the following error while booting :

Volume group "VOLGROUP00" not found.
mount: couldnt find filesystem '/dev/root'
setuproot: moving /dev failed: no such file or directory
setuproot:error mounting /proc: no such file or directory
setuproot: error mounting /sys: no such file or directory
switchroot: mount failed: no such file or directory.

Is this caused by some incompatibility with the initrd ramdisk for the snowflock kernel ?

John VV 07-13-2011 09:30 PM

Quote:

I am trying to compile snowflock from source and also use the fedora 8.
then you are on your own
Fedora 8 is DEAD and unsupported .
there are no new rpm's to install
the ones that are there in the archives are it , all there is .

and xen support in the old 8 was bad .- full of bugs
it is fully supported in the current kernel in fedora 15

the LVM in fedora 8 ( well 4 to 12 ) is BAD - full of NEVER to be fixed bugs
it is better in 15 but not the best

if you intend on using 8 then DO NOT use the bug full lvm that was on 8
use ext2 or 3

sethusubbiah 07-13-2011 11:13 PM

I didnt state it properly :

By "I am trying to compile snowflock from source and also use the fedora 8" I meant , I am trying installation from source in CentOS 5.6 and also installation from rpm in fedora 8.

John VV 07-13-2011 11:29 PM

you can not use a fedora 8 rpm on centos 5.6
they are two VERY VERY different operation systems
but go ahead if you want
you will end up with a dead OS that might not boot.

ifeanyeg 07-19-2012 12:46 AM

Quote:

Originally Posted by sethusubbiah (Post 4410244)
Hi,

I want to install snowflock in my machine. It required few dependancies.I found some and I am searching for the following :

i) libpython2.5.so.1.0 ii) libtinfo.so.5 iii) python(abi) = 2.5

I searched , but I am not able to find these. I am running Centos 5.6 with linux kernel 2.6.18-238.el5.

The command : rpm -q --provides python | grep -Fw 'python(abi)' returns python(abi) = 2.4 .

As far as I searched, libtinfo.so.5 is a part of ncurses library now. But It is searching for that specific dependecy library. I tried downloading ncurses and installing with './configure --with-termlib' as per the information in a forum. But didnt work (I didnt remove the previous ncurses library already installed).

My current python version is 2.4.3. If someone has any idea about installing these dependencies please help me out. Thanks in advance.

- Sethu

Hi Sethu,

how did you resolve this problem? I am having exactly the same issue.
Please I need assistance.

Please another person encountered this before?

Regards,
Ifeanyi

chrism01 07-19-2012 07:41 PM

Please start a new thread; this one finished a year ago, so you won't get a reply (see posting dates..)


All times are GMT -5. The time now is 02:41 AM.