GNOME Bugzilla – Bug 738531
bootstrap: Install flex on OS X
Last modified: 2014-10-21 10:12:30 UTC
Created attachment 288518 [details] [review] Add a recipe for flex Add a build-tools recipe for flex and add it to OS X bootstrap; it's already installed during Linux bootstrap.
Created attachment 288519 [details] [review] Add flex to OS X bootstrap
Comment on attachment 288519 [details] [review] Add flex to OS X bootstrap it should probably also be added for Windows bootstrap
(In reply to comment #2) > (From update of attachment 288519 [details] [review]) > it should probably also be added for Windows bootstrap I didn't add it there because bison wasn't, and those two usually go together. Maybe both should be added?
Yes, alternatively we could also just build them ourselves on all platforms instead of using the distro versions on Linux. Like we do for other build tools already
Created attachment 288590 [details] [review] Add flex and bison to OS X and Windows (In reply to comment #4) > Yes, alternatively we could also just build them ourselves on all platforms > instead of using the distro versions on Linux. Like we do for other build tools > already I think this would extend to gettext, pkg-config, yasm, etc as well (maybe more?). Do we also remove these from build/bootstrap/linux.py? Feels like a larger question. The attached patch adds bison + flex to Windows as well.
Yes, can you create another patch for that in another bug? :) commit 772e328639edd957d90b22e21730c229b4f9551a Author: Nirbheek Chauhan <nirbheek@centricular.com> Date: Wed Oct 8 05:07:09 2014 +0530 flex: Add a build-tools recipe for flex commit 2fff1338bd14a9f517fce3cf99e271c61b8656da Author: Nirbheek Chauhan <nirbheek@centricular.com> Date: Tue Oct 14 16:37:14 2014 +0530 bootstrap: Add bison, flex to OS X and Windows bootstrap Linux installs flex and bison, OS X and Windows should also
(In reply to comment #6) > Yes, can you create another patch for that in another bug? :) > bug 738916 Haven't posted a patch yet because I would need to test that bootstrap works without any of those tools installed in the system prefix.