Re: would you mind answering this problem?
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?
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?
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/
would you mind answering this problem?
dear sir, 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 then you give the error: A fatal error has occurred and Cygwin/X will nowexit. Please open /tmpXWin.log for more information. Vender: The Cygwin/XProject Release: 6.8.2.0-4 XContact:cygwin-xfree@cygwin.com XWIn was started with the following command line: X:0 -multiwindow -clipboard p.s. i'm a beginner to use cygwin and please teach me how i can set "c:\Program Files\Java" into "PATH" ? Yoshida Akira, Ph.D. Nanoscience and Nanotechnology Center,ISIR, Osaka University 8-1 Mihogaoka,Ibaraki,Osaka 567-0047,Japan Tel:+81-6-6879-4285,4286 Fax:+81-6-6879-4287 http://www.sanken.osaka-u.ac.jp/labs/nano/index.html -- 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/