This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Having problems with bash


syllk wrote:
> I am hoping that there is a simple fix to this. I am new to cygwin and tinyos
> and when running cygwin it immediately runs with this first line 'bash: [:
> /home/Chris: binary operator expected'. With this problem I seem to get
> errors whenever I try to 'make' anything.
>
> If anyone knows how to fix this I would much appreciate it.

  The simple way to debug Cygwin bash startup problems:

1. Open cmd.exe shell
2. "cd C:\cygwin\bin" or whereever the /bin dir has ended up when you've
installed it.
3. "bash --login -i -x"

  Now bash will print out to the screen all the startup scripts as it
executes them.  Once you've seen what the failing code is, you can figure out
whether it's in /etc/profile or ~/.bashrc or ~/.bash_profile and figure out
how to fix it.

  Are there spaces in your Windows username?

    cheers,
      DaveK

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]