URL:
<http://savannah.gnu.org/support/?108364>
Summary: Makefile uses `perl -f` without checking for
availability
Project: bison
Submitted by: None
Submitted on: Fri 16 Aug 2013 04:39:53 PM UTC
Category: None
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email: [email protected]
Open/Closed: Open
Discussion Lock: Any
Operating System: Mac OS
_______________________________________________________
Details:
The bison makefile uses `perl -f` for its extract script, but doesn't check
for availability of that flag.
The `-f` flag, which ignores $sitelib/sitecustomize.pl at startup, was added
to perl sometime after 5.8. I encountered this error when trying to install
bison on Mac OS X 10.4.11, which shipped with perl 5.8.6. Bison doesn't have a
documented perl version requirement that I can find, and the configure script
accepted the version of perl found.
Perl exits with an error on encountering unknown flags, so the bison build
fails instantly because of this.
Sample extract variable from the makefile:
> extract = VERSION="$(VERSION)" $(PERL) -f $(extexi) $(doc) --
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?108364>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
[email protected] https://lists.gnu.org/mailman/listinfo/help-bison