[Bug 745804] flex fails to build on Windows

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 8 15:34:35 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=745804

--- Comment #17 from Philippe Renon <philippe_renon at yahoo.fr> ---
m4 crashes are back...

Here is what I did:

1/ loosely followed
http://docs.gstreamer.com/display/GstSDK/Building+from+source+using+Cerbero

Namely:
- installed Python 2.7, Git and Msys/MinGW
- installed the following Msys/MinGW Basic Setup packages :
mingw-developper-toolkit,  mingw32-base, mingw32-gcc-g++, msys-base.
- setup path, etc...
- echo "alias cerbero='~/cerbero/cerbero-uninstalled'" >> ~/.bashrc
- and that's it...

2/ then did

git clone git://cgit.freedesktop.org/gstreamer/cerbero/
cd cerbero
cerbero bootstrap
cerbero package gstreamer-1.0

With those steps m4 keeps crashing but the build proceeds fine.

I tried to get rid of the crashes :
Both Msys and Git come with m4. Removing both m4 exes yields this :

[(4/87) libffi -> configure ]
Running command 'autoreconf -f -i'
autom4te: need GNU m4 1.4 or later: /bin/m4
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
Recipe 'libffi' failed at the build step 'configure'

Looks like something is hardwired to /bin/m4 and ./cerbero/build-tools/bin/m4
is not used.

Please note that I did not create a cerbero.cbc file so cerbero is using the
windows_7 defaults.

Are you guys using an old trusted build environment for which the "recipe" was
lost or am I being a noob ?

The build later fails to compile gstfilesink.c because of 'undefined reference
to `fsync''.
This issue was fixed for MSC but apparently not for MinGW. I worked around
myself out of it.

-- 
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