Click here to get back home

Cygwin error regarding profile.global

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Cygwin error regarding profile.global beartiger 09-01-2006
Get Chitika Premium
Posted by beartiger on September 1, 2006, 12:28 pm
Please log in for more thread options
This post is simply to document the solution to a cygwin error so that
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
/usr/local/etc/profile.global"

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.

Category view:
Click "Performance and Maintenence", then "See basic information about
your computer".

Classic view:
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
dialog.

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.



Best regards,
John


Posted by beartiger on September 1, 2006, 12:32 pm
Please log in for more thread options
For some reason, a carriage return crept into that error message. Here
it is:

"bash: can't find configuration file /usr/local/etc/profile.global"

bearti...@gmail.com wrote:
> This post is simply to document the solution to a cygwin error so that
> 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
> /usr/local/etc/profile.global"
>
> 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.
>
> Category view:
> Click "Performance and Maintenence", then "See basic information about
> your computer".
>
> Classic view:
> 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
> dialog.
>
> 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.
>
>
>
> Best regards,
> John


Similar ThreadsPosted
Re: Cygwin error regarding profile.global September 4, 2006, 6:16 am
dprofpp Garbled profile error November 29, 2007, 6:28 am
error U1073: don't know how to make '/usr/lib/perl5/5.8/cygwin/Config.pm', on win2k, how can I solve it? January 19, 2007, 11:18 am
FAQ 3.6 How do I profile my Perl programs? January 26, 2005, 12:03 pm
FAQ 3.6 How do I profile my Perl programs? April 24, 2005, 11:03 am
FAQ 3.6 How do I profile my Perl programs? July 10, 2005, 4:03 am
FAQ 3.6 How do I profile my Perl programs? August 27, 2005, 4:03 am
FAQ 3.6 How do I profile my Perl programs? January 27, 2006, 6:03 pm
FAQ 3.6 How do I profile my Perl programs? February 10, 2006, 12:03 pm
FAQ 3.6 How do I profile my Perl programs? March 15, 2006, 9:03 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap