Re: would you mind answering this problem?

2006-03-14 Thread Alexander

Hi Phil,
thanks for reminding - I didn't see it because I expected cygwin to do 
the translation like it does within programs because of the ' '

But you're right. I was concentration more on his XWin dosn't start :)
He should append his new paths at the end of the statement anyway imo. 
So if he messes something up the rest of cygwin will still work.


export PATH="${PATH}:${G4INSTALL}/bin/${G4SYSTEM}:/cygdrive/c/Program 
Files/Java"


Alex
http://www.aiengine.org


Yoshida akira wrote on Tuesday, March 14, 2006 11:33 AM::

 


i had an error in attached file using cygwin.
would you mind answering how i can solve this problem ?

--
1. i set erroneous PATH statement in .bashrc :
  export PATH='c:/Program Files/Java':$/{PATH}
  :{G4INSTALL}/bin/${G4SYSTEM} 2. start cygwin and $ startx
   



In cygwin, the colon is used to separate path elements, so 
c:/Program Files/Java actually adds two paths "c" and 
"/Program Files/Java", neither of which you want.


Instead what you need is the Posix path which will be 
"/cygdrive/c/Program Files/Java"


e.g.:
export PATH="/cygdrive/c/Program
Files/Java:${PATH}:${G4INSTALL}/bin/${G4SYSTEM}"

(assuming that ${G4INSTALL}/bin/${G4SYSTEM} is a valid Posix path)


Phil
 




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: would you mind answering this problem?

2006-03-14 Thread Phil Betts
Yoshida akira wrote on Tuesday, March 14, 2006 11:33 AM::

> i had an error in attached file using cygwin.
> would you mind answering how i can solve this problem ?
> 
> --
> 1. i set erroneous PATH statement in .bashrc :
>export PATH='c:/Program Files/Java':$/{PATH}
>:{G4INSTALL}/bin/${G4SYSTEM} 2. start cygwin and $ startx

In cygwin, the colon is used to separate path elements, so 
c:/Program Files/Java actually adds two paths "c" and 
"/Program Files/Java", neither of which you want.

Instead what you need is the Posix path which will be 
"/cygdrive/c/Program Files/Java"

e.g.:
export PATH="/cygdrive/c/Program
Files/Java:${PATH}:${G4INSTALL}/bin/${G4SYSTEM}"

(assuming that ${G4INSTALL}/bin/${G4SYSTEM} is a valid Posix path)


Phil
-- 

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the H.E Information Systems Ltd. 
Tel:0161 866 9066
Web:  www.heis.co.uk

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.clearswift.com
**


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: would you mind answering this problem?

2006-03-14 Thread Alexander

Dear Yoshida,

Write ${PATH} insteed of
$/{PATH} 
Alex

http://www.aiengine.org




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/