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

make install doesn't install java library in the setted folder

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • Java - Library
    • None

    Description

      make install failed on the java library with this error message:
      ./thrift/lib/java/build.xml:135: Failed to copy ./thrift/lib/java/build/libthrift-0.8.0-snapshot-javadoc.jar to /usr/local/lib/libthrift-0.8.0-snapshot-javadoc.jar due to java.io.FileNotFoundException /usr/local/lib/libthrift-0.8.0-snapshot-javadoc.jar (Permission non accordée)

      For the safety I verified if the file /thrift/lib/java/build/libthrift-0.8.0-snapshot-javadoc.jar exists; and the file exists.
      But the source file is not the problem here !

      Why the install basename is /usr/local/lib/ even with --prefix=${HOME}/fakeroot
      The fakeroot folder exists too.

      Attachments

        1. install.patch
          0.8 kB
          Verdoïa Laurent
        2. 0001-java-config-prefix-fix.patch
          1 kB
          Randy Abernethy

        Activity

          People

            codesf Randy Abernethy
            laurent2 Verdoïa Laurent
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: