From owner-freebsd-ports Wed Oct 23 14:46:49 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0A8237B401; Wed, 23 Oct 2002 14:46:47 -0700 (PDT) Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 145F343E4A; Wed, 23 Oct 2002 14:46:47 -0700 (PDT) (envelope-from babolo@aaz.links.ru) Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by aaz.links.ru (8.12.6/8.12.6) with ESMTP id g9NLl5Dh076915; Thu, 24 Oct 2002 01:47:05 +0400 (MSD) (envelope-from babolo@aaz.links.ru) Received: (from babolo@localhost) by aaz.links.ru (8.12.6/8.12.6/Submit) id g9NLl3R7076914; Thu, 24 Oct 2002 01:47:03 +0400 (MSD) Message-Id: <200210232147.g9NLl3R7076914@aaz.links.ru> Subject: Re: installing python2 on linux_base-7.1 X-ELM-OSV: (Our standard violations) hdr-charset=KOI8-R; no-hdr-encoding=1 In-Reply-To: <20021023132220.GA83109@iib.unsam.edu.ar> To: Fernan Aguero Date: Thu, 24 Oct 2002 01:47:03 +0400 (MSD) From: "."@babolo.ru Cc: paul , freebsd-questions@FreeBSD.ORG, FreeBSD Ports X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > +----[ 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-ports" in the body of the message