Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-528

perl lib installation prefix should be configurable

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Perl - Library
    • Labels:
      None
    • Environment:

      linux (debian testing)
      latest thrift develoment version (May 2010)

    • Patch Info:
      Patch Available

      Description

      perl library installation path should be configurable.

      currently, when configuring with this command:

       
      $ PY_PREFIX=/home/lyon/mimbert/local JAVA_PREFIX=/home/lyon/mimbert/local/lib ./configure --prefix=/home/lyon/mimbert/local
      

      then when doing make install (without root privileges), i get the following error:

       
      ERROR: Can't create '/usr/local/share/perl/5.10.0'
      mkdir /usr/local/share/perl: Permission denied at /usr/share/perl/5.10/ExtUtils/Install.pm line 479
      

      i think perl lib installation path should either be based on the --prefix given on command line, or on a new PERL_PREFIX environment variable similar to the already existing PY_PREFIX and JAVA_PREFIX.

        Attachments

          Activity

            People

            • Assignee:
              tjake T Jake Luciani
              Reporter:
              mimbert Matthieu Imbert
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: