lists.zerezo.com



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-msys] MinGW-4.1.0.exe



Hendrik Maryns wrote:
> Keith Marshall schrieb:
>> On Tuesday 08 July 2008 13:04:17 Hendrik Maryns wrote:
>>> First of all: is there documentation for MSYS, apart from
>>> /doc/msys? It’s not much in there.
>>> With some guessing, I found out how to go into the directory where
>>> the project is, namely C:\Dokumente und
>>> Einstellungen\Monasearch\Eigene Dateien\workspace\Mona.  As you
>>> see: spaces in the path.  Asking for trouble, I’m afraid.
>> You said it...
>>
>>> Anyway, so cd /c/Dokumente\ und\ Einstellungen/Monasearch/Eigene\
>>> Dateien/workspace/Mona made my day. Then ./configure:
>>>
>>>    ./configure
>>> checking for a BSD-compatible install... /bin/install -c
>>> checking whether build environment is sane... yes
>>> /c/Dokumente: /c/Dokumente: No such file or directory
>> ...and here you see why we so strongly encourage you to *not* to use
>> path names with spaces -- in this case, your configure script has
>> been confused by the spaces in the path name.
>
> Ok, I moved the project to a space-less path. (I’d really expect tools
> to  be able to cope with that by now.  Fuck legacy code.)  This message
> is now gone, but the stuff below is still valid.
>
>>> checking for working mmap... no
>>> checking for alarm... no
>>> configure: error: required library function not found
>> I would first move your source tree into a subdirectory of your MSYS
>> $HOME, (which if you've installed correctly will be in a path with no
>> spaces in the name).
>
> Msys is in C:\Programme\MSYS, so that should work.  However:
>
> $ cd
> sh: cd: /home/Monasearch: No such file or directory
>
> Do I have to make my own home directory??
>
>> However, I suspect that this will be the least
>> of your problems; it looks like this package requires POSIX APIs
>> which are available natively on MS-Windows, so you have some porting
>> effort ahead.
>
> ‘are not’, I suppose.  The program has been compiled on Cygwin, though
> (not by me), so I’d expect it to work here as well.

Hi,
yes, Keith probably meant "are not". Cygwin provides Posix APIs, but not 
MinGW. Some porting needs to be done if it is to be built using MinGW.

>
> Doesn’t the above simply mean that there are some common libraries
> missing?  How can I install them (the INSTALL file says it needs libcurl
> as well, so I’ll have to get that too)?

It depends. The mmap() function is part of the POSIX (Unix?) compatible 
C library, so you will unlikely to find it elsewhere for Windows. 
libcurl has already been ported to MinGW, so installing it should be 
straight forward.

In this case Cygwin is more suited for you, it already has mmap, curl is 
also provided.

>
> Thanks, H.


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys