[ 
https://issues.apache.org/jira/browse/THRIFT-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12858075#action_12858075
 ] 

Michael Douglas commented on THRIFT-458:
----------------------------------------

Please read the documentation. There are two variables, one called JAVA_PREFIX 
and one called PY_PREFIX, exactly for this purpose, i.e. to copy the Java and 
Python libraries to an alternate location. E.g.:

./configure --prefix=/home/user/folderA JAVA_PREFIX=/home/user/folderB 
PY_PREFIX=/home/user/folderC


This JIRA issue needs to be closed.

> Java installation always tries to write to /usr/local/lib
> ---------------------------------------------------------
>
>                 Key: THRIFT-458
>                 URL: https://issues.apache.org/jira/browse/THRIFT-458
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (Java)
>    Affects Versions: 0.1
>         Environment: All
>            Reporter: Rush Manbert
>
> The Java installation always tries to copy libthrift.jar to /usr/local/lib, 
> even if I specify a --prefix configuration parameter.
> I realize that it doesn't necessarily make sense to copy libthrift.jar to 
> prefixDir/lib, which dumps it in next to the c++ libraries, but I believe it 
> does make sense to allow for an alternate installation location. Not everyone 
> who builds Thrift wants to install the build results in the system locations.

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

        

Reply via email to