Skip Menu |

This queue is for tickets about the IPDR CPAN distribution.

Report information
The Basics
Id: 66646
Status: open
Priority: 0/
Queue: IPDR

People
Owner: Nobody in particular
Requestors: colin.dearborn [...] sjrb.ca
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.29
Fixed in: (no value)



Subject: 64Bit support not available must stop.
When using the example code for IPDR::Collection::Client, I get the error "64Bit support not available must stop." when trying to connect to a Motorola 64K. #!/usr/local/bin/perl use strict; use IPDR::Collection::Client; my $ipdr_client = new IPDR::Collection::Client ( [ VendorID => 'IPDR Client', ServerIP => '10.191.253.17', ServerPort => '4737', KeepAlive => 60, Capabilities => 0x01, DataHandler => \&display_data, Timeout => 2, ] ); # We send a connect message to the IPDR server $ipdr_client->connect(); # If we do not connect stop. if ( !$ipdr_client->connected ) { print "Can not connect to destination.\n"; exit(0); } # We now send a connect message $ipdr_client->check_data_available(); print "Error was '".$ipdr_client->get_error()."'\n"; exit(0); sub display_data { my ( $remote_ip ) = shift; my ( $remote_port ) = shift; my ( $data ) = shift; my ( $self ) = shift; foreach my $sequence ( sort { $a<=>$b } keys %{$data} ) { print "Sequence is '$sequence'\n"; foreach my $attribute ( keys %{${$data}{$sequence}} ) { print "Sequence '$sequence' attribute '$attribute'"; print " value '${$data}{$sequence}{$attribute}'\n"; } } } output: perl ipdr_test.pl 64Bit support not available must stop. at /usr/lib/perl5/site_perl/5.8.8/IPDR/Collection/Client.pm line 920. Commenting out the following lines from the above file seemed to have worked: #if ( !$self->test_64_bit() ) # { # # if you forgot to run make test, this will clobber # # your run anyway. # die '64Bit support not available must stop.'; # }
Hi, The test is there as you do need 64bit support. When the counters go above a 32bit number, which is relatively quickly in most environments then your results will be rubbish, or perl will error out. Additionally the formatting of data from the IPDR server will be in a 64bit format. Even if your PC/Server/Hardware is not 64bit you can compile perl with 64bit support anyway, please do this and re-run the code. As the test was in make test, and in the code, I was trying to hint, 64bit support is needed ;) Andrew. On Tue Mar 15 18:18:04 2011, cdearborn wrote: Show quoted text
> When using the example code for IPDR::Collection::Client, I get the > error "64Bit support not available must stop." when trying to connect to > a Motorola 64K. > > > #!/usr/local/bin/perl > > use strict; > use IPDR::Collection::Client; > > my $ipdr_client = new IPDR::Collection::Client ( > [ > VendorID => 'IPDR Client', > ServerIP => '10.191.253.17', > ServerPort => '4737', > KeepAlive => 60, > Capabilities => 0x01, > DataHandler => \&display_data, > Timeout => 2, > ] > ); > > # We send a connect message to the IPDR server > $ipdr_client->connect(); > > # If we do not connect stop. > if ( !$ipdr_client->connected ) > { > print "Can not connect to destination.\n"; > exit(0); > } > > # We now send a connect message > $ipdr_client->check_data_available(); > > print "Error was '".$ipdr_client->get_error()."'\n"; > > exit(0); > > sub display_data > { > my ( $remote_ip ) = shift; > my ( $remote_port ) = shift; > my ( $data ) = shift; > my ( $self ) = shift; > > foreach my $sequence ( sort { $a<=>$b } keys %{$data} ) > { > print "Sequence is '$sequence'\n"; > foreach my $attribute ( keys %{${$data}{$sequence}} ) > { > print "Sequence '$sequence' attribute '$attribute'"; > print " value '${$data}{$sequence}{$attribute}'\n"; > } > } > > } > > output: > perl ipdr_test.pl > 64Bit support not available must stop. at > /usr/lib/perl5/site_perl/5.8.8/IPDR/Collection/Client.pm line 920. > > Commenting out the following lines from the above file seemed to have > worked: > #if ( !$self->test_64_bit() ) > # { > # # if you forgot to run make test, this will clobber > # # your run anyway. > # die '64Bit support not available must stop.'; > # } > > >
Subject: RE: [rt.cpan.org #66646] 64Bit support not available must stop.
Date: Tue, 15 Mar 2011 17:07:24 -0600
To: <bug-IPDR [...] rt.cpan.org>
From: "Colin Dearborn" <Colin.Dearborn [...] sjrb.ca>
Any chance that you could change the code to support Math::BigInt instead? http://perldoc.perl.org/Math/BigInt.html Show quoted text
-----Original Message----- From: Andrew S. Kennedy via RT [mailto:bug-IPDR@rt.cpan.org] Sent: Tuesday, March 15, 2011 4:45 PM To: Colin Dearborn Subject: [rt.cpan.org #66646] 64Bit support not available must stop. <URL: https://rt.cpan.org/Ticket/Display.html?id=66646 > Hi, The test is there as you do need 64bit support. When the counters go above a 32bit number, which is relatively quickly in most environments then your results will be rubbish, or perl will error out. Additionally the formatting of data from the IPDR server will be in a 64bit format. Even if your PC/Server/Hardware is not 64bit you can compile perl with 64bit support anyway, please do this and re-run the code. As the test was in make test, and in the code, I was trying to hint, 64bit support is needed ;) Andrew. On Tue Mar 15 18:18:04 2011, cdearborn wrote:
> When using the example code for IPDR::Collection::Client, I get the > error "64Bit support not available must stop." when trying to connect to > a Motorola 64K. > > > #!/usr/local/bin/perl > > use strict; > use IPDR::Collection::Client; > > my $ipdr_client = new IPDR::Collection::Client ( > [ > VendorID => 'IPDR Client', > ServerIP => '10.191.253.17', > ServerPort => '4737', > KeepAlive => 60, > Capabilities => 0x01, > DataHandler => \&display_data, > Timeout => 2, > ] > ); > > # We send a connect message to the IPDR server > $ipdr_client->connect(); > > # If we do not connect stop. > if ( !$ipdr_client->connected ) > { > print "Can not connect to destination.\n"; > exit(0); > } > > # We now send a connect message > $ipdr_client->check_data_available(); > > print "Error was '".$ipdr_client->get_error()."'\n"; > > exit(0); > > sub display_data > { > my ( $remote_ip ) = shift; > my ( $remote_port ) = shift; > my ( $data ) = shift; > my ( $self ) = shift; > > foreach my $sequence ( sort { $a<=>$b } keys %{$data} ) > { > print "Sequence is '$sequence'\n"; > foreach my $attribute ( keys %{${$data}{$sequence}} ) > { > print "Sequence '$sequence' attribute '$attribute'"; > print " value '${$data}{$sequence}{$attribute}'\n"; > } > } > > } > > output: > perl ipdr_test.pl > 64Bit support not available must stop. at > /usr/lib/perl5/site_perl/5.8.8/IPDR/Collection/Client.pm line 920. > > Commenting out the following lines from the above file seemed to have > worked: > #if ( !$self->test_64_bit() ) > # { > # # if you forgot to run make test, this will clobber > # # your run anyway. > # die '64Bit support not available must stop.'; > # } > > >
Not beyond the realms of possibility, looking through use cases seems a good intermediate code hook for 32/64 bit systems. There is one small issue, testing wise I no longer have access to a IPDR system so can not check it, so could be a little back and forth with code drops. I wont get to posting anything until the weekend. Andrew. On Tue Mar 15 19:07:38 2011, cdearborn wrote: Show quoted text
> Any chance that you could change the code to support Math::BigInt instead? > http://perldoc.perl.org/Math/BigInt.html > >
Subject: RE: [rt.cpan.org #66646] 64Bit support not available must stop.
Date: Fri, 25 Mar 2011 16:52:01 +0000 (GMT)
To: Colin Dearborn via RT <bug-IPDR [...] rt.cpan.org>
From: "Andrew S. Kennedy" <shamrock [...] cpan.org>
Colin, Just to let you know this is not forgotten about, just been a mad week. I hopefully will get some time over the weekend. regards, Andrew On Tue, 15 Mar 2011, Colin Dearborn via RT wrote: Show quoted text
> Queue: IPDR > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=66646 > > > Any chance that you could change the code to support Math::BigInt instead? > > http://perldoc.perl.org/Math/BigInt.html > > > > > > -----Original Message----- > > From: Andrew S. Kennedy via RT [mailto:bug-IPDR@rt.cpan.org] > > Sent: Tuesday, March 15, 2011 4:45 PM > > To: Colin Dearborn > > Subject: [rt.cpan.org #66646] 64Bit support not available must stop. > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=66646 > > > > > > > Hi, > > > > The test is there as you do need 64bit support. When the counters go > > above a 32bit number, which is relatively quickly in most environments > > then your results will be rubbish, or perl will error out. Additionally > > the formatting of data from the IPDR server will be in a 64bit format. > > > > Even if your PC/Server/Hardware is not 64bit you can compile perl with > > 64bit support anyway, please do this and re-run the code. > > > > As the test was in make test, and in the code, I was trying to hint, > > 64bit support is needed ;) > > > > Andrew. > > > > > > On Tue Mar 15 18:18:04 2011, cdearborn wrote: >
>> When using the example code for IPDR::Collection::Client, I get the
>
>> error "64Bit support not available must stop." when trying to connect to
>
>> a Motorola 64K.
>
>>
>
>>
>
>> #!/usr/local/bin/perl
>
>>
>
>> use strict;
>
>> use IPDR::Collection::Client;
>
>>
>
>> my $ipdr_client = new IPDR::Collection::Client (
>
>> [
>
>> VendorID => 'IPDR Client',
>
>> ServerIP => '10.191.253.17',
>
>> ServerPort => '4737',
>
>> KeepAlive => 60,
>
>> Capabilities => 0x01,
>
>> DataHandler => \&display_data,
>
>> Timeout => 2,
>
>> ]
>
>> );
>
>>
>
>> # We send a connect message to the IPDR server
>
>> $ipdr_client->connect();
>
>>
>
>> # If we do not connect stop.
>
>> if ( !$ipdr_client->connected )
>
>> {
>
>> print "Can not connect to destination.\n";
>
>> exit(0);
>
>> }
>
>>
>
>> # We now send a connect message
>
>> $ipdr_client->check_data_available();
>
>>
>
>> print "Error was '".$ipdr_client->get_error()."'\n";
>
>>
>
>> exit(0);
>
>>
>
>> sub display_data
>
>> {
>
>> my ( $remote_ip ) = shift;
>
>> my ( $remote_port ) = shift;
>
>> my ( $data ) = shift;
>
>> my ( $self ) = shift;
>
>>
>
>> foreach my $sequence ( sort { $a<=>$b } keys %{$data} )
>
>> {
>
>> print "Sequence is '$sequence'\n";
>
>> foreach my $attribute ( keys %{${$data}{$sequence}} )
>
>> {
>
>> print "Sequence '$sequence' attribute '$attribute'";
>
>> print " value '${$data}{$sequence}{$attribute}'\n";
>
>> }
>
>> }
>
>>
>
>> }
>
>>
>
>> output:
>
>> perl ipdr_test.pl
>
>> 64Bit support not available must stop. at
>
>> /usr/lib/perl5/site_perl/5.8.8/IPDR/Collection/Client.pm line 920.
>
>>
>
>> Commenting out the following lines from the above file seemed to have
>
>> worked:
>
>> #if ( !$self->test_64_bit() )
>
>> # {
>
>> # # if you forgot to run make test, this will clobber
>
>> # # your run anyway.
>
>> # die '64Bit support not available must stop.';
>
>> # }
>
>>
>
>>
>
>>
> > > > > > > >
Subject: RE: [rt.cpan.org #66646] 64Bit support not available must stop.
Date: Fri, 25 Mar 2011 11:05:04 -0600
To: <bug-IPDR [...] rt.cpan.org>
From: "Colin Dearborn" <Colin.Dearborn [...] sjrb.ca>
No problems. Thanks for the update!
Subject: RE: [rt.cpan.org #66646] 64Bit support not available must stop.
Date: Thu, 14 Apr 2011 13:42:45 +0100 (BST)
To: Colin Dearborn via RT <bug-IPDR [...] rt.cpan.org>
From: "Andrew S. Kennedy" <shamrock [...] cpan.org>
Colin, Sorry for the delay, I have a version ready for you to try (it may be a load of rubbish, but I have no way to test it ). Before I publish it on CPAN can you let me know where I can send it to you directly, you can email me off list at shamrock <at > cpan.org and I'll send it over. You can test etc and let me know. Hopefully thats ok. Andrew. On Tue, 15 Mar 2011, Colin Dearborn via RT wrote: Show quoted text
> Queue: IPDR > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=66646 > > > Any chance that you could change the code to support Math::BigInt instead? > > http://perldoc.perl.org/Math/BigInt.html > > > > > > -----Original Message----- > > From: Andrew S. Kennedy via RT [mailto:bug-IPDR@rt.cpan.org] > > Sent: Tuesday, March 15, 2011 4:45 PM > > To: Colin Dearborn > > Subject: [rt.cpan.org #66646] 64Bit support not available must stop. > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=66646 > > > > > > > Hi, > > > > The test is there as you do need 64bit support. When the counters go > > above a 32bit number, which is relatively quickly in most environments > > then your results will be rubbish, or perl will error out. Additionally > > the formatting of data from the IPDR server will be in a 64bit format. > > > > Even if your PC/Server/Hardware is not 64bit you can compile perl with > > 64bit support anyway, please do this and re-run the code. > > > > As the test was in make test, and in the code, I was trying to hint, > > 64bit support is needed ;) > > > > Andrew. > > > > > > On Tue Mar 15 18:18:04 2011, cdearborn wrote: >
>> When using the example code for IPDR::Collection::Client, I get the
>
>> error "64Bit support not available must stop." when trying to connect to
>
>> a Motorola 64K.
>
>>
>
>>
>
>> #!/usr/local/bin/perl
>
>>
>
>> use strict;
>
>> use IPDR::Collection::Client;
>
>>
>
>> my $ipdr_client = new IPDR::Collection::Client (
>
>> [
>
>> VendorID => 'IPDR Client',
>
>> ServerIP => '10.191.253.17',
>
>> ServerPort => '4737',
>
>> KeepAlive => 60,
>
>> Capabilities => 0x01,
>
>> DataHandler => \&display_data,
>
>> Timeout => 2,
>
>> ]
>
>> );
>
>>
>
>> # We send a connect message to the IPDR server
>
>> $ipdr_client->connect();
>
>>
>
>> # If we do not connect stop.
>
>> if ( !$ipdr_client->connected )
>
>> {
>
>> print "Can not connect to destination.\n";
>
>> exit(0);
>
>> }
>
>>
>
>> # We now send a connect message
>
>> $ipdr_client->check_data_available();
>
>>
>
>> print "Error was '".$ipdr_client->get_error()."'\n";
>
>>
>
>> exit(0);
>
>>
>
>> sub display_data
>
>> {
>
>> my ( $remote_ip ) = shift;
>
>> my ( $remote_port ) = shift;
>
>> my ( $data ) = shift;
>
>> my ( $self ) = shift;
>
>>
>
>> foreach my $sequence ( sort { $a<=>$b } keys %{$data} )
>
>> {
>
>> print "Sequence is '$sequence'\n";
>
>> foreach my $attribute ( keys %{${$data}{$sequence}} )
>
>> {
>
>> print "Sequence '$sequence' attribute '$attribute'";
>
>> print " value '${$data}{$sequence}{$attribute}'\n";
>
>> }
>
>> }
>
>>
>
>> }
>
>>
>
>> output:
>
>> perl ipdr_test.pl
>
>> 64Bit support not available must stop. at
>
>> /usr/lib/perl5/site_perl/5.8.8/IPDR/Collection/Client.pm line 920.
>
>>
>
>> Commenting out the following lines from the above file seemed to have
>
>> worked:
>
>> #if ( !$self->test_64_bit() )
>
>> # {
>
>> # # if you forgot to run make test, this will clobber
>
>> # # your run anyway.
>
>> # die '64Bit support not available must stop.';
>
>> # }
>
>>
>
>>
>
>>
> > > > > > > >
Subject: Re: [rt.cpan.org #66646] 64Bit support not available must stop.
Date: Tue, 10 May 2011 15:34:54 +0100 (BST)
To: Colin Dearborn via RT <bug-IPDR [...] rt.cpan.org>
From: "Andrew S. Kennedy" <andrew [...] shamrock.org.uk>
Hi, Version 0.32 has just been uploaded to CPAN with BigInt support. Please give it a try. Also several fixes, which resolve packet layout for IPV6 and hexbinary data structures and remove many other errors due to mis alignment of packets deconstruction. Andrew. On Tue, 15 Mar 2011, Colin Dearborn via RT wrote: Show quoted text
> Tue Mar 15 18:18:04 2011: Request 66646 was acted upon. > Transaction: Ticket created by cdearborn > Queue: IPDR > Subject: 64Bit support not available must stop. > Broken in: 0.29 > Severity: Critical > Owner: Nobody > Requestors: colin.dearborn@sjrb.ca > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=66646 > > > > When using the example code for IPDR::Collection::Client, I get the > error "64Bit support not available must stop." when trying to connect to > a Motorola 64K. > > > #!/usr/local/bin/perl > > use strict; > use IPDR::Collection::Client; > > my $ipdr_client = new IPDR::Collection::Client ( > [ > VendorID => 'IPDR Client', > ServerIP => '10.191.253.17', > ServerPort => '4737', > KeepAlive => 60, > Capabilities => 0x01, > DataHandler => \&display_data, > Timeout => 2, > ] > ); > > # We send a connect message to the IPDR server > $ipdr_client->connect(); > > # If we do not connect stop. > if ( !$ipdr_client->connected ) > { > print "Can not connect to destination.\n"; > exit(0); > } > > # We now send a connect message > $ipdr_client->check_data_available(); > > print "Error was '".$ipdr_client->get_error()."'\n"; > > exit(0); > > sub display_data > { > my ( $remote_ip ) = shift; > my ( $remote_port ) = shift; > my ( $data ) = shift; > my ( $self ) = shift; > > foreach my $sequence ( sort { $a<=>$b } keys %{$data} ) > { > print "Sequence is '$sequence'\n"; > foreach my $attribute ( keys %{${$data}{$sequence}} ) > { > print "Sequence '$sequence' attribute '$attribute'"; > print " value '${$data}{$sequence}{$attribute}'\n"; > } > } > > } > > output: > perl ipdr_test.pl > 64Bit support not available must stop. at > /usr/lib/perl5/site_perl/5.8.8/IPDR/Collection/Client.pm line 920. > > Commenting out the following lines from the above file seemed to have > worked: > #if ( !$self->test_64_bit() ) > # { > # # if you forgot to run make test, this will clobber > # # your run anyway. > # die '64Bit support not available must stop.'; > # } > > > > >
Subject: RE: [rt.cpan.org #66646] 64Bit support not available must stop.
Date: Tue, 10 May 2011 08:37:02 -0600
To: <bug-IPDR [...] rt.cpan.org>
From: "Colin Dearborn" <Colin.Dearborn [...] sjrb.ca>
Thank you! Will try it out this week. Show quoted text
-----Original Message----- From: Andrew S. Kennedy via RT [mailto:bug-IPDR@rt.cpan.org] Sent: Tuesday, May 10, 2011 8:35 AM To: Colin Dearborn Subject: Re: [rt.cpan.org #66646] 64Bit support not available must stop. <URL: http://rt.cpan.org/Ticket/Display.html?id=66646 > Hi, Version 0.32 has just been uploaded to CPAN with BigInt support. Please give it a try. Also several fixes, which resolve packet layout for IPV6 and hexbinary data structures and remove many other errors due to mis alignment of packets deconstruction. Andrew. On Tue, 15 Mar 2011, Colin Dearborn via RT wrote:
> Tue Mar 15 18:18:04 2011: Request 66646 was acted upon. > Transaction: Ticket created by cdearborn > Queue: IPDR > Subject: 64Bit support not available must stop. > Broken in: 0.29 > Severity: Critical > Owner: Nobody > Requestors: colin.dearborn@sjrb.ca > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=66646 > > > > When using the example code for IPDR::Collection::Client, I get the > error "64Bit support not available must stop." when trying to connect to > a Motorola 64K. > > > #!/usr/local/bin/perl > > use strict; > use IPDR::Collection::Client; > > my $ipdr_client = new IPDR::Collection::Client ( > [ > VendorID => 'IPDR Client', > ServerIP => '10.191.253.17', > ServerPort => '4737', > KeepAlive => 60, > Capabilities => 0x01, > DataHandler => \&display_data, > Timeout => 2, > ] > ); > > # We send a connect message to the IPDR server > $ipdr_client->connect(); > > # If we do not connect stop. > if ( !$ipdr_client->connected ) > { > print "Can not connect to destination.\n"; > exit(0); > } > > # We now send a connect message > $ipdr_client->check_data_available(); > > print "Error was '".$ipdr_client->get_error()."'\n"; > > exit(0); > > sub display_data > { > my ( $remote_ip ) = shift; > my ( $remote_port ) = shift; > my ( $data ) = shift; > my ( $self ) = shift; > > foreach my $sequence ( sort { $a<=>$b } keys %{$data} ) > { > print "Sequence is '$sequence'\n"; > foreach my $attribute ( keys %{${$data}{$sequence}} ) > { > print "Sequence '$sequence' attribute '$attribute'"; > print " value '${$data}{$sequence}{$attribute}'\n"; > } > } > > } > > output: > perl ipdr_test.pl > 64Bit support not available must stop. at > /usr/lib/perl5/site_perl/5.8.8/IPDR/Collection/Client.pm line 920. > > Commenting out the following lines from the above file seemed to have > worked: > #if ( !$self->test_64_bit() ) > # { > # # if you forgot to run make test, this will clobber > # # your run anyway. > # die '64Bit support not available must stop.'; > # } > > > > >
Subject: RE: [rt.cpan.org #66646] 64Bit support not available must stop.
Date: Tue, 24 May 2011 09:01:46 -0600
To: <bug-IPDR [...] rt.cpan.org>
From: "Colin Dearborn" <Colin.Dearborn [...] sjrb.ca>
Finally got a chance to test it here. I get this output when running the reference code (posted in previous correspondence): Use of uninitialized value in numeric ne (!=) at /usr/lib/perl5/site_perl/5.8.8/IPDR/Collection/Client.pm line 931. 64Bit support not available using BigInt - Milleage will vary! Turn off with 64BitWarningOff => 1. at /usr/lib/perl5/site_perl/5.8.8/IPDR/Collection/Client.pm line 933. If I try and set "64BitWarningOff => 1" in the script: my $ipdr_client = new IPDR::Collection::Client ( [ VendorID => 'IPDR Client', ServerIP => '10.191.253.17', ServerPort => '4737', KeepAlive => 60, Capabilities => 0x01, DataHandler => \&display_data, Timeout => 2, 64BitWarningOff => 1, ] ); I get this: syntax error at ./ipdr_test.pl line 15, near "64BitWarningOff" Execution of ./ipdr_test.pl aborted due to compilation errors. I do have Math::BigInt available on the system. The script will continue to run in the first case, but not the second. Show quoted text
-----Original Message----- From: Andrew S. Kennedy via RT [mailto:bug-IPDR@rt.cpan.org] Sent: Thursday, April 14, 2011 6:43 AM To: Colin Dearborn Subject: RE: [rt.cpan.org #66646] 64Bit support not available must stop. <URL: https://rt.cpan.org/Ticket/Display.html?id=66646 > Colin, Sorry for the delay, I have a version ready for you to try (it may be a load of rubbish, but I have no way to test it ). Before I publish it on CPAN can you let me know where I can send it to you directly, you can email me off list at shamrock <at > cpan.org and I'll send it over. You can test etc and let me know. Hopefully thats ok. Andrew.
Subject: RE: [rt.cpan.org #66646] 64Bit support not available must stop.
Date: Wed, 25 May 2011 10:14:29 +0100 (BST)
To: Colin Dearborn via RT <bug-IPDR [...] rt.cpan.org>
From: "Andrew S. Kennedy" <andrew [...] shamrock.org.uk>
Hi, I have resolved it, and it will be 0.38 , when I upload it in the next 4-5 hours to CPAN. It appears PERL does not like numbers beginning a variable name (never come across it before) and a typo causing the problems. regards, Andrew. On Tue, 24 May 2011, Colin Dearborn via RT wrote: Show quoted text
> Queue: IPDR > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=66646 > > > Finally got a chance to test it here. I get this output when running the reference code (posted in previous correspondence): > > > > Use of uninitialized value in numeric ne (!=) at /usr/lib/perl5/site_perl/5.8.8/IPDR/Collection/Client.pm line 931. > > 64Bit support not available using BigInt - Milleage will vary! Turn off with 64BitWarningOff => 1. at /usr/lib/perl5/site_perl/5.8.8/IPDR/Collection/Client.pm line 933. > > > > If I try and set "64BitWarningOff => 1" in the script: > > my $ipdr_client = new IPDR::Collection::Client ( > > [ > > VendorID => 'IPDR Client', > > ServerIP => '10.191.253.17', > > ServerPort => '4737', > > KeepAlive => 60, > > Capabilities => 0x01, > > DataHandler => \&display_data, > > Timeout => 2, > > 64BitWarningOff => 1, > > ] > > ); > > > > I get this: > > syntax error at ./ipdr_test.pl line 15, near "64BitWarningOff" > > Execution of ./ipdr_test.pl aborted due to compilation errors. > > > > I do have Math::BigInt available on the system. > > > > The script will continue to run in the first case, but not the second. > > > > > > -----Original Message----- > > From: Andrew S. Kennedy via RT [mailto:bug-IPDR@rt.cpan.org] > > Sent: Thursday, April 14, 2011 6:43 AM > > To: Colin Dearborn > > Subject: RE: [rt.cpan.org #66646] 64Bit support not available must stop. > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=66646 > > > > > Colin, > > Sorry for the delay, I have a version ready for you to try (it may be a load of rubbish, but I have no way to test it ). > > > > Before I publish it on CPAN can you let me know where I can send it to you directly, you can email me off list at > > > > shamrock <at > cpan.org > > > > and I'll send it over. You can test etc and let me know. Hopefully thats ok. > > > > Andrew. > > > >
Subject: RE: [rt.cpan.org #66646] 64Bit support not available must stop.
Date: Wed, 25 May 2011 13:53:10 +0100 (BST)
To: Colin Dearborn via RT <bug-IPDR [...] rt.cpan.org>
From: "Andrew S. Kennedy" <andrew [...] shamrock.org.uk>
Hi, The version you want is 0.40 and new pragma would be my $ipdr_client = new IPDR::Collection::Client ( [ VendorID => 'IPDR Client', ServerIP => '10.191.253.17', ServerPort => '4737', KeepAlive => 60, Capabilities => 0x01, DataHandler => \&display_data, Timeout => 2, Warning64BitOff => 1, ] ); It has just been uploaded (and actually tested incredible eh!) so should be available in the next hour or so. regards, Andrew On Tue, 24 May 2011, Colin Dearborn via RT wrote: Show quoted text
> Queue: IPDR > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=66646 > > > Finally got a chance to test it here. I get this output when running the reference code (posted in previous correspondence): > > > > Use of uninitialized value in numeric ne (!=) at /usr/lib/perl5/site_perl/5.8.8/IPDR/Collection/Client.pm line 931. > > 64Bit support not available using BigInt - Milleage will vary! Turn off with 64BitWarningOff => 1. at /usr/lib/perl5/site_perl/5.8.8/IPDR/Collection/Client.pm line 933. > > > > If I try and set "64BitWarningOff => 1" in the script: > > my $ipdr_client = new IPDR::Collection::Client ( > > [ > > VendorID => 'IPDR Client', > > ServerIP => '10.191.253.17', > > ServerPort => '4737', > > KeepAlive => 60, > > Capabilities => 0x01, > > DataHandler => \&display_data, > > Timeout => 2, > > 64BitWarningOff => 1, > > ] > > ); > > > > I get this: > > syntax error at ./ipdr_test.pl line 15, near "64BitWarningOff" > > Execution of ./ipdr_test.pl aborted due to compilation errors. > > > > I do have Math::BigInt available on the system. > > > > The script will continue to run in the first case, but not the second. > > > > > > -----Original Message----- > > From: Andrew S. Kennedy via RT [mailto:bug-IPDR@rt.cpan.org] > > Sent: Thursday, April 14, 2011 6:43 AM > > To: Colin Dearborn > > Subject: RE: [rt.cpan.org #66646] 64Bit support not available must stop. > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=66646 > > > > > Colin, > > Sorry for the delay, I have a version ready for you to try (it may be a load of rubbish, but I have no way to test it ). > > > > Before I publish it on CPAN can you let me know where I can send it to you directly, you can email me off list at > > > > shamrock <at > cpan.org > > > > and I'll send it over. You can test etc and let me know. Hopefully thats ok. > > > > Andrew. > > > >
Subject: RE: [rt.cpan.org #66646] 64Bit support not available must stop.
Date: Wed, 25 May 2011 14:04:16 -0600
To: <bug-IPDR [...] rt.cpan.org>
From: "Colin Dearborn" <Colin.Dearborn [...] sjrb.ca>
Appears to be working now. I only got 0.37 from my mirror though. I'll watch out for 0.40. Show quoted text
-----Original Message----- From: Andrew S. Kennedy via RT [mailto:bug-IPDR@rt.cpan.org] Sent: Wednesday, May 25, 2011 6:53 AM To: Colin Dearborn Subject: RE: [rt.cpan.org #66646] 64Bit support not available must stop. <URL: https://rt.cpan.org/Ticket/Display.html?id=66646 > Hi, The version you want is 0.40 and new pragma would be my $ipdr_client = new IPDR::Collection::Client ( [ VendorID => 'IPDR Client', ServerIP => '10.191.253.17', ServerPort => '4737', KeepAlive => 60, Capabilities => 0x01, DataHandler => \&display_data, Timeout => 2, Warning64BitOff => 1, ] ); It has just been uploaded (and actually tested incredible eh!) so should be available in the next hour or so. regards, Andrew On Tue, 24 May 2011, Colin Dearborn via RT wrote:
> Queue: IPDR > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=66646 > > > Finally got a chance to test it here. I get this output when running the reference code (posted in previous correspondence): > > > > Use of uninitialized value in numeric ne (!=) at /usr/lib/perl5/site_perl/5.8.8/IPDR/Collection/Client.pm line 931. > > 64Bit support not available using BigInt - Milleage will vary! Turn off with 64BitWarningOff => 1. at /usr/lib/perl5/site_perl/5.8.8/IPDR/Collection/Client.pm line 933. > > > > If I try and set "64BitWarningOff => 1" in the script: > > my $ipdr_client = new IPDR::Collection::Client ( > > [ > > VendorID => 'IPDR Client', > > ServerIP => '10.191.253.17', > > ServerPort => '4737', > > KeepAlive => 60, > > Capabilities => 0x01, > > DataHandler => \&display_data, > > Timeout => 2, > > 64BitWarningOff => 1, > > ] > > ); > > > > I get this: > > syntax error at ./ipdr_test.pl line 15, near "64BitWarningOff" > > Execution of ./ipdr_test.pl aborted due to compilation errors. > > > > I do have Math::BigInt available on the system. > > > > The script will continue to run in the first case, but not the second. > > > > > > -----Original Message----- > > From: Andrew S. Kennedy via RT [mailto:bug-IPDR@rt.cpan.org] > > Sent: Thursday, April 14, 2011 6:43 AM > > To: Colin Dearborn > > Subject: RE: [rt.cpan.org #66646] 64Bit support not available must stop. > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=66646 > > > > > Colin, > > Sorry for the delay, I have a version ready for you to try (it may be a load of rubbish, but I have no way to test it ). > > > > Before I publish it on CPAN can you let me know where I can send it to you directly, you can email me off list at > > > > shamrock <at > cpan.org > > > > and I'll send it over. You can test etc and let me know. Hopefully thats ok. > > > > Andrew. > > > >
Subject: RE: [rt.cpan.org #66646] 64Bit support not available must stop.
Date: Wed, 25 May 2011 22:02:16 +0100 (BST)
To: Colin Dearborn via RT <bug-IPDR [...] rt.cpan.org>
From: "Andrew S. Kennedy" <andrew [...] shamrock.org.uk>
Hi, There is a massive 64bit problem in anything before 0.39, so public 0.40, so for 2/3 records from a CMTS probably works, when you get to 30/40+ records it will fail, sorry !!! It doesnt ACK correctly so causes the records to be resent until the CMTS disconnects with a failure message. It was a BigInt implementation error on my part. regards, Andrew. On Wed, 25 May 2011, Colin Dearborn via RT wrote: Show quoted text
> Queue: IPDR > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=66646 > > > Appears to be working now. I only got 0.37 from my mirror though. I'll watch out for 0.40. > > > > > > > > -----Original Message----- > > From: Andrew S. Kennedy via RT [mailto:bug-IPDR@rt.cpan.org] > > Sent: Wednesday, May 25, 2011 6:53 AM > > To: Colin Dearborn > > Subject: RE: [rt.cpan.org #66646] 64Bit support not available must stop. > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=66646 > > > > > Hi, > > The version you want is 0.40 and new pragma would be > > > > my $ipdr_client = new IPDR::Collection::Client ( > > [ > > VendorID => 'IPDR Client', > > ServerIP => '10.191.253.17', > > ServerPort => '4737', > > KeepAlive => 60, > > Capabilities => 0x01, > > DataHandler => \&display_data, > > Timeout => 2, > > Warning64BitOff => 1, > > ] > > ); > > > > It has just been uploaded (and actually tested incredible eh!) so > > should be available in the next hour or so. > > > > regards, > > > > Andrew > > > > On Tue, 24 May 2011, Colin Dearborn via RT wrote: > > >
>> Queue: IPDR
> >
>>
>
>> Finally got a chance to test it here. I get this output when running the reference code (posted in previous correspondence):
>
>>
>
>>
>
>>
>
>> Use of uninitialized value in numeric ne (!=) at /usr/lib/perl5/site_perl/5.8.8/IPDR/Collection/Client.pm line 931.
>
>>
>
>> 64Bit support not available using BigInt - Milleage will vary! Turn off with 64BitWarningOff => 1. at /usr/lib/perl5/site_perl/5.8.8/IPDR/Collection/Client.pm line 933.
>
>>
>
>>
>
>>
>
>> If I try and set "64BitWarningOff => 1" in the script:
>
>>
>
>> my $ipdr_client = new IPDR::Collection::Client (
>
>>
>
>> [
>
>>
>
>> VendorID => 'IPDR Client',
>
>>
>
>> ServerIP => '10.191.253.17',
>
>>
>
>> ServerPort => '4737',
>
>>
>
>> KeepAlive => 60,
>
>>
>
>> Capabilities => 0x01,
>
>>
>
>> DataHandler => \&display_data,
>
>>
>
>> Timeout => 2,
>
>>
>
>> 64BitWarningOff => 1,
>
>>
>
>> ]
>
>>
>
>> );
>
>>
>
>>
>
>>
>
>> I get this:
>
>>
>
>> syntax error at ./ipdr_test.pl line 15, near "64BitWarningOff"
>
>>
>
>> Execution of ./ipdr_test.pl aborted due to compilation errors.
>
>>
>
>>
>
>>
>
>> I do have Math::BigInt available on the system.
>
>>
>
>>
>
>>
>
>> The script will continue to run in the first case, but not the second.
>
>>
>
>>
>
>>
>
>>
>
>>
>
>> -----Original Message-----
>
>>
>
>> From: Andrew S. Kennedy via RT [mailto:bug-IPDR@rt.cpan.org]
>
>>
>
>> Sent: Thursday, April 14, 2011 6:43 AM
>
>>
>
>> To: Colin Dearborn
>
>>
>
>> Subject: RE: [rt.cpan.org #66646] 64Bit support not available must stop.
>
>>
>
>>
>
>>
> >
>>
>
>>
>
>>
>
>> Colin,
>
>>
>
>> Sorry for the delay, I have a version ready for you to try (it may be a load of rubbish, but I have no way to test it ).
>
>>
>
>>
>
>>
>
>> Before I publish it on CPAN can you let me know where I can send it to you directly, you can email me off list at
>
>>
>
>>
>
>>
>
>> shamrock <at > cpan.org
>
>>
>
>>
>
>>
>
>> and I'll send it over. You can test etc and let me know. Hopefully thats ok.
>
>>
>
>>
>
>>
>
>> Andrew.
>
>>
>
>>
>
>>
>
>>
> > > >