Re: Math::GMP and Net::SSH::Perl

2006-08-05 Thread Doug McNutt
At 18:29 -0700 8/5/06, [EMAIL PROTECTED] quoted:
>On Aug 5, 2006, at 3:43 PM, Michael Barto wrote:
>>The issue is that the Math/GMP.pm is located in my development  directory :
>>
>>/Users/Mbarto/Development/Perl/GMP.pm

setenv PERL5LIB /Users/Mbarto/Development/Perl

PERL5LIB=/Users/Mbarto/Development/Perl
export PERL5LIB

Either way perl will add the directory to @inc before it starts compiling.
-- 

--> In Christianity, man can have only one wife. This is known as monotony. <--


Re: Math::GMP and Net::SSH::Perl

2006-08-05 Thread emoy

Try:

'LIBS'  => ['-L/usr/local/lib', '-lgmp'],   # e.g., '-lm'

 
--

Edward Moy
Apple

(This message is from me as a reader of this list, and not a statement
from Apple.)

On Aug 5, 2006, at 3:43 PM, Michael Barto wrote:


I make this modification, but still get the same error.

t/03-packet..Can't locate Math/GMP.pm in @INC (@INC ..

--
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

WriteMakefile(
'NAME'  => 'Math::GMP',
'VERSION_FROM' => 'lib/Math/GMP.pm', # finds $VERSION
#'LIBS' => ['-lgmp'],   # e.g., '-lm'
'LIBS'  => ['-L/usr/local/lib -lgmp'],   # e.g., '-lm'
'DEFINE'=> '', # e.g., '-DHAVE_SOMETHING'
);
--

The issue is that the Math/GMP.pm is located in my development  
directory :


/Users/Mbarto/Development/Perl/GMP.pm

Should I change it to that,  instead?

Paul McCann wrote:

Hi Michael,

I think the problem here is that Math::GMP doesn't look in /usr/ 
local/ lib to find the libgmp* libraries, so you need to give it a  
helping  hand.


Just modifying the Makefile.PL file so that instead of

'LIBS'  => ['-lgmp'],   # e.g., '-lm'

you have

'LIBS'  => ['-L/usr/local/lib -lgmp'],   # e.g., '-lm'

should do the trick.

Cheers,
Paul



--
Michael Barto
Software Architect



LogiQwest Inc.
16458 Bolsa Chica Street, # 15
Huntington Beach, CA  92649
http://www.logiqwest.com/

[EMAIL PROTECTED]
Tel:  714 377 3705
Fax: 714 840 3937
Cell: 714 883 1949

'tis a gift to be simple
This e-mail may contain LogiQwest proprietary information and  
should be treated as confidential.




Getting make test fail with Math::Pari

2006-08-05 Thread Boysenberry Payne

when I run make test on Math::Pari I get the following output:

cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic"  
OPTIMIZE="-O1" PREFIX="/usr/local" PASTHRU_DEFINE="" PASTHRU_INC=""

make[1]: Nothing to be done for `all'.
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"  
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

t/00_Paridubious
Test returned status 0 (wstat 10, 0xa)
t/55_analyz..dubious
Test returned status 0 (wstat 10, 0xa)
t/55_ellglobalreddubious
Test returned status 0 (wstat 10, 0xa)
t/55_ellipticdubious
Test returned status 0 (wstat 10, 0xa)
t/55_galois..dubious
Test returned status 0 (wstat 10, 0xa)
t/55_graph...dubious
Test returned status 0 (wstat 10, 0xa)
t/55_intnum..dubious
Test returned status 0 (wstat 10, 0xa)
t/55_linear..dubious
Test returned status 0 (wstat 10, 0xa)
t/55_nfields.dubious
Test returned status 0 (wstat 10, 0xa)
t/55_number..dubious
Test returned status 0 (wstat 10, 0xa)
t/55_objets..dubious
Test returned status 0 (wstat 10, 0xa)
t/55_ploth...dubious
Test returned status 0 (wstat 10, 0xa)
t/55_polyser.dubious
Test returned status 0 (wstat 10, 0xa)
t/55_program.dubious
Test returned status 0 (wstat 10, 0xa)
t/55_qfbsolvedubious
Test returned status 0 (wstat 10, 0xa)
t/55_rfrac...dubious
Test returned status 0 (wstat 10, 0xa)
t/55_round4..dubious
Test returned status 0 (wstat 10, 0xa)
t/55_stark...dubious
Test returned status 0 (wstat 10, 0xa)
t/55_sumiter.dubious
Test returned status 0 (wstat 10, 0xa)
t/55_trans...dubious
Test returned status 0 (wstat 10, 0xa)
t/PlotRect...dubious
Test returned status 0 (wstat 10, 0xa)
t/zz_leakdubious
Test returned status 0 (wstat 10, 0xa)
FAILED--22 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 255

I did a make install regardless and have the following debug output:


computer.local: Remote version string: SSH-1.99-OpenSSH_3.6.1p2
computer.local: Remote protocol version 1.99, remote software version  
OpenSSH_3.6.1p2

Bus error


Is there some trick to installing Math::Pari on OS X 10.4.7?


Thanks,
Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com



Re: Math::GMP and Net::SSH::Perl

2006-08-05 Thread Michael Barto




Also, I scan the output and "/usr/local/lib" is not even in the search
path error
---

Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-compile.ok 

t/02-buffer..Can't locate Math/GMP.pm in @INC (@INC contains:
/private/var/root/.cpan/build/Net-SSH-Perl-1.30/blib/lib
/private/var/root/.cpan/build/Net-SSH-Perl-1.30/blib/arch
/System/Library/Perl/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/5.8.6
/Library/Perl/5.8.6/darwin-thread-multi-2level
/Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6
/Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6
/Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level
/Network/Library/Perl/5.8.6 /Network/Library/Perl
/System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.8.6
/Library/Perl/5.8.1/darwin-thread-multi-2level
/Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 .
/System/Library/Perl/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/5.8.6
/Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6
/Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level
/Network/Library/Perl/5.8.6 /Network/Library/Perl
/System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.8.6
/Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 .)
at t/02-buffer.t line 9.
BEGIN failed--compilation aborted at t/02-buffer.t line 9.


--

Michael Barto wrote:

  
  
I make this modification, but still get the same error.
  
  t/03-packet..Can't locate Math/GMP.pm in @INC (@INC ..
  
  --
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
  
WriteMakefile(
    'NAME'  => 'Math::GMP',
    'VERSION_FROM' => 'lib/Math/GMP.pm', # finds $VERSION
#    'LIBS' => ['-lgmp'],   # e.g., '-lm'
    'LIBS'  => ['-L/usr/local/lib -lgmp'],   # e.g., '-lm'
    'DEFINE'    => '', # e.g., '-DHAVE_SOMETHING'
);
--
  
The issue is that the Math/GMP.pm is located in my development
directory :
  
  /Users/Mbarto/Development/Perl/GMP.pm
  
Should I change it to that,  instead?
  
Paul McCann wrote:
  Hi Michael, 

I think the problem here is that Math::GMP doesn't look in /usr/local/
lib to find the libgmp* libraries, so you need to give it a helping 
hand. 

Just modifying the Makefile.PL file so that instead of 

'LIBS'  => ['-lgmp'],   # e.g., '-lm' 

you have 

'LIBS'  => ['-L/usr/local/lib -lgmp'],   # e.g., '-lm' 

should do the trick. 

Cheers, 
Paul 

  
  
  -- 
  
  
  
  
  

  


  
  
Michael Barto
Software Architect




  
  
 LogiQwest
Inc.
16458 Bolsa Chica Street, # 15
Huntington Beach, CA  92649
http://www.logiqwest.com/


   
[EMAIL PROTECTED]
Tel:  714 377 3705
Fax: 714 840 3937
Cell: 714 883 1949


  
  
'tis a gift to be
simple
 
  
  
 This e-mail may contain
LogiQwest
proprietary information and should be treated as confidential. 
  

  
  
  
  


-- 





  

  
  


  Michael Barto
  Software Architect
  
  
  
  


   LogiQwest
Inc.
16458 Bolsa Chica Street, # 15
Huntington Beach, CA  92649
  http://www.logiqwest.com/
  
  
     
  [EMAIL PROTECTED]
Tel:  714 377 3705
Fax: 714 840 3937
Cell: 714 883 1949
  
  


  'tis a gift to be
simple
   


   This e-mail may contain
LogiQwest
proprietary information and should be treated as confidential. 

  








Re: Math::GMP and Net::SSH::Perl

2006-08-05 Thread Michael Barto




I make this modification, but still get the same error.

t/03-packet..Can't locate Math/GMP.pm in @INC (@INC ..

--
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

WriteMakefile(
    'NAME'  => 'Math::GMP',
    'VERSION_FROM' => 'lib/Math/GMP.pm', # finds $VERSION
#    'LIBS' => ['-lgmp'],   # e.g., '-lm'
    'LIBS'  => ['-L/usr/local/lib -lgmp'],   # e.g., '-lm'
    'DEFINE'    => '', # e.g., '-DHAVE_SOMETHING'
);
--

The issue is that the Math/GMP.pm is located in my development
directory :

/Users/Mbarto/Development/Perl/GMP.pm

Should I change it to that,  instead?

Paul McCann wrote:
Hi Michael,
  
  
I think the problem here is that Math::GMP doesn't look in /usr/local/
lib to find the libgmp* libraries, so you need to give it a helping 
hand.
  
  
Just modifying the Makefile.PL file so that instead of
  
  
'LIBS'  => ['-lgmp'],   # e.g., '-lm'
  
  
you have
  
  
'LIBS'  => ['-L/usr/local/lib -lgmp'],   # e.g., '-lm'
  
  
should do the trick.
  
  
Cheers,
  
Paul
  
  


-- 





  

  
  


  Michael Barto
  Software Architect
  
  
  
  


   LogiQwest
Inc.
16458 Bolsa Chica Street, # 15
Huntington Beach, CA  92649
  http://www.logiqwest.com/
  
  
     
  [EMAIL PROTECTED]
Tel:  714 377 3705
Fax: 714 840 3937
Cell: 714 883 1949
  
  


  'tis a gift to be
simple
   


   This e-mail may contain
LogiQwest
proprietary information and should be treated as confidential. 

  








Re: Math::GMP and Net::SSH::Perl

2006-08-05 Thread Boysenberry Payne

This has been a bugger for me too.
I'm using OS X 10.4.7 and get the following when I try
to make test on Math-Pari-2.010706.

cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic"  
OPTIMIZE="-O1" PREFIX="/usr/local" PASTHRU_DEFINE="" PASTHRU_INC=""

make[1]: Nothing to be done for `all'.
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"  
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

t/00_Paridubious
Test returned status 0 (wstat 10, 0xa)
t/55_analyz..dubious
Test returned status 0 (wstat 10, 0xa)
t/55_ellglobalreddubious
Test returned status 0 (wstat 10, 0xa)
t/55_ellipticdubious
Test returned status 0 (wstat 10, 0xa)
t/55_galois..dubious
Test returned status 0 (wstat 10, 0xa)
t/55_graph...dubious
Test returned status 0 (wstat 10, 0xa)
t/55_intnum..dubious
Test returned status 0 (wstat 10, 0xa)
t/55_linear..dubious
Test returned status 0 (wstat 10, 0xa)
t/55_nfields.dubious
Test returned status 0 (wstat 10, 0xa)
t/55_number..dubious
Test returned status 0 (wstat 10, 0xa)
t/55_objets..dubious
Test returned status 0 (wstat 10, 0xa)
t/55_ploth...dubious
Test returned status 0 (wstat 10, 0xa)
t/55_polyser.dubious
Test returned status 0 (wstat 10, 0xa)
t/55_program.dubious
Test returned status 0 (wstat 10, 0xa)
t/55_qfbsolvedubious
Test returned status 0 (wstat 10, 0xa)
t/55_rfrac...dubious
Test returned status 0 (wstat 10, 0xa)
t/55_round4..dubious
Test returned status 0 (wstat 10, 0xa)
t/55_stark...dubious
Test returned status 0 (wstat 10, 0xa)
t/55_sumiter.dubious
Test returned status 0 (wstat 10, 0xa)
t/55_trans...dubious
Test returned status 0 (wstat 10, 0xa)
t/PlotRect...dubious
Test returned status 0 (wstat 10, 0xa)
t/zz_leakdubious
Test returned status 0 (wstat 10, 0xa)
FAILED--22 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 255

Anyone know what's wrong?
I've built and rebuilt both GMP and Pari and after several
hours of compiling I'm still not able to install Net::SSH::Perl
because of Math::Pari.  I don't remember it being so hard
on Panther...


Thanks,
Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com

On Aug 5, 2006, at 4:50 PM, Michael Barto wrote:

I am a novice at this. What am I missing? I downloaded the  
Math::GMP ran a config, make,  make test and make install.


./configure
make
make check<= VERY IMPORTANT!!

make install

everything worked fine. The library was installed in /usr/local/lib

In my load directory, I have a "GMP.pm" file in a development  
directory where I downloaded this module before I did the make(s)/ 
install.


When I try again installed this CPAN module which has this  
dependency with


perl -MCPAN -e 'install Net::SSH::Perl'

I get
-
Looks good
Warning: prerequisite Math::GMP 1.04 not found.
Writing Makefile for Net::SSH::Perl
 Unsatisfied dependencies detected during [D/DB/DBROBINS/Net- 
SSH-Perl-1.30.tar.gz] -

Math::GMP
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]




DIED. FAILED tests 1-19
Failed 19/19 tests, 0.00% okay
t/03-packet..Can't locate Math/GMP.pm in @INC .etc.

--

Should I move the "GMP.pm" to say /Library/Perl/5.8.6/darwin-thread- 
multi-2level/Math so that the computation can see it, use libtool  
(how does that work?) or use an environmental variable? What is the  
correct answer to the question after I have compiled the Math::GMP  
(yes or no)? Since it is there, I think it should be no. But it  
does not see it. Before I hack it to see it, I would like some advice.


By the way Celeste Suliin Burris, you solved my first part of the  
problem in compiling GMP.pm. But who do we report these errors to  
fix CPAN without hacking around?


--
Michael Barto
Software Architect



LogiQwest Inc.
16458 Bolsa Chica Street, # 15
Huntington Beach, CA  92649
http://www.logiqwest.com/

[EMAIL PROTECTED]
Tel:  714 377 3705
Fax: 714 840 3937
Cell: 714 883 1949

'tis a gift to be simple
This e-mail may contain LogiQwest proprietary information and  
should be treated as confidential.




Re: Math::GMP and Net::SSH::Perl

2006-08-05 Thread Paul McCann

Hi Michael,

I think the problem here is that Math::GMP doesn't look in /usr/local/ 
lib to find the libgmp* libraries, so you need to give it a helping  
hand.


Just modifying the Makefile.PL file so that instead of

'LIBS'  => ['-lgmp'],   # e.g., '-lm'

you have

'LIBS'  => ['-L/usr/local/lib -lgmp'],   # e.g., '-lm'

should do the trick.

Cheers,
Paul


Math::GMP and Net::SSH::Perl

2006-08-05 Thread Michael Barto




I am a novice at this. What am I missing? I downloaded the Math::GMP
ran a config, make,  make test and make install.

    ./configure
    make
    make check        <= VERY IMPORTANT!!

make install

everything worked fine. The library was installed in /usr/local/lib

In my load directory, I have a "GMP.pm" file in a development directory
where I downloaded this module before I did the make(s)/install.

When I try again installed this CPAN module which has this dependency
with

perl -MCPAN -e 'install Net::SSH::Perl'
 
I get 
-
Looks good
Warning: prerequisite Math::GMP 1.04 not found.
Writing Makefile for Net::SSH::Perl
 Unsatisfied dependencies detected during
[D/DB/DBROBINS/Net-SSH-Perl-1.30.tar.gz] -
    Math::GMP
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes] 




DIED. FAILED tests 1-19
    Failed 19/19 tests, 0.00% okay
t/03-packet..Can't locate Math/GMP.pm in @INC .etc.

--

Should I move the "GMP.pm" to say
/Library/Perl/5.8.6/darwin-thread-multi-2level/Math so that the
computation can see it, use libtool (how does that work?) or use an
environmental variable? What is the correct answer to the question
after I have compiled the Math::GMP (yes or no)? Since it is there, I
think it should be no. But it does not see it. Before I hack it to see
it, I would like some advice.

By the way Celeste Suliin Burris, you solved my first part of the
problem in compiling GMP.pm. But who do we report these errors to fix
CPAN without hacking around?

-- 





  

  
  


  Michael Barto
  Software Architect
  
  
  
  


   LogiQwest
Inc.
16458 Bolsa Chica Street, # 15
Huntington Beach, CA  92649
  http://www.logiqwest.com/
  
  
     
  [EMAIL PROTECTED]
Tel:  714 377 3705
Fax: 714 840 3937
Cell: 714 883 1949
  
  


  'tis a gift to be
simple
   


   This e-mail may contain
LogiQwest
proprietary information and should be treated as confidential. 

  








iCal modules

2006-08-05 Thread Mike Schienle

Hi all -

I'm checking out modules for working with iCal. I want to scrape a  
financial calendar web site at  and put the  
dates into an iCal calendar. I checked   
and there were a couple financial ones from previous years, but  
nothing current. Apple's iCal section on their site didn't have any  
financial calendars listed.


Does this exist already for this or a similar calendar?
Data::iCal looks like an appropriate module to use. Any pros/cons or  
more appropriate modules to consider?


If you'd like to subscribe to the resulting calendar when I'm done,  
just drop me a line. I'm creating the iCal calendar by hand at the  
moment, so it's already available.


Thanks for any ideas.

Mike Schienle