>From: "Innis Cunningham" <innisc@...>
>Subject: Re: [Mingw-msys] New User
>Date: Thu, 01 Apr 2004 09:46:01 +0800
>Thanks Guys for your prompt
>Earnie Boyd writes
>>MARSHALL Keith wrote:
>>>MSYS emulates this UNIX behaviour, by mapping *both* / and /usr
>>>to the same physical location within the host Windows file system,
>>>(at G:\MSYS\1.0 in the above example), but you will see neither
>>>in a Windows directory listing of G:\MSYS\1.0.
>>>Actually, the MSYS emulation is slightly peculiar, in that, on a
>>>real UNIX system the mount point /usr *would* appear in a directory
>>>listing of /, but its absence from the MSYS listing is unimportant;
>Unfortunately for me it seems that it is important.
>I am trying to build Flightgear using Msys/Mingw and the
>two prerequisit programs are Plib and Simgear.Plib installs
>to /usr/include and /usr/lib and Simgear Flightgear
>expect to find them there.So the configure fails
>with simgear saying it can't find plib.
>Also the configure says it cant find pthreads this
>also would appear to be in the /usr/ directory.If
>Msys does not set up the same directory structure
>as Cygwin I may be stumped for using it in this case.
>>I might fix that one day. :) You can work around that by ``mkdir
>>/g/msys/1.0/usr'' for this example. This work around becomes important if
>>you for example do ``find /usr -iname foo''.
>Thanks Earnie I will give this a try and see if it will work
You should have a lot less trouble if you just don't install stuff into
/usr. The MinGW compiler only looks in its own directory (/mingw) for
headers and libraries, and /usr/include and /usr/lib are not intended for
user libraries, so you should avoid installing things there. If the packages
use a configure script it should be a simple matter of specifying the
--prefix option when building them, although it might not be so simple when
building other packages that depend on them. Also, if you need pthreads then
you will have to download pthreads-win32 because you can't use any of the
libraries in /usr/lib with the MinGW compiler.
Get Extra Storage in 10MB, 25MB, 50MB and 100MB options now! Go to