Skip Menu |

This queue is for tickets about the Web-DataService CPAN distribution.

Report information
The Basics
Id: 102906
Status: open
Priority: 0/
Queue: Web-DataService

People
Owner: Nobody in particular
Requestors: wanradt [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.25
Fixed in: (no value)



Subject: does not install in user-space
Install fails, because it tries install scripts in /usr/bin even when installing it in userspace with cpanm. Most distros install their scripts in ~/perl5/bin in such case, so you don't have to install module system wide.
On 2015-03-20 10:43:31, https://launchpad.net/~wanradt wrote: Show quoted text
> Install fails, because it tries install scripts in /usr/bin even when > installing it in userspace with cpanm. Most distros install their > scripts in ~/perl5/bin in such case, so you don't have to install > module system wide.
I cannot confirm this --- an install with CPAN.pm in a custom perl directory works as expected: ... MMCCLENN/Web-DataService-0.25.tar.gz ./Build test -- OK Running Build install Building Web-DataService Installing /opt/perl-5.12.5/man/man1/wdsinstallfiles.1 Installing /opt/perl-5.12.5/lib/site_perl/5.12.5/Web/DataService.pm ... Installing /opt/perl-5.12.5/man/man3/Web::DataService::Configuration.3 Installing /opt/perl-5.12.5/bin/wdsinstallfiles ... And looking at the included Build.PL and Makefile.PL does not reveal anything wrong.
On 2015-03-20 14:30:22, SREZIC wrote: Show quoted text
> On 2015-03-20 10:43:31, https://launchpad.net/~wanradt wrote:
> > Install fails, because it tries install scripts in /usr/bin even when > > installing it in userspace with cpanm. Most distros install their > > scripts in ~/perl5/bin in such case, so you don't have to install > > module system wide.
> > I cannot confirm this --- an install with CPAN.pm in a custom perl > directory works as expected: > > ... > MMCCLENN/Web-DataService-0.25.tar.gz > ./Build test -- OK > Running Build install > Building Web-DataService > Installing /opt/perl-5.12.5/man/man1/wdsinstallfiles.1 > Installing /opt/perl-5.12.5/lib/site_perl/5.12.5/Web/DataService.pm > ... > Installing /opt/perl-5.12.5/man/man3/Web::DataService::Configuration.3 > Installing /opt/perl-5.12.5/bin/wdsinstallfiles > ... > > And looking at the included Build.PL and Makefile.PL does not reveal > anything wrong.
Ah, sorry, you're probably right: this setting of install_path is probably wrong: https://metacpan.org/source/MMCCLENN/Web-DataService-0.25/Build.PL#L33 And it seems to make a difference between local::lib setup in your case (I guess) and a custom user-specific perl. Anyway, the Makefile.PL does not seem to change the install path, so if you can force cpanm to use ExtUtils::MakeMaker instead of Module::Build, then installation may work, too.