Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2002 17:37:22 -0300
From:      Fernan Aguero <fernan@iib.unsam.edu.ar>
To:        freebsd-questions@freebsd.org
Cc:        FreeBSD Ports <ports@freebsd.org>
Subject:   installing python2 on linux_base-7.1
Message-ID:  <20021022203722.GA76290@iib.unsam.edu.ar>

next in thread | raw e-mail | index | archive | help
--- I am sending this message to questions since I got no
--- reply from freebsd-emulation, which I supposed was the
--- correct mailing-list for this topic. I am also CCing
--- freebsd-ports which is the maintainer of the linux_base
--- port.


Hi!

I am trying to install python2 from rpm over a recently
updated linux_base-7.1 (linux_base-6 -> lihux_base-7).

I am invoking rpm with the following command line options:
pi# rpm --allfiles --ignoreos --root /compat/linux --dbpath /var/lib/rpm --replacepkgs -i python2-2.2.1-2.i386.rh7.3.rpm

I get several failed dependencies, they are mostly shared
libraries. I search rpmfind.net with each one and downloaded
the rpm package corresponding to RedHat-7.3 i386, as I
guessed that this is the closer I can get. Is my reasoning
here correct?

Now after installing and cleaning most dependencies I still
have these ones to fulfill:
error: failed dependencies:
        libdb-3.2.so   is needed by python2-2.2.1-2
        libdb.so.3   is needed by python2-2.2.1-2
        libreadline.so.4   is needed by python2-2.2.1-2
												
However, libreadline apparently is installed by linux_base
(distinfo lists it as readline-4.1-9.i386.rpm). My
rpmfind.net search says that libreadline.so.4 is installed
by readline-4.2a-4.i386.rpm.
Upon trying to install this one I get the following:
file /usr/lib/libhistory.so.4 from install of
readline-4.2a-4 conflicts with file from package
readline-4.1-9
file /usr/lib/libreadline.so.4 from install of
readline-4.2a-4 conflicts with file from package
readline-4.1-9
file /usr/share/info/history.info.gz from install of
readline-4.2a-4 conflicts with file from package
readline-4.1-9
file /usr/share/info/readline.info.gz from install of
readline-4.2a-4 conflicts with file from package
readline-4.1-9
file /usr/share/info/rluserman.info.gz from install of
readline-4.2a-4 conflicts with file from package
readline-4.1-9
file /usr/share/man/man3/readline.3.gz from install of
readline-4.2a-4 conflicts with file from package
readline-4.1-9

So why does python2 still complains about a failed
dependency?

Also with libdb, apparently it is already installed by
linux_base. However in this case, I get a failed dependency
on db3x-3.2.9-4.i386.rpm (from rpmfind.net):
error: failed dependencies:
        libtcl.so.0   is needed by db3x-3.2.9-4

However I cannot seem to find any rpm providing this
library on rpmfind.net

Can I safely ignore these and force python2 to install?

Any tips or suggestions are welcome.

Fernan

--
F e r n a n   A g u e r o
http://genoma.unsam.edu.ar/~fernan

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021022203722.GA76290>