[Bug 745804] flex fails to build on Windows
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun Jun 21 14:20:06 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=745804
--- Comment #28 from Philippe Renon <philippe_renon at yahoo.fr> ---
Here is are the steps to get a windows build using MinGW/Msys.
First step was to install MinGW and the msys-base package.
Then I started the build process and addressed issues as they arose.
$ cerbero bootstrap
1/ [(2/15) gettext -> configure ]; Hangs when checking bison version
The bison version was the one coming with Git bash.
Note : any time an exe from git bash is found and used, the build hangs and a
full CPU is just churning.
Solution : install msys-bison package with:
$ mingw-get install msys-bison
This also installed m4.
2/ [(3/15) libiconv -> compile ] : Fails with ar command not found
Solution : install msys-binutils with:
$ mingw-get install msys-binutils
3/ [(4/15) autoconf -> configure ] Hangs when checking for perl
Again perl was found in Git bash.
Solution : install msys-perl with :
$ mingw-get install msys-perl
4/ [(9/15) libtool -> compile ] m4 crashes
That one is weird. It does not cause the build to fail but the crash popups
need to be closed for the build to proceed.
Solution : rename or remove Git bash m4 (???)
cerbero bootstrap completes correctly...
$ cerbero package gstreamer-1.0
1/ [(8/87) gstreamer-1.0 -> configure ] Hangs when checking for flex
Again Git bash...
Solution : install msys-flex package with:
$ mingw-get install msys-flex
cerbero package gstreamer-1.0 completes correctly
To resume:
- Install MinGW and msys-base
- Install msys-binutils msys-flex msys-bison msys-perl
- Remove Git bash m4.exe (???)
The need to remove m4.exe is really strange as cerbero should pick the one from
msys...
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list