[asterisk-bugs] [JIRA] (ASTERISK-28623) PJPROJECT_CONFIGURE_OPTS install location not honored

Richard Frith-Macdonald (JIRA) noreply at issues.asterisk.org
Wed Nov 20 11:12:32 CST 2019


Richard Frith-Macdonald created ASTERISK-28623:
--------------------------------------------------

             Summary: PJPROJECT_CONFIGURE_OPTS install location not honored
                 Key: ASTERISK-28623
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28623
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Third-Party/pjproject
    Affects Versions: 17.0.0
            Reporter: Richard Frith-Macdonald
            Severity: Minor


This appears to be deliberate (judging by the comment in third-party/pjproject/Makefile.rules), but its not clear to me why this was done.

The --prefix= option is explicitly overridden in Makefile.rules to set the install location to be /opt/pjproject 

Doing this prevents building and installing asterisk into a sandbox area (and means you need to build as root, which is generally a bad idea).

The simple fix is to remove that override in Makefile.rules
If there's a good reason to have that override, I suggest adding a top-level configure option to be used to override the override :-)



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list