From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FG06R-0003H9-C9 for garchives@archives.gentoo.org; Sun, 05 Mar 2006 20:45:19 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k25KhsZW009988; Sun, 5 Mar 2006 20:43:54 GMT Received: from av1.karneval.cz (mx0.karneval.cz [81.27.192.107]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k25Kdu8V018361 for ; Sun, 5 Mar 2006 20:39:56 GMT Received: from localhost (localhost [127.0.0.1]) by av1.karneval.cz (Postfix) with ESMTP id 90E663B334 for ; Sun, 5 Mar 2006 21:39:56 +0100 (CET) Received: from av1.karneval.cz ([127.0.0.1]) by localhost (av1 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15060-10 for ; Sun, 5 Mar 2006 21:39:54 +0100 (CET) Received: from mail.karneval.cz (mx1.karneval.cz [81.27.192.53]) by av1.karneval.cz (Postfix) with ESMTP id C798F3B329 for ; Sun, 5 Mar 2006 21:39:54 +0100 (CET) Received: from [10.112.15.14] (unknown [10.112.15.14]) by mail.karneval.cz (Postfix) with ESMTP id AEF587825D for ; Sun, 5 Mar 2006 21:39:54 +0100 (CET) Subject: Re: [gentoo-user] env-update problem From: Franta To: gentoo-user@lists.gentoo.org In-Reply-To: <440A2094.5000405@gentoo.org> References: <1141512330.28546.5.camel@frankies.at_home> <440A2094.5000405@gentoo.org> Content-Type: text/plain Date: Sun, 05 Mar 2006 21:36:16 +0100 Message-Id: <1141590976.14942.1.camel@frankies.at_home> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by karneval.cz X-Archives-Salt: eb8a3151-32da-422b-ac78-92fd477a2e68 X-Archives-Hash: 27bcfd34b5dfa731e69f70dc4f5c5654 On Sat, 2006-03-04 at 15:19 -0800, Zac Medico wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Franta wrote: > > Hi, > > > > I'm trying to install ORACLE on my box following the HOWTO on > > gentoo-wiki. > > > > After creating this /etc/env.d/99oracle: > > > > ORACLE_BASE=/opt/oracle > > ORACLE_HOME=$ORACLE_BASE/product/10.1.0.3 > > ORACLE_SID=''MyDB'' > > It's choking on the '' characters in line 3 above. Apparently that doesn't work with python's shlex module that is used to parse the 99oracle file. For reference, here are the rules (portage uses non-POSIX mode): > > http://docs.python.org/lib/shlex-parsing-rules.html > > > ORACLE_TERM=xterm > > ORACLE_OWNER=oracle > > TNS_ADMIN=$ORACLE_HOME/network/admin > > NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1 > > ORA_NLS10=$ORACLE_HOME/nls/data > > CLASSPATH=$ORACLE_HOME/jdbc/lib/classes12.zip > > LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32 > > DISABLE_HUGETLBFS=1 > > PATH=$ORACLE_HOME/bin > > ROOTPATH=$ORACLE_HOME/bin > > LDPATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32 > > > > ... I get this from env-update: > > > > frankies env.d # env-update > > !!! Invalid token (not "=") ORACLE_TERM > > Traceback (most recent call last): > > File "/usr/sbin/env-update", line 29, in ? > > portage.env_update(makelinks) > > File "/usr/lib/portage/pym/portage.py", line 561, in env_update > > myconfig=getconfig(root+"etc/env.d/"+x) > > File "/usr/lib/portage/pym/portage_util.py", line 257, in getconfig > > raise e.__class__, str(e)+" in "+mycfg > > Exception: ParseError: Invalid token (not '='): /etc/env.d/99oracle: > > line 4 in /etc/env.d/99oracle > > frankies env.d # > > Hmm, the actual problem is on line 3 but the parser complains about line 4 instead. > > Zac > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.1 (GNU/Linux) > > iD8DBQFECiCS/ejvha5XGaMRApVpAJ9A09K78tGTDKGGeZaGvv3Mw7pykwCfac6X > zs5d0MULkX8C3tGlG3b6bzI= > =uIg9 > -----END PGP SIGNATURE----- Whoops, I dunno which devil was riding me to let these apastrophes there. Thanks Frank -- gentoo-user@gentoo.org mailing list