Re: installing python2 on linux_base-7.1
+[ Esto dijo paul ([EMAIL PROTECTED]): | | Fernan Aguero wrote: | | Can I safely ignore these and force python2 to install? | | | any reason why you can't just use the ports version? You mean /usr/ports/lang/python20 or python21? No ... I need the linux one. I have a linux software package that installs a web interface and all cgi scripts are written in python. In the past I just got along with linux_base 6 and linux-python15, and I'm now upgrading this package which now needs python2. For some reason that I don't understand it just don't work with a native FreeBSD python (I had already gone the path of changing all '#!/usr/bin/env python' to either '#!/path_to_FBSD_binary' or ''#!/usr/bin/env path_to_FBSD_binary' to no avail. Pointing all scripts to '#!/usr/bin/env /compat/linux/usr/bin/env python' just works). But then I need the linux binary installed under /compat/linux/. Fernan | | +] -- F e r n a n A g u e r o http://genoma.unsam.edu.ar/~fernan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: installing python2 on linux_base-7.1
+[ Esto dijo paul ([EMAIL PROTECTED]): | | Fernan Aguero wrote: | | Can I safely ignore these and force python2 to install? | | | any reason why you can't just use the ports version? You mean /usr/ports/lang/python20 or python21? No ... I need the linux one. I have a linux software package that installs a web interface and all cgi scripts are written in python. In the past I just got along with linux_base 6 and linux-python15, and I'm now upgrading this package which now needs python2. For some reason that I don't understand it just don't work with a native FreeBSD python (I had already gone the path of changing all '#!/usr/bin/env python' to either '#!/path_to_FBSD_binary' or ''#!/usr/bin/env path_to_FBSD_binary' to no avail. Pointing all scripts to '#!/usr/bin/env /compat/linux/usr/bin/env python' just works). But then I need the linux binary installed under /compat/linux/. If I be you I'd put that linux staff and native python in one jail, where both Linux and FreeBSD staff has native directory tree (linux not in /compat/linux but in / relative to jaill's root) If that will be unsufficient, then look at ktrace and fix NAMI troubles, may be by symlinks (ignore /compat/linux troubles, some other troubles can/must be ignored too). After it works redesign all directory layout and redebug :-). -- @BABOLO http://links.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
installing python2 on linux_base-7.1
--- 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 [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: installing python2 on linux_base-7.1
Fernan Aguero wrote: Can I safely ignore these and force python2 to install? any reason why you can't just use the ports version? -- Paul Beard / 8040 27th Ave NE / Seattle WA 98115 / paulbeard [at] mac [ dot] com / 206 529 8400 weblog @ http://paulbeard.no-ip.org/movabletype/ The fact that boys are allowed to exist at all is evidence of a remarkable Christian forbearance among men. -- Ambrose Bierce To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message