Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Cygwin error regarding profile.global
September 1, 2006, 4:28 pm
rate this thread
those who have the same issue can find the solution when they do a
Google Groups search. Please do not flame me for posting this here.
If you object to the presence of this post here, the best thing you can
do at this point is ignore it, and it will soon drop off your radar.
I've installed cygwin on various machines over the years and never
gotten this error until today when I tried installing cygwin on a new
machine. The error is:
"bash: can't find configuration file
There is no such configuration file in cygwin, and this error is
misleading. If you receive this error it means that your HOME system
variable is not set. This procedure describes setting the HOME
variable on an XP machine.
1. Launch the Control Panel:
Go to Start | Settings | Control Panel.
2. Launch the System Properties dialog from the Control Panel.
Click "Performance and Maintenence", then "See basic information about
Double click the System icon.
3. Set the HOME variable.
On the System Properties dialog, click the Advanced tab. Then click
the Environment Variables button to launch the Environment Variables
Under System variables, click the New button. Next to Variable name,
enter HOME. Next to Variable value, enter a path to the folder you
wish to set as your home directory. For example:
C:\Documents and Settings\<user_name>\My Documents\cygwin_home
Click OK to dismiss the Environment Variables dialog and then OK to
dismiss System Properties dialog.
4. Rerun Cygwin.
- » Help diagnosing why my program isn't trapping SIGTERM on shutdown
- — Previous thread in » PERL Discussions