Quantcast

/mingw is not found

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

/mingw is not found

Vincent Torri-2

Hey,

I've re-installed my msys/mingw system yesterday. It was working.

Today, I launch the MSYS terminal and try to compile a library. gcc is not
found.

I installed msys in d:\msys\1.0 and mingw in d:\msys\1.0\mingw

I tried that:

$ gcc
sh: gcc: command not found

$ ls /mingw
ls: /mingw: No such file or directory

$ ls /usr/mingw/
ls: /usr/mingw/: No such file or directory

My fstab file contains:

d:/msys/1.0/mingw       /mingw

I have verified that d:/msys/1.0/mingw exists and contains the usual
directories and files

it seems that msys can not find /usr/mingw and/or /mingw anymore

does someone know why ?

thank you

Vincent

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: /mingw is not found

Brian Dessent
Vincent Torri wrote:

> My fstab file contains:
>
> d:/msys/1.0/mingw       /mingw
>
> I have verified that d:/msys/1.0/mingw exists and contains the usual
> directories and files

You shouldn't need any fstab file at all, because d:/msys/1.0 translates
to / so d:/msys/1.0/mingw naturally translates to /mingw without having
to specify any specific mapping.  You only need a fstab file if you
install MinGW somewhere other than the MSYS root.

Now, that doesn't explain why this doesn't work, because I can't see any
reason why it should cause failure, but try just deleting/removing
fstab, or comment out that entry.

Brian

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: /mingw is not found

Greg Chicares-2
In reply to this post by Vincent Torri-2
On 2007-12-02 13:24Z, Vincent Torri wrote:
>
> $ ls /mingw
> ls: /mingw: No such file or directory
[...]
> My fstab file contains:
>
> d:/msys/1.0/mingw       /mingw
>
> I have verified that d:/msys/1.0/mingw exists and contains the usual
> directories and files

$od -t a /etc/fstab
0000000   c   :   /   M   i   n   G   W  sp   /   m   i   n   g   w  nl
0000020

Does yours contain a 'cr' character?

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: {Spam?} Re: /mingw is not found

Vincent Torri-2

To Keith:

I renamed d:\msys\1.0\mingw to d:\msys\1.0\mingw2, did the changes in
fstab and profile files and it works. I don't know why there is a problem
with mingw subdir. It always worked before.

One thing: my firewall stopped scanning files in that directoy. That's the
only specific thing that occurs in d:\msys\1.0\mingw, afaict.

On Sun, 2 Dec 2007, Greg Chicares wrote:

> On 2007-12-02 13:24Z, Vincent Torri wrote:
>>
>> $ ls /mingw
>> ls: /mingw: No such file or directory
> [...]
>> My fstab file contains:
>>
>> d:/msys/1.0/mingw       /mingw
>>
>> I have verified that d:/msys/1.0/mingw exists and contains the usual
>> directories and files
>
> $od -t a /etc/fstab
> 0000000   c   :   /   M   i   n   G   W  sp   /   m   i   n   g   w  nl
> 0000020
>
> Does yours contain a 'cr' character?

indeed, it's like that. With mingw2 :

$ od -t a /etc/fstab
0000000  nl   d   :   /   m   s   y   s   /   1   .   0   /   m   i   n
0000020   g   w   2  ht   /   m   i   n   g   w  nl  nl
0000034

is it a problem ?

Vincent Torri

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: {Spam?} Re: /mingw is not found

Greg Chicares-2
On 2007-12-02 14:11Z, Vincent Torri wrote:

>
> On Sun, 2 Dec 2007, Greg Chicares wrote:
>>
>> $od -t a /etc/fstab
>> 0000000   c   :   /   M   i   n   G   W  sp   /   m   i   n   g   w  nl
>> 0000020
>>
>> Does yours contain a 'cr' character?
>
> indeed, it's like that. With mingw2 :
>
> $ od -t a /etc/fstab
> 0000000  nl   d   :   /   m   s   y   s   /   1   .   0   /   m   i   n
> 0000020   g   w   2  ht   /   m   i   n   g   w  nl  nl
> 0000034
>
> is it a problem ?

Apparently not. I know I once created an invalid 'fstab'
that was ignored because of some line-ending problem:
either I had a CRLF ending, or none at all. But I can't
reproduce the problem today, so maybe MSYS has been made
more robust in this respect.

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Loading...