Re: Lingua::Stem 0.83 module installation problem

2010-03-17 Thread Dermot
On 17 March 2010 02:13, Doug Cacialli doug.cacia...@gmail.com wrote:
 On Tue, Mar 16, 2010 at 4:36 AM, Dermot paik...@googlemail.com wrote:
 On 16 March 2010 00:29, Doug Cacialli doug.cacia...@gmail.com wrote:
 Hello list,


 Building Lingua-Stem
 Can't locate Lingua/Stem.pm in @INC (@INC contains:
 C:/strawberry/perl/lib C:strawberry/perl/site/lib
 c:\strawberry\perl\vendor\lib .) at lib/Lingua/test.pl line 2.
 BEGIN failed--compilation aborted at lib/Lingua/test.pl line 3.
 lib/Lingua/test.pl failed at
 C:/strawberry/perl/lib/Module/Build/Base.pm line 2795.
 --
 To unsubscribe, e-mail: beginners-unsubscr...@perl.org
 For additional commands, e-mail: beginners-h...@perl.org
 http://learn.perl.org/




 Thank you for the help, Dermot.  Could you (or someone else on the
 list) provide some detail regard how to set PERL5LIB to include the
 path to the to-be-installed Lingua-Stem/lib, or edit the test.pl and
 use lib?  I tried manually installing; perl Build.PL worked fine,
 build choked and produced the same error as above.  I was able to find
 Lingua/Stem.pl ... it's in the Lingua-Stem-0.83 directory
 (./lib/Lingua/Stem.pl) I extracted from the compressed install file I
 got from CPAN.  Is that helpful?

 I poked around through some online documentation for about 45 minutes
 - I've reached the end of my present skill.


This may be a bit tricky to replicate under windows. PERL5LIB is an
environment variable you can set so that perl will look in that path
for libraries. It's akin to @INC. See perldoc perlrun for more
details. There are a number of ways to set environment variables under
windows, under XP one way would be system
properties/advanced/Enviroment variables.

It sounds like the test is, well not complete, because it has not told
perl where to look and it's in a not standard place.


 lib/Lingua/test.pl ==
#!/usr/bin/perl

use Lingua::Stem qw (stem);
my @words = qw(a list of words to be stemmed for testing purposes);
my $stemmed_words = stem(@words);
print join(\n,@$stemmed_words)




Try modifying test.pl so it reads:

#!/usr/bin/perl

use FindBin qw($Bin);
use lib q($Bin/../lib)

use Lingua::Stem qw (stem);
...
...

Hopefully that will allow the test to work. Looking at the test, I
would say that it's not critical to the installation and you could
force install.

I hope that helps,
Dp.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: Lingua::Stem 0.83 module installation problem

2010-03-16 Thread Dermot
On 16 March 2010 00:29, Doug Cacialli doug.cacia...@gmail.com wrote:
 Hello list,


 Building Lingua-Stem
 Can't locate Lingua/Stem.pm in @INC (@INC contains:
 C:/strawberry/perl/lib C:strawberry/perl/site/lib
 c:\strawberry\perl\vendor\lib .) at lib/Lingua/test.pl line 2.
 BEGIN failed--compilation aborted at lib/Lingua/test.pl line 3.
 lib/Lingua/test.pl failed at
 C:/strawberry/perl/lib/Module/Build/Base.pm line 2795.


I'm not familiar with Strawberry perl but the error says it can't find
Lingua::Stem. It looks like this is happening during the testing
process. Is it possible to download the package and attempt to install
in manually? You could then set PERL5LIB to include the path to the
to-be-installed Lingua-Stem/lib or edit the test .pl and use lib.

HTH,
Dp.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: Lingua::Stem 0.83 module installation problem

2010-03-16 Thread Doug Cacialli
On Tue, Mar 16, 2010 at 4:36 AM, Dermot paik...@googlemail.com wrote:
 On 16 March 2010 00:29, Doug Cacialli doug.cacia...@gmail.com wrote:
 Hello list,


 Building Lingua-Stem
 Can't locate Lingua/Stem.pm in @INC (@INC contains:
 C:/strawberry/perl/lib C:strawberry/perl/site/lib
 c:\strawberry\perl\vendor\lib .) at lib/Lingua/test.pl line 2.
 BEGIN failed--compilation aborted at lib/Lingua/test.pl line 3.
 lib/Lingua/test.pl failed at
 C:/strawberry/perl/lib/Module/Build/Base.pm line 2795.


 I'm not familiar with Strawberry perl but the error says it can't find
 Lingua::Stem. It looks like this is happening during the testing
 process. Is it possible to download the package and attempt to install
 in manually? You could then set PERL5LIB to include the path to the
 to-be-installed Lingua-Stem/lib or edit the test .pl and use lib.

 HTH,
 Dp.

 --
 To unsubscribe, e-mail: beginners-unsubscr...@perl.org
 For additional commands, e-mail: beginners-h...@perl.org
 http://learn.perl.org/




Thank you for the help, Dermot.  Could you (or someone else on the
list) provide some detail regard how to set PERL5LIB to include the
path to the to-be-installed Lingua-Stem/lib, or edit the test.pl and
use lib?  I tried manually installing; perl Build.PL worked fine,
build choked and produced the same error as above.  I was able to find
Lingua/Stem.pl ... it's in the Lingua-Stem-0.83 directory
(./lib/Lingua/Stem.pl) I extracted from the compressed install file I
got from CPAN.  Is that helpful?

I poked around through some online documentation for about 45 minutes
- I've reached the end of my present skill.

-Doug.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: Lingua::Stem 0.83 module installation problem

2010-03-16 Thread Doug Cacialli
On Tue, Mar 16, 2010 at 9:13 PM, Doug Cacialli doug.cacia...@gmail.com wrote:
 On Tue, Mar 16, 2010 at 4:36 AM, Dermot paik...@googlemail.com wrote:
 On 16 March 2010 00:29, Doug Cacialli doug.cacia...@gmail.com wrote:
 Hello list,


 Building Lingua-Stem
 Can't locate Lingua/Stem.pm in @INC (@INC contains:
 C:/strawberry/perl/lib C:strawberry/perl/site/lib
 c:\strawberry\perl\vendor\lib .) at lib/Lingua/test.pl line 2.
 BEGIN failed--compilation aborted at lib/Lingua/test.pl line 3.
 lib/Lingua/test.pl failed at
 C:/strawberry/perl/lib/Module/Build/Base.pm line 2795.


 I'm not familiar with Strawberry perl but the error says it can't find
 Lingua::Stem. It looks like this is happening during the testing
 process. Is it possible to download the package and attempt to install
 in manually? You could then set PERL5LIB to include the path to the
 to-be-installed Lingua-Stem/lib or edit the test .pl and use lib.

 HTH,
 Dp.

 --
 To unsubscribe, e-mail: beginners-unsubscr...@perl.org
 For additional commands, e-mail: beginners-h...@perl.org
 http://learn.perl.org/




 Thank you for the help, Dermot.  Could you (or someone else on the
 list) provide some detail regard how to set PERL5LIB to include the
 path to the to-be-installed Lingua-Stem/lib, or edit the test.pl and
 use lib?  I tried manually installing; perl Build.PL worked fine,
 build choked and produced the same error as above.  I was able to find
 Lingua/Stem.pl ... it's in the Lingua-Stem-0.83 directory
 (./lib/Lingua/Stem.pl) I extracted from the compressed install file I
 got from CPAN.  Is that helpful?

 I poked around through some online documentation for about 45 minutes
 - I've reached the end of my present skill.

 -Doug.


My apologies for any confusion I might have just created with my reply
... that should have read that I located Lingua/Stem.pm.  I remain
unsure how to proceed, however.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Lingua::Stem 0.83 module installation problem

2010-03-15 Thread Doug Cacialli
Hello list,

I'm really, really new in perl, so please forgive me if this is a
silly problem with an obvious solution.

I'm running the latest release of Strawberry Perl in Windows 7
Ultimate (x64), trying to install Lingua::Stem, a prereq for
AI::Categorizer.  I sucessfully installed about a dozen other prereqs
and recommended modules, but I can't get Lingua::Stem to take.  I've
tried from the CPAN client, both using install and get, Build.PM, etc.
 Neither work.  The error I'm getting is this:

Building Lingua-Stem
Can't locate Lingua/Stem.pm in @INC (@INC contains:
C:/strawberry/perl/lib C:strawberry/perl/site/lib
c:\strawberry\perl\vendor\lib .) at lib/Lingua/test.pl line 2.
BEGIN failed--compilation aborted at lib/Lingua/test.pl line 3.
lib/Lingua/test.pl failed at
C:/strawberry/perl/lib/Module/Build/Base.pm line 2795.

None of this was an issue in my linux distro, but I need to see this
work in Windows; it'd be easier convincing my advisor to buy me a BMW
than it would convincing him to switch from Windows, and he'll need to
run it on his system.

Can someone kindly get me back on track?  Many thanks!

-Doug.

===
Douglas Cacialli, M.A. - Doctoral candidate
Clinical Psychology Training Program
University of Nebraska-Lincoln
Lincoln, Nebraska 68588-0308
===

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




module installation problem

2007-04-24 Thread I . B .

Hi people,

I installed module Net::Ftp::Recursive. All following steps succeeded:
perl Makefile.PL
make
make test
make install

# next i tested if module loading correctly
~$ perl -MNet::Ftp::Recursive -e 1;
Can't locate Net/Ftp/Recursive.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl .).
BEGIN failed--compilation aborted.

# it exists
$ ls /usr/local/share/perl/5.8.7/Net/FTP/Recursive.pm
/usr/local/share/perl/5.8.7/Net/FTP/Recursive.pm

# cd to perl libs
$ cd /usr/local/share/perl/5.8.7

# run ok!
$ perl -MNet::FTP::Recursive -e 1;

# go back to $HOME
$ cd ~

# run ok!
$ perl -MNet::FTP::Recursive -e 1;

Does anyone know if this is some kind of cache I am not aware about?
thank you in advance.

~igy

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: module installation problem

2007-04-24 Thread Chas Owens

On 4/25/07, I. B. [EMAIL PROTECTED] wrote:
snip
# it exists
$ ls /usr/local/share/perl/5.8.7/Net/FTP/Recursive.pm
/usr/local/share/perl/5.8.7/Net/FTP/Recursive.pm
snip

Does anyone know if this is some kind of cache I am not aware about?
thank you in advance.

snip

Make sure the file is readable to the user trying to run the script.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: module installation problem

2007-04-24 Thread yaron
Hi,

I think that you have a little mistake 
Run perl -MNet::FTP::Recursive -e 1; instead of perl -MNet::Ftp::Recursive -e 
1;.

Yours,
Yaron Kahanovitch
- Original Message -
From: I.B. [EMAIL PROTECTED]
To: beginners@perl.org
Sent: Wednesday, April 25, 2007 7:27:18 AM (GMT+0200) Auto-Detected
Subject: module installation problem

Hi people,

I installed module Net::Ftp::Recursive. All following steps succeeded:
perl Makefile.PL
make
make test
make install

# next i tested if module loading correctly
~$ perl -MNet::Ftp::Recursive -e 1;
Can't locate Net/Ftp/Recursive.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl .).
BEGIN failed--compilation aborted.

# it exists
$ ls /usr/local/share/perl/5.8.7/Net/FTP/Recursive.pm
/usr/local/share/perl/5.8.7/Net/FTP/Recursive.pm

# cd to perl libs
$ cd /usr/local/share/perl/5.8.7

# run ok!
$ perl -MNet::FTP::Recursive -e 1;

# go back to $HOME
$ cd ~

# run ok!
$ perl -MNet::FTP::Recursive -e 1;

Does anyone know if this is some kind of cache I am not aware about?
thank you in advance.

~igy

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: module installation problem

2007-04-24 Thread I . B .

I will try to reproduce this again. I am sure it was Net::FTP::Recursive

thank you for response

~igy



On 4/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Hi,

I think that you have a little mistake
Run perl -MNet::FTP::Recursive -e 1; instead of perl -MNet::Ftp::Recursive -e 
1;.

Yours,
Yaron Kahanovitch
- Original Message -
From: I.B. [EMAIL PROTECTED]
To: beginners@perl.org
Sent: Wednesday, April 25, 2007 7:27:18 AM (GMT+0200) Auto-Detected
Subject: module installation problem

Hi people,

I installed module Net::Ftp::Recursive. All following steps succeeded:
perl Makefile.PL
make
make test
make install

# next i tested if module loading correctly
~$ perl -MNet::Ftp::Recursive -e 1;
Can't locate Net/Ftp/Recursive.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl .).
BEGIN failed--compilation aborted.

# it exists
$ ls /usr/local/share/perl/5.8.7/Net/FTP/Recursive.pm
/usr/local/share/perl/5.8.7/Net/FTP/Recursive.pm

# cd to perl libs
$ cd /usr/local/share/perl/5.8.7

# run ok!
$ perl -MNet::FTP::Recursive -e 1;

# go back to $HOME
$ cd ~

# run ok!
$ perl -MNet::FTP::Recursive -e 1;

Does anyone know if this is some kind of cache I am not aware about?
thank you in advance.

~igy

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/






--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Module installation problem Set::Array and Want.pm

2006-05-19 Thread Graeme McLaren

Hi all, I tried installing Set::Array and I got the following error:

#   Failed test 'use Set::Array;'
#   in t/test.t at line 7.
# Tried to use 'Set::Array'.
# Error:  Can't locate Want.pm in @INC (@INC contains: 
/root/.cpan/build/Set-Array-0.14/blib/lib 
/root/.cpan/build/Set-Array-0.14/blib/arch /etc/perl 
/usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 
/usr/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.8.4 
/usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at 
/root/.cpan/build/Set-Array-0.14/blib/lib/Set/Array.pm line 10.

# BEGIN failed--compilation aborted at t/test.t line 7.
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at (eval 3) line 2.
Can't locate object method new via package Set::Array at t/test.t line 
9.

# Looks like you planned 39 tests but only ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test died just after 1.
t/testdubious
   Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-39
   Failed 39/39 tests, 0.00% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
---
t/test.t 255 6528039   77 197.44%  1-39
1 test skipped.
Failed 1/2 test scripts, 50.00% okay. 39/39 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2
 /usr/bin/make test -- NOT OK
Running make install
 make test had returned bad status, won't install without force


I've tried installing Want.pm:

cpan install Want
Running install for module Want
Running make for R/RO/ROBIN/Want-0.10.tar.gz
 Is already unwrapped into directory /root/.cpan/build/Want-0.10
 Has already been processed within this session
Running make test
 Can't test without successful make
Running make install
 make had returned bad status, install seems impossible


I can't get this working, any ideas on how to get this installed?


Cheers,

G :)


Public Sub House()

On Error Resume drink

If Pint.empty = True Then
Pint.refill
  Else
Pint.drink
End if

stomach.add Pint

MsgBox  I've had    stomach.count   Pints
MsgBox VERY DRUNK

End Sub



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: Module installation problem Set::Array and Want.pm

2006-05-19 Thread Michael Goldshteyn
I would try to do the make manually for Want.pm and see what errors crop 
up...

Graeme McLaren [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Hi all, I tried installing Set::Array and I got the following error:

 #   Failed test 'use Set::Array;'
 #   in t/test.t at line 7.
 # Tried to use 'Set::Array'.
 # Error:  Can't locate Want.pm in @INC (@INC contains: 
 /root/.cpan/build/Set-Array-0.14/blib/lib 
 /root/.cpan/build/Set-Array-0.14/blib/arch /etc/perl 
 /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 
 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 
 /usr/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.8.4 
 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 
 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at 
 /root/.cpan/build/Set-Array-0.14/blib/lib/Set/Array.pm line 10.
 # BEGIN failed--compilation aborted at t/test.t line 7.
 # Compilation failed in require at (eval 3) line 2.
 # BEGIN failed--compilation aborted at (eval 3) line 2.
 Can't locate object method new via package Set::Array at t/test.t line 
 9.
 # Looks like you planned 39 tests but only ran 1.
 # Looks like you failed 1 test of 1 run.
 # Looks like your test died just after 1.
 t/testdubious
Test returned status 255 (wstat 65280, 0xff00)
 DIED. FAILED tests 1-39
Failed 39/39 tests, 0.00% okay
 Failed Test Stat Wstat Total Fail  Failed  List of Failed
 ---
 t/test.t 255 6528039   77 197.44%  1-39
 1 test skipped.
 Failed 1/2 test scripts, 50.00% okay. 39/39 subtests failed, 0.00% okay.
 make: *** [test_dynamic] Error 2
  /usr/bin/make test -- NOT OK
 Running make install
  make test had returned bad status, won't install without force


 I've tried installing Want.pm:

 cpan install Want
 Running install for module Want
 Running make for R/RO/ROBIN/Want-0.10.tar.gz
  Is already unwrapped into directory /root/.cpan/build/Want-0.10
  Has already been processed within this session
 Running make test
  Can't test without successful make
 Running make install
  make had returned bad status, install seems impossible


 I can't get this working, any ideas on how to get this installed?


 Cheers,

 G :)


 Public Sub House()

 On Error Resume drink

 If Pint.empty = True Then
 Pint.refill
   Else
 Pint.drink
 End if

 stomach.add Pint

 MsgBox  I've had    stomach.count   Pints
 MsgBox VERY DRUNK

 End Sub



 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 http://learn.perl.org/ http://learn.perl.org/first-response


 




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Module installation problem

2005-03-29 Thread GR Kumaran
Hello,

I'm in Win98, I'd downloaded the SIEPERL from CPAN and installed.  And
I had downloaded MYSQL DBI also from CPAN, but do not know how to
install it into SIEPERL.  I had read PPM will do, so I tried 'ppm'
alone in command prompt, then I got the following error message.

Failed to load PPM_DAT file
Can't use an undefined value as a SCALAR reference at
C:/SieperL/perl/site/5.8.0
/lib/PPM.pm line 1624, DATA line 40.

So now I request someone to help me.

Greetings,
R. Kumaran


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: Module installation problem

2005-03-29 Thread Felix Geerinckx
On 29/03/2005, GR Kumaran wrote:

 I'm in Win98, I'd downloaded the SIEPERL from CPAN and installed.  And
 I had downloaded MYSQL DBI also from CPAN, but do not know how to
 install it into SIEPERL.  I had read PPM will do, so I tried 'ppm'
 alone in command prompt, then I got the following error message.

None of my business, of course, but why don't you use ActivePerl? You
won't run into these kind of problems if you do.

-- 
felix

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Perl module installation problem

2003-12-22 Thread PerlDiscuss - Perl Newsgroups and mailing lists
Dear Sir/Madam, 
 
I am just wondering if anyone can help with this:
 
When I try to install the module, XML::Parser::PerlSAX, I encountered the 
following error message: 
 
Running make test 
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.1 -MExtUtils::Command::MM -e 
test_harness(0, 'blib/lib', 'blib/arch') t/*.t 
t/amsterdam...ok 
t/canon_xml_writerok 
t/schema..ok 
t/stream..FAILED test 11 
Failed 1/11 tests, 90.91% okay 
t/subsok 
t/xp_sax..ok 
Failed Test Stat Wstat Total Fail  Failed  List of Failed 
--- 
t/stream.t111   9.09%  11 
Failed 1/6 test scripts, 83.33% okay. 1/45 subtests failed, 97.78% okay. 
make: *** [test_dynamic] Error 255 
  /usr/bin/make test -- NOT OK 
Running make install 
  make test had returned bad status, won't install without force 
 
 
I am just wondering if there is anyway to resolve this problem? 
Thanks in advance for your help. 
 
Howard 
 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response