[MinGW] Build from GIT source failure under Windows

[MinGW] Build from GIT source failure under Windows

Postby garvek » 15 Aug 2011, 08:10

Hello all,

I tried to build LoS with latest GIT revision and MinGW, but the WAF script failed; after a bit of research it seems that the build environment tries to search include files which are at some extent Linux specific (i.e. no way of being ported to Windows, I use 7 x64). I may have missed something essential in the setup, so I put what I did here:

- Follow the Wiki, "CompilingInWindows"
* Skipped libcurl build; configure hangs forever at the "recv_from arguments" step

- Stripped down the PATH variable to remove MSVC
* The scripts tries to compile with it at all costs even if we run from MingW

- Look at the waf configure log
* The only errors are the one about missing .h files

- Look for the include files
* inotifytools/inotify.h and sys/inotify.h : Linux specific
* poll.h : Unix, may be found in Cygwin but probably not on MinGW which don't try to mimic all Unix aspects
* sys/mman.h : Unix, may be found in Cygwin
* sys/wait.h : Unix, may be found in Cygwin
* iconv.h : perhaps can be imported from a missing package

I was told that many of the modules can be disabled in order to allow the build even if some parts failed; do you know where I can look at on priority ?


Regards,
Garvek
garvek
 
Posts: 4
Joined: 15 Aug 2011, 07:56

Re: [MinGW] Build from GIT source failure under Windows

Postby amuzen » 15 Aug 2011, 11:30

Only the last error matters so it doesn't work because iconv is missing. Looks like I had forgotten to add it to the build instructions.
User avatar
amuzen
LoS Moderator
 
Posts: 327
Joined: 05 Dec 2009, 02:49

Re: [MinGW] Build from GIT source failure under Windows

Postby garvek » 15 Aug 2011, 15:52

I used the instructions to build iconv and it worked fine, then I was able to build the whole project. Thanks !
garvek
 
Posts: 4
Joined: 15 Aug 2011, 07:56

Who is online

Users browsing this forum: No registered users and 1 guest