Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2002 01:47:03 +0400 (MSD)
From:      "."@babolo.ru
To:        Fernan Aguero <fernan@iib.unsam.edu.ar>
Cc:        paul <pkdb1@attbi.com>, freebsd-questions@FreeBSD.ORG, FreeBSD Ports <ports@FreeBSD.ORG>
Subject:   Re: installing python2 on linux_base-7.1
Message-ID:  <200210232147.g9NLl3R7076914@aaz.links.ru>
In-Reply-To: <20021023132220.GA83109@iib.unsam.edu.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
> +----[ Esto dijo paul (pkdb1@attbi.com):
> |
> | 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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