From owner-freebsd-ports@FreeBSD.ORG Wed Oct 22 22:44:18 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73180106566C for ; Wed, 22 Oct 2008 22:44:18 +0000 (UTC) (envelope-from ady@ady.ro) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by mx1.freebsd.org (Postfix) with ESMTP id EB5638FC08 for ; Wed, 22 Oct 2008 22:44:17 +0000 (UTC) (envelope-from ady@ady.ro) Received: by fk-out-0910.google.com with SMTP id k31so36058fkk.11 for ; Wed, 22 Oct 2008 15:44:16 -0700 (PDT) Received: by 10.181.146.11 with SMTP id y11mr3448244bkn.5.1224713879147; Wed, 22 Oct 2008 15:17:59 -0700 (PDT) Received: by 10.181.37.7 with HTTP; Wed, 22 Oct 2008 15:17:59 -0700 (PDT) Message-ID: <78cb3d3f0810221517k780e4cafy6418c42b8c845915@mail.gmail.com> Date: Thu, 23 Oct 2008 00:17:59 +0200 From: "Adrian Penisoara" To: martinko In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <78cb3d3f0807260841k336f20a9jce857189c55adb16@mail.gmail.com> <78cb3d3f0807270122r4d2377d9gbf4e3ed5386918fa@mail.gmail.com> <20080727121503.679bc598@deskjail> <78cb3d3f0807271003q3f5ab72dr2147cf7b1a3348fc@mail.gmail.com> <48FE3708.8010501@users.sf.net> <20081021212134.GA79808@graf.pompo.net> Cc: freebsd-database@freebsd.org, freebsd-emulation@freebsd.org, rofug@rofug.ro, freebsd-ports@freebsd.org Subject: Re: Q: Is there any use for Oracle database port installation under Linux compat root ? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 22:44:18 -0000 Hi, On Wed, Oct 22, 2008 at 12:51 AM, martinko wrote: > Thierry Thomas wrote: >> >> Le Mar 21 oct 08 =E0 22:09:44 +0200, martinko >> =E9crivait : >> >>> Hi, >> >> Hello, >> >>> No Oracle installation I have ever seen was installed into /home and it >>> would be against Oracle Optimal Flexible Architecture (OFA) guidelines! >> >> Agreed. >> >>> /usr/local/oracle would be OK and users can move the directory tree >>> elsewhere afterwards. Or maybe you can ask about Oracle Base directory >>> during config/installation process, if possible. >> >> I would suggest to install under $ORACLE_HOME, defaulted to: >> >> ORACLE_HOME?=3D ${PREFIX}/oracle >> >> (or may be ${PREFIX}/oracle${VERSION} to allow the installation of >> different versions) I have used a similar schema for the prefixing part, just used a different variable name. Do not confuse this with the ORACLE_HOME environment used by Oracle, what we set here is closer to the idea of ORACLE_BASE. We should not use a version field in this variable since the product version signature is further in the path (see below). >> >> Regards, > > Hallo, > > Well, it's a bit more complicated than that.. > > OFA guidelines say that $ORACLE_HOME shoud be in the form of e.g. > $ORACLE_BASE/product/10.2.0/db_1 > > And application (DB) is installed into its $ORACLE_HOME and thus one can > have many different installations of many different versions. > > Then there are other directories under $ORACLE_BASE that usually contain > Oracle Inventory (of installed software) and DB data files etc. > > Usually everything under $ORACLE_BASE is created and taken care by Oracle > Universal Installer (which is Java application). Right. See above. > > Another issue may be where to place oratab file. It is located in > /var/opt/oracle/oratab on SunOS and in /etc/oratab on other Unixes. The OracleXE packages have a hardcoded value for /etc/oratab. I'm going to leave it this way for the sake of compatibility. One more question: how usefull would it be to use the Linux (Bash) shell instead of a native (FreeBSD) shell ? Thank you for your suggestions, I'm closer to the completion of the port. Adrian.