You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Matthieu Imbert (JIRA)" <ji...@apache.org> on 2009/06/26 08:33:07 UTC
[jira] Created: (THRIFT-528) perl lib installation prefix should be
configurable
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.
[jira] Commented: (THRIFT-528) perl lib installation prefix should
be configurable
Posted by "Matthieu Imbert (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (THRIFT-528) perl lib installation prefix should be
configurable
Posted by "Matthieu Imbert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthieu Imbert updated THRIFT-528:
-----------------------------------
Patch Info: [Patch Available]
> 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
> Assignee: T Jake Luciani
> Priority: Minor
> Attachments: 0001-add-PERL_PREFIX-for-configuring-where-to-install-per.patch, 0002-add-RUBY_PREFIX-for-configuring-where-to-install-rub.patch
>
>
> 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.
[jira] Updated: (THRIFT-528) perl lib installation prefix should be
configurable
Posted by "Matthieu Imbert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthieu Imbert updated THRIFT-528:
-----------------------------------
Attachment: (was: 0002-add-RUBY_PREFIX-for-configuring-where-to-install-rub.patch)
> 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
> Assignee: T Jake Luciani
> Priority: Minor
> Attachments: 0001-THRIFT-528.-add-PERL_PREFIX-for-configuring-where-to.patch
>
>
> 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.
[jira] Commented: (THRIFT-528) perl lib installation prefix should
be configurable
Posted by "David Reiss (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876728#action_12876728 ]
David Reiss commented on THRIFT-528:
------------------------------------
Jake, do you want to commit? If not, I can.
> 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 (May 2010)
> Reporter: Matthieu Imbert
> Assignee: T Jake Luciani
> Priority: Minor
> Attachments: 0001-THRIFT-528.-add-PERL_PREFIX-for-configuring-where-to.patch
>
>
> 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.
[jira] Updated: (THRIFT-528) perl lib installation prefix should be
configurable
Posted by "Matthieu Imbert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthieu Imbert updated THRIFT-528:
-----------------------------------
Attachment: 0001-THRIFT-528.-add-PERL_PREFIX-for-configuring-where-to.patch
updated patch
> 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
> Assignee: T Jake Luciani
> Priority: Minor
> Attachments: 0001-THRIFT-528.-add-PERL_PREFIX-for-configuring-where-to.patch
>
>
> 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.
[jira] Updated: (THRIFT-528) perl lib installation prefix should be
configurable
Posted by "Matthieu Imbert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthieu Imbert updated THRIFT-528:
-----------------------------------
Environment:
linux (debian testing)
latest thrift develoment version (May 2010)
was:
linux (debian testing)
latest thrift develoment version (last commit from Wed Jun 24 2009)
moved ruby patch to THRIFT-459
> 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 (May 2010)
> Reporter: Matthieu Imbert
> Assignee: T Jake Luciani
> Priority: Minor
> Attachments: 0001-THRIFT-528.-add-PERL_PREFIX-for-configuring-where-to.patch
>
>
> 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.
[jira] Commented: (THRIFT-528) perl lib installation prefix should
be configurable
Posted by "T Jake Luciani (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876881#action_12876881 ]
T Jake Luciani commented on THRIFT-528:
---------------------------------------
Sorry Matthieu, I simply forgot.
David, if you could please. I'm not available todo this now. thanks.
> 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 (May 2010)
> Reporter: Matthieu Imbert
> Assignee: T Jake Luciani
> Priority: Minor
> Attachments: 0001-THRIFT-528.-add-PERL_PREFIX-for-configuring-where-to.patch
>
>
> 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.
[jira] Resolved: (THRIFT-528) perl lib installation prefix should
be configurable
Posted by "David Reiss (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Reiss resolved THRIFT-528.
--------------------------------
Resolution: Fixed
> 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 (May 2010)
> Reporter: Matthieu Imbert
> Assignee: T Jake Luciani
> Priority: Minor
> Attachments: 0001-THRIFT-528.-add-PERL_PREFIX-for-configuring-where-to.patch
>
>
> 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.
[jira] Commented: (THRIFT-528) perl lib installation prefix should
be configurable
Posted by "T Jake Luciani (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727859#action_12727859 ]
T Jake Luciani commented on THRIFT-528:
---------------------------------------
I think the workaround is to run Makefile.PL directly from the perl lib.
I'll look into replicating the JAVA_PREFIX setting for perl.
> 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.
[jira] Assigned: (THRIFT-528) perl lib installation prefix should
be configurable
Posted by "T Jake Luciani (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
T Jake Luciani reassigned THRIFT-528:
-------------------------------------
Assignee: T Jake Luciani
> 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
> Assignee: T Jake Luciani
> 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.
[jira] Updated: (THRIFT-528) perl lib installation prefix should be
configurable
Posted by "Matthieu Imbert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthieu Imbert updated THRIFT-528:
-----------------------------------
Attachment: (was: 0001-add-PERL_PREFIX-for-configuring-where-to-install-per.patch)
> 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
> Assignee: T Jake Luciani
> Priority: Minor
> Attachments: 0001-THRIFT-528.-add-PERL_PREFIX-for-configuring-where-to.patch
>
>
> 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.
[jira] Commented: (THRIFT-528) perl lib installation prefix should
be configurable
Posted by "Matthieu Imbert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876655#action_12876655 ]
Matthieu Imbert commented on THRIFT-528:
----------------------------------------
hi,
why not commiting this patch? It's one year old now, and it solves the last bug (as far as i know) preventing the installation of thrift without root permissions.
cheers,
Matthieu
> 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 (May 2010)
> Reporter: Matthieu Imbert
> Assignee: T Jake Luciani
> Priority: Minor
> Attachments: 0001-THRIFT-528.-add-PERL_PREFIX-for-configuring-where-to.patch
>
>
> 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.
[jira] Updated: (THRIFT-528) perl lib installation prefix should be
configurable
Posted by "Matthieu Imbert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthieu Imbert updated THRIFT-528:
-----------------------------------
Attachment: 0002-add-RUBY_PREFIX-for-configuring-where-to-install-rub.patch
0001-add-PERL_PREFIX-for-configuring-where-to-install-per.patch
Hi,
Here are two patches to add a PERL_PREFIX and a RUBY_PREFIX similar to JAVA_PREFIX and PY_PREFIX
> 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
> Assignee: T Jake Luciani
> Priority: Minor
> Attachments: 0001-add-PERL_PREFIX-for-configuring-where-to-install-per.patch, 0002-add-RUBY_PREFIX-for-configuring-where-to-install-rub.patch
>
>
> 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.