Re: [Catalyst] can't seem to install local::lib in dreamhost

2009-06-24 Thread kakimoto

this looks good. I will give it a go soon.

Thank you!

 If you just need Catalyst on Dreamhost I managed to install it
 following these instructions
 http://wiki.dreamhost.com/Catalyst
 have a nice day,
 arjuna


___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] can't seem to install local::lib in dreamhost

2009-06-23 Thread kakimoto


 If all you tell us about is that you did it wrong, you're just going
 to be told
 to do it right.  You can avoid this by actually telling us everything
 you did
 in your first email:
 


the same error came up denying me access to run make install.

Here's how my installation looked like.
 Thanks for helping:)

- ExtUtils::MakeMaker ...missing. (would need 6.31)
- ExtUtils::CBuilder  ...loaded. (0.18)
- ExtUtils::ParseXS   ...loaded. (2.15)
- ex  ...missing. (would need 0.28)
- CPAN...missing. (would need 1.80)



[apocalypse]$ ./Build install --install_base  /home/anexiole/projects/lib



CPAN-1.94/distroprefs/MSERGEANT.AxKit.yml
CPAN-1.94/distroprefs/AUDREYT.Module-Signature.yml
[snip]
CPAN-1.94/distroprefs/RRWO.Graphics-ColorNames.yml
CPAN-1.94/distroprefs/JSHIRLEY.Catalyst-Action-REST.yml
CPAN-1.94/distroprefs/KNORR.Net-MirrorDir.yml
^CN-1.94/t/12cpan.t
Uncompressed
/home/anexiole/.cpan/sources/authors/id/A/AN/ANDK/CPAN-1.94.tar.gz
successfully
Using Tar:/bin/tar xvf
/home/anexiole/.cpan/sources/authors/id/A/AN/ANDK/CPAN-1.94.tar:
^CCouldn't untar
/home/anexiole/.cpan/sources/authors/id/A/AN/ANDK/CPAN-1.94.tar

^C^C
[apocalypse]$
[apocalypse]$
[apocalypse]$
[apocalypse]$ pwd
/home/anexiole/manual_installs/local-lib-1.001000
[apocalypse]$
[apocalypse]$ perl Makefile.PL --bootstrap
[apocalypse]$ setscreen
-bash: setscreen: command not found
[apocalypse]$ screen
#   '/usr/bin/perl -Mblib -MSimple -we print
Simple::version()
# '
# doesn't match '(?-xism:0.01$)'
Can't load '/tmp/MB-Nr3bn2Ct/Simple/blib/arch/auto/Simple/Simple.so' for
module Simple: /tmp/MB-Nr3bn2Ct/Simple/blib/arch/auto/Simple/Simple.so:
failed to map segment from shared object: Operation not permitted at
/usr/lib/perl/5.8/DynaLoader.pm line 225.
 at -e line 0
Compilation failed in require.
BEGIN failed--compilation aborted.
t/xs..NOK 7
#   Failed test in t/xs.t at line 62.
#   '/usr/bin/perl -Mblib -MSimple -we print
Simple::xs_version()
# '
# doesn't match '(?-xism:0.01$)'
t/xs..ok 10/23Can't load
'/tmp/MB-Nr3bn2Ct/Simple/blib/arch/auto/Simple/Simple.so' for module
Simple: /tmp/MB-Nr3bn2Ct/Simple/blib/arch/auto/Simple/Simple.so: failed
to map segment from shared object: Operation not permitted at
/usr/lib/perl/5.8/DynaLoader.pm line 225.
 at t/basic.t line 4
Compilation failed in require at t/basic.t line 4.
BEGIN failed--compilation aborted at t/basic.t line 4.
# Looks like your test died before it could output anything.
t/xs..NOK 11
#   Failed test in t/xs.t at line 83.
#  got: 'Failed 1/1 test scripts, 0.00% okay. 2/2 subtests
failed, 0.00% okay.
# '
# expected: ''
Can't load
'/tmp/MB-Nr3bn2Ct/Simple-With-Deep-Name/blib/arch/auto/Simple/With/Deep/Name/Name.so'
for module Simple::With::Deep::Name:
/tmp/MB-Nr3bn2Ct/Simple-With-Deep-Name/blib/arch/auto/Simple/With/Deep/Name/Name.so:
failed to map segment from shared object: Operation not permitted at
/usr/lib/perl/5.8/DynaLoader.pm line 225.
 at t/basic.t line 4
Compilation failed in require at t/basic.t line 4.
BEGIN failed--compilation aborted at t/basic.t line 4.
# Looks like your test died before it could output anything.
Format STDOUT_TOP redefined at (eval 105) line 1.
Format STDOUT redefined at (eval 106) line 1.
Failed 1/1 test scripts, 0.00% okay. 2/2 subtests failed, 0.00% okay.
# Looks like you planned 23 tests but only ran 17.
# Looks like you failed 5 tests of 17 run.
# Looks like your test died just after 17.
t/xs..dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-7, 11, 18-23
Failed 11/23 tests, 52.17% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
---
t/compat.t 1   256   1311   0.76%  113
t/xs.t   255 6528023   17  73.91%  4-7 11 18-23
3 tests and 12 subtests skipped.
Failed 2/30 test scripts, 93.33% okay. 12/1022 subtests failed, 98.83% okay.
  EWILHELM/Module-Build-0.33.tar.gz
  ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports EWILHELM/Module-Build-0.33.tar.gz
Running Build install
  make test had returned bad status, won't install without force
*** Module::Build installation failed.
*** Module::AutoInstall installation finished.
Checking if your kit is complete...
Looks good
Warning: prerequisite ExtUtils::MakeMaker 6.31 not found. We have 6.3001.
Warning: prerequisite Module::Build 0.28 not found. We have 0.26.
'INSTALL_BASE' is not a known MakeMaker parameter name.
Writing Makefile for local::lib



mak



[apocalypse]$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl -MExtUtils::Command::MM -e
test_harness(0, 'inc', 'blib/lib', 'blib/arch') t/classmethod.t
t/pipeline.t
t/classmethod.t .. 1/? Name File::Spec::rel2abs used only once:
possible typo at t/classmethod.t line 20.
Attempting to create directory t/var/splat
Attempting 

Re: [Catalyst] can't seem to install local::lib in dreamhost

2009-06-23 Thread Tomas Doran


On 23 Jun 2009, at 07:17, kakim...@tpg.com.au wrote:





If all you tell us about is that you did it wrong, you're just going
to be told
to do it right.  You can avoid this by actually telling us everything
you did
in your first email:




the same error came up denying me access to run make install.

Here's how my installation looked like.
 Thanks for helping:)

- ExtUtils::MakeMaker ...missing. (would need 6.31)
- ExtUtils::CBuilder  ...loaded. (0.18)
- ExtUtils::ParseXS   ...loaded. (2.15)
- ex  ...missing. (would need 0.28)
- CPAN...missing. (would need 1.80)



[apocalypse]$ ./Build install --install_base  /home/anexiole/ 
projects/lib




Huh? Your shell prompt doesn't make it clear what module this Build  
is for.





CPAN-1.94/distroprefs/MSERGEANT.AxKit.yml
CPAN-1.94/distroprefs/AUDREYT.Module-Signature.yml
[snip]
CPAN-1.94/distroprefs/RRWO.Graphics-ColorNames.yml
CPAN-1.94/distroprefs/JSHIRLEY.Catalyst-Action-REST.yml
CPAN-1.94/distroprefs/KNORR.Net-MirrorDir.yml
^CN-1.94/t/12cpan.t
Uncompressed
/home/anexiole/.cpan/sources/authors/id/A/AN/ANDK/CPAN-1.94.tar.gz
successfully
Using Tar:/bin/tar xvf
/home/anexiole/.cpan/sources/authors/id/A/AN/ANDK/CPAN-1.94.tar:
^CCouldn't untar
/home/anexiole/.cpan/sources/authors/id/A/AN/ANDK/CPAN-1.94.tar



Huh? What is installing CPAN here? This is nowhere near a full log..


^C^C
[apocalypse]$
[apocalypse]$
[apocalypse]$
[apocalypse]$ pwd
/home/anexiole/manual_installs/local-lib-1.001000
[apocalypse]$
[apocalypse]$ perl Makefile.PL --bootstrap


Where is the output from Makefile.PL - is there really none?

From this point on in the log shows you doing something completely  
different, then coming back to run make install.


Can you rm -rf your ~/perl5, and give us a full untrimmed log of  
bootstrapping local::lib _only_, as documented with the _FULL  
OUTPUT_, and without random other stuff.


Cheers
t0m

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] can't seem to install local::lib in dreamhost

2009-06-23 Thread Arjuna Del Toso
On Tue, 23 Jun 2009 13:33:01 +1000
kakim...@tpg.com.au wrote:

 hi guys
 
  I refered to http://www.catalystframework.org/calendar/2007/8 to
 install local::lib into my dreamhost account.
 
 I downloaded the tar file for local-lib and extracted it to a place in
 my home dir.
 In changed into the directory that local-lib contents lived in.
 I ran perl Makefile.PL --bootstrap PREFIX=/home/kakimoto -- went OK
 I ran make  test -- went OK
 I ran make install and this is the error I got:
 
 
 [apocalypse]$ make install
 mkdir /usr/local/lib/perl: Permission denied at
 /usr/share/perl/5.8/ExtUtils/Install.pm line 112
 make: *** [pure_site_install] Error 13
 [apocalypse]$
 
 HEL!!

If you just need Catalyst on Dreamhost I managed to install it
following these instructions
http://wiki.dreamhost.com/Catalyst
have a nice day,
arjuna


 
 ___
 List: Catalyst@lists.scsys.co.uk
 Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
 Searchable archive:
 http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site:
 http://dev.catalyst.perl.org/

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] can't seem to install local::lib in dreamhost

2009-06-23 Thread Gerda Shank

kakim...@tpg.com.au wrote:

hi guys

 I refered to http://www.catalystframework.org/calendar/2007/8 to
install local::lib into my dreamhost account.

I downloaded the tar file for local-lib and extracted it to a place in
my home dir.
In changed into the directory that local-lib contents lived in.
I ran perl Makefile.PL --bootstrap PREFIX=/home/kakimoto -- went OK
I ran make  test -- went OK
I ran make install and this is the error I got:


[apocalypse]$ make install
mkdir /usr/local/lib/perl: Permission denied at
/usr/share/perl/5.8/ExtUtils/Install.pm line 112
make: *** [pure_site_install] Error 13
[apocalypse]$

  


I recently installed local::lib on Dreamhost and had a lot of problem, 
many - but not all - of which were caused by the fact that they kept 
killing my CPAN install processes. I saved at least a partial log, and 
this is probably what caused his problem:


-
[lakers]$ perl Makefile.PL --bootstrap
Attempting to create directory /home/gshank/perl5
Attempting to create file /home/gshank/perl5/.modulebuildrc
ExtUtils::MakeMaker version 6.31 required--this is only version 6.30_01.
BEGIN failed--compilation aborted.
CPAN version 1.8 required--this is only version 1.7602.
BEGIN failed--compilation aborted.
Prototype mismatch: sub ExtUtils::MakeMaker::prompt ($;$) vs none at -e 
line 9.


/home/gshank/.cpan/CPAN/MyConfig.pm initialized.


After which it  tried to use CPAN to install ExtUtils::MakeMaker. Which 
didn't work, of course.


I downloaded and installed it myself by hand in the perl5/lib/perl5 
directory I think. As I recall, I also had to do that with 
Module::Build. Then eventually it got half installed and I and updated 
my .bashrc myself and then...  evenutally I got it all working. I had 
weird problems with CPAN too. I had to end up installing a lot of the 
modules myself.


Gerda Shank






___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] can't seem to install local::lib in dreamhost

2009-06-22 Thread kakimoto
hi guys

 I refered to http://www.catalystframework.org/calendar/2007/8 to
install local::lib into my dreamhost account.

I downloaded the tar file for local-lib and extracted it to a place in
my home dir.
In changed into the directory that local-lib contents lived in.
I ran perl Makefile.PL --bootstrap PREFIX=/home/kakimoto -- went OK
I ran make  test -- went OK
I ran make install and this is the error I got:


[apocalypse]$ make install
mkdir /usr/local/lib/perl: Permission denied at
/usr/share/perl/5.8/ExtUtils/Install.pm line 112
make: *** [pure_site_install] Error 13
[apocalypse]$

HEL!!



___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] can't seem to install local::lib in dreamhost

2009-06-22 Thread Hans Dieter Pearcey
On Tue, Jun 23, 2009 at 01:33:01PM +1000, kakim...@tpg.com.au wrote:
 I ran perl Makefile.PL --bootstrap PREFIX=/home/kakimoto -- went OK

Nothing in the documentation for local::lib OR the calendar entry you linked to
says to use a PREFIX= parameter here.

hdp.

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] can't seem to install local::lib in dreamhost

2009-06-22 Thread kakimoto

Yes, I actually tried doing it without PREFIX but it still didn;t work.
 Then I thought that since I installed perl modules into my home
directory, maybe that's using the PREFIX would do the trick.


hdp.perl.catalyst.us...@weftsoar.net
On Tue, Jun 23, 2009 at 01:33:01PM +1000, kakim...@tpg.com.au wrote:
 I ran perl Makefile.PL --bootstrap PREFIX=/home/kakimoto -- went OK

Nothing in the documentation for local::lib OR the calendar entry you
linked to
says to use a PREFIX= parameter here.



___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] can't seem to install local::lib in dreamhost

2009-06-22 Thread Hans Dieter Pearcey
On Tue, Jun 23, 2009 at 01:45:09PM +1000, kakim...@tpg.com.au wrote:
 Yes, I actually tried doing it without PREFIX but it still didn;t work.
  Then I thought that since I installed perl modules into my home
 directory, maybe that's using the PREFIX would do the trick.

If all you tell us about is that you did it wrong, you're just going to be told
to do it right.  You can avoid this by actually telling us everything you did
in your first email:

  I tried the directions, and that didn't work with this error [log here], so
  I tried again with PREFIX=whatever, and that didn't work either, with (the
  same error / this error [log here] )

It's not clear yet whether you've given us the error you received when you
first tried it (without PREFIX).

Even better would be a full log of your shell session when you try to install
local::lib, in case there are details that you don't know are relevant.

hdp.

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/