You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Verdoïa Laurent (Created JIRA)" <ji...@apache.org> on 2011/10/08 07:25:29 UTC

[jira] [Created] (THRIFT-1385) make install doesn't install java library in the setted folder

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

                 Key: THRIFT-1385
                 URL: https://issues.apache.org/jira/browse/THRIFT-1385
             Project: Thrift
          Issue Type: Improvement
          Components: Java - Library
         Environment: -- Ant version
$ ant -version
Apache Ant(TM) version 1.8.2 compiled on December 20 2010

-- Commands
svn checkout http://svn.apache.org/repos/asf/thrift/trunk thrift
cd thrift
./bootstrap.sh
./configure --prefix=${HOME}/fakeroot --without-cpp --without-boost --without-libevent --without-zlib --without-c_glib --without-csharp --without-erlang --without-python --without-perl --without-php --without-php_extension --without-ruby --without-haskell --without-go
make && make install
            Reporter: Verdoïa Laurent


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.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (THRIFT-1385) make install doesn't install java library in the setted folder

Posted by "Verdoïa Laurent (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Verdoïa Laurent updated THRIFT-1385:
------------------------------------

    Attachment: install.patch

Even if the Java have different conventions, we can respect the --prefix convention of autotools.
                
> make install doesn't install java library in the setted folder
> --------------------------------------------------------------
>
>                 Key: THRIFT-1385
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1385
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Java - Library
>         Environment: -- Ant version
> $ ant -version
> Apache Ant(TM) version 1.8.2 compiled on December 20 2010
> -- Commands
> svn checkout http://svn.apache.org/repos/asf/thrift/trunk thrift
> cd thrift
> ./bootstrap.sh
> ./configure --prefix=${HOME}/fakeroot --without-cpp --without-boost --without-libevent --without-zlib --without-c_glib --without-csharp --without-erlang --without-python --without-perl --without-php --without-php_extension --without-ruby --without-haskell --without-go
> make && make install
>            Reporter: Verdoïa Laurent
>         Attachments: install.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (THRIFT-1385) make install doesn't install java library in the setted folder

Posted by "Jake Farrell (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124429#comment-13124429 ] 

Jake Farrell commented on THRIFT-1385:
--------------------------------------

We currently handle the prefix from autoconf differently for each client language depending on how the makefile, rakefile, ant/maven file handle it. I'll run through all of the clients and update them to respect the prefix if one is defined
                
> make install doesn't install java library in the setted folder
> --------------------------------------------------------------
>
>                 Key: THRIFT-1385
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1385
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Java - Library
>         Environment: -- Ant version
> $ ant -version
> Apache Ant(TM) version 1.8.2 compiled on December 20 2010
> -- Commands
> svn checkout http://svn.apache.org/repos/asf/thrift/trunk thrift
> cd thrift
> ./bootstrap.sh
> ./configure --prefix=${HOME}/fakeroot --without-cpp --without-boost --without-libevent --without-zlib --without-c_glib --without-csharp --without-erlang --without-python --without-perl --without-php --without-php_extension --without-ruby --without-haskell --without-go
> make && make install
>            Reporter: Verdoïa Laurent
>         Attachments: install.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Assigned] (THRIFT-1385) make install doesn't install java library in the setted folder

Posted by "Jake Farrell (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jake Farrell reassigned THRIFT-1385:
------------------------------------

    Assignee: Jake Farrell
    
> make install doesn't install java library in the setted folder
> --------------------------------------------------------------
>
>                 Key: THRIFT-1385
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1385
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Java - Library
>         Environment: -- Ant version
> $ ant -version
> Apache Ant(TM) version 1.8.2 compiled on December 20 2010
> -- Commands
> svn checkout http://svn.apache.org/repos/asf/thrift/trunk thrift
> cd thrift
> ./bootstrap.sh
> ./configure --prefix=${HOME}/fakeroot --without-cpp --without-boost --without-libevent --without-zlib --without-c_glib --without-csharp --without-erlang --without-python --without-perl --without-php --without-php_extension --without-ruby --without-haskell --without-go
> make && make install
>            Reporter: Verdoïa Laurent
>            Assignee: Jake Farrell
>         Attachments: install.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (THRIFT-1385) make install doesn't install java library in the setted folder

Posted by "Bryan Duxbury (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124297#comment-13124297 ] 

Bryan Duxbury commented on THRIFT-1385:
---------------------------------------

Can someone with some make-fu decode this for me? I literally have never used the Java part of the makefile.
                
> make install doesn't install java library in the setted folder
> --------------------------------------------------------------
>
>                 Key: THRIFT-1385
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1385
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Java - Library
>         Environment: -- Ant version
> $ ant -version
> Apache Ant(TM) version 1.8.2 compiled on December 20 2010
> -- Commands
> svn checkout http://svn.apache.org/repos/asf/thrift/trunk thrift
> cd thrift
> ./bootstrap.sh
> ./configure --prefix=${HOME}/fakeroot --without-cpp --without-boost --without-libevent --without-zlib --without-c_glib --without-csharp --without-erlang --without-python --without-perl --without-php --without-php_extension --without-ruby --without-haskell --without-go
> make && make install
>            Reporter: Verdoïa Laurent
>         Attachments: install.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira