I am trying to install Module::Build while using local::lib.
Unfortunately it wants to install into /usr/bin and not in my private ~/perl5/bin directory
Why and how can it be fixed?
t/xs.t ......................... ok
All tests successful.
Files=48, Tests=1149, 253 wallclock secs ( 0.71 usr 0.13 sys + 146.62
+ cusr 101.71 csys = 249.17 CPU)
Result: PASS
/home/gabor/work/perl/trunk/cpan/Module-Build-0.3800/.
./Build test -- OK
Directory '/home/gabor/work/perl/trunk/cpan/Module-Build-0.3800/.' not
+ below /home/gabor/.cpan/build, will not store persistent state
Running Build install
Prepending /home/gabor/work/perl/trunk/cpan/Module-Build-0.3800/./blib
+/arch /home/gabor/work/perl/trunk/cpan/Module-Build-0.3800/./blib/lib
+ to PERL5LIB for 'install'
WARNING: Can't find resource file '/home/gabor/perl5/.modulebuildrc' d
+efined in environment.
No options loaded
Building Module-Build
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!!
ERROR: Can't create '/usr/bin'
Do not have write permissions on '/usr/bin'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!!
at lib/Module/Build/Base.pm line 3569
/home/gabor/work/perl/trunk/cpan/Module-Build-0.3800/.
./Build install -- NOT OK
----
You may have to su to root to install the package
(Or you may want to run something like
o conf make_install_make_command 'sudo make'
to raise your permissions.Directory '/home/gabor/work/perl/trunk/cpa
+n/Module-Build-0.3800/.' not below /home/gabor/.cpan/build, will not
+store persistent state
Using perl 5.10.0 that comes with this SUSE installation