Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
– 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– 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
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.