From: Zac Medico <zmedico@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] env-update problem
Date: Sat, 04 Mar 2006 15:19:48 -0800 [thread overview]
Message-ID: <440A2094.5000405@gentoo.org> (raw)
In-Reply-To: <1141512330.28546.5.camel@frankies.at_home>
-----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-----
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-03-04 23:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-04 22:45 [gentoo-user] env-update problem Franta
2006-03-04 23:19 ` Zac Medico [this message]
2006-03-05 20:36 ` Franta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=440A2094.5000405@gentoo.org \
--to=zmedico@gentoo.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox