[
https://issues.apache.org/jira/browse/THRIFT-528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725163#action_12725163
]
Matthieu Imbert commented on THRIFT-528:
----------------------------------------
actually there is the same kind of problem with ruby:
{noformat}
install thrift.rb /usr/local/lib/site_ruby/1.8/
setup.rb:633:in `initialize': Permission denied -
/usr/local/lib/site_ruby/1.8/thrift.rb (Errno::EACCES)
from setup.rb:633:in `open'
from setup.rb:633:in `install'
from setup.rb:1377:in `install_files'
from setup.rb:1376:in `each'
from setup.rb:1376:in `install_files'
from setup.rb:1350:in `install_dir_lib'
from setup.rb:1532:in `__send__'
from setup.rb:1532:in `traverse'
from setup.rb:1549:in `dive_into'
from setup.rb:1530:in `traverse'
from setup.rb:1524:in `exec_task_traverse'
from setup.rb:1519:in `each'
from setup.rb:1519:in `exec_task_traverse'
from setup.rb:1342:in `exec_install'
from setup.rb:1000:in `exec_install'
from setup.rb:826:in `__send__'
from setup.rb:826:in `invoke'
from setup.rb:773:in `invoke'
from setup.rb:1578
make[4]: *** [install-exec-hook] Error 1
make[4]: Leaving directory
`/home/mimbert/work/metrologie-graal/grimap-project/thrift.git/lib/rb'
make[3]: *** [install-exec-am] Error 2
make[3]: Leaving directory
`/home/mimbert/work/metrologie-graal/grimap-project/thrift.git/lib/rb'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory
`/home/mimbert/work/metrologie-graal/grimap-project/thrift.git/lib/rb'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/home/mimbert/work/metrologie-graal/grimap-project/thrift.git/lib'
make: *** [install-recursive] Error 1
{noformat}
i would gladly try to submit a patch both for perl and ruby, but i don't know
the standard installation policies for these languages (perhaps the idea of
having a "per user" library directory is not relevant for perl and ruby?)
> perl lib installation prefix should be configurable
> ---------------------------------------------------
>
> Key: THRIFT-528
> URL: https://issues.apache.org/jira/browse/THRIFT-528
> Project: Thrift
> Issue Type: Bug
> Components: Library (Perl)
> Environment: linux (debian testing)
> latest thrift develoment version (last commit from Wed Jun 24 2009)
> Reporter: Matthieu Imbert
> Priority: Minor
>
> perl library installation path should be configurable.
> currently, when configuring with this command:
> {noformat}
> $ PY_PREFIX=/home/lyon/mimbert/local JAVA_PREFIX=/home/lyon/mimbert/local/lib
> ./configure --prefix=/home/lyon/mimbert/local
> {noformat}
> then when doing make install (without root privileges), i get the following
> error:
> {noformat}
> 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
> {noformat}
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.