help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #108364] Makefile uses `perl -f` without checking for availability


From: anonymous
Subject: [sr #108364] Makefile uses `perl -f` without checking for availability
Date: Fri, 16 Aug 2013 16:39:54 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:23.0) Gecko/20100101 Firefox/23.0

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: address@hidden
             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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]