From: David Bartlett <david.c.bartlett@ca.ibm.com>
To: cygwin@cygwin.com
Subject: Fw: 1.7.9-1 path issues
Date: Fri, 14 Oct 2011 20:36:00 -0000 [thread overview]
Message-ID: <OF1444E917.49B9DCAB-ON88257929.0070E175-88257929.0070E7FA@ca.ibm.com> (raw)
Hi,
I have been searching for three days now for an answer to my issue and am
only posting here as a last resort.
Recently I updated from a thinkpad T61 to a T410 and installed cygwin on
it exactly as I had on the T61. The only
difference was that on the T61 I had an older version of cygwin installed
(I'm not sure which one but it would have been
from around mid 2009).
Both laptops have Windows XP installed and Oracle 10G Express Edition.
in my .profile i have my HOME variable set as HOME=/home/dcbartlett
I have other variables set up in my profile that take the HOME value as a
root.
DC_ROOT=$HOME/bcystage/app/xform/DC_Scripts; export DC_ROOT
DC_ERROR=$DC_ROOT/log; export DC_ERROR
DC_REFRESH_MSG_FILE="$DC_ERROR/refresh_msgs.txt"; export
DC_REFRESH_MSG_FILE;
I have unix scripts that use those variables and they call sqlplus which
in turn uses those variables in spool commands.
The issue is that the logging the unix scripts perform works but the
spooling from sqlplus does not.
If I change the HOME variable to HOME=C:/cygwin/home/dcbartlett the unix
logging no longer
works but sqlplus spooling does. In both cases I get file not found
messages.
Setting HOME to C:/cygwin/home/dcbartlett worked for both unix and sqlplus
on my old laptop (with the older version
of cygwin). And I don't recall doing anything funky to get that to work.
Does anyone have any idea on how I can resolve this without having to
create one set of
variables for Oracle and one for Unix. I am not sure if this is a cygwin
issue or an
oracle issue.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next reply other threads:[~2011-10-14 20:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-14 20:36 David Bartlett [this message]
2011-10-14 21:08 ` Jeremy Bopp
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=OF1444E917.49B9DCAB-ON88257929.0070E175-88257929.0070E7FA@ca.ibm.com \
--to=david.c.bartlett@ca.ibm.com \
--cc=cygwin@cygwin.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).