DBI 1.45: "Use of uninitialized value in printf at test.pl line 1 06" on MSWin32-x86-multi-thread

This appears to be a known problem, see
http://groups.google.com/groups?hl=en&lr=&q=test.pl+uninitialized+%22dbi+onl
y%22:

    ### What's that warning?

        printf "%5d NullP sth/s perl %8s %s (%s %s %s)\n\n",
         $count/$dur, $], $Config{archname},
         $Config{gccversion} ? 'gcc' : $Config{cc},
         (split / /, $Config{gccversion}||$Config{ccversion}||'')[0],
         $Config{optimize};

    should be

        printf "%5d NullP sth/s perl %8s %s (%s %s %s)\n\n",
         $count/$dur, $], $Config{archname},
         $Config{gccversion} ? 'gcc' : $Config{cc},
         (split / /, $Config{gccversion}||$Config{ccversion}||'')[0]||'',
         $Config{optimize};

$Config{ccversion} is undefined on 4 perl versions that I've built on MS
Win32 (5.6.1, 5.8.0, 5.8.3, and 5.8.5), so I'm guessing the modification
above should be applied to test.pl in future to avoid this warning.

David Repko
Diebold
Global Software Development
Direct Phone: +1 330 490 5982
Fax: +1 330 490 4727
Email: repkod@diebold.com
We won't rest.


 
0
Repkod
10/29/2004 2:49:06 PM
perl.dbi.users 11100 articles. 1 followers. Follow

1 Replies
426 Views

Similar Articles

[PageSpeed] 54

Fixed. Thanks.

Tim.

On Fri, Oct 29, 2004 at 10:49:06AM -0400, Repko, David wrote:
> This appears to be a known problem, see
> http://groups.google.com/groups?hl=en&lr=&q=test.pl+uninitialized+%22dbi+onl
> y%22:
> 
>     ### What's that warning?
> 
>         printf "%5d NullP sth/s perl %8s %s (%s %s %s)\n\n",
>          $count/$dur, $], $Config{archname},
>          $Config{gccversion} ? 'gcc' : $Config{cc},
>          (split / /, $Config{gccversion}||$Config{ccversion}||'')[0],
>          $Config{optimize};
> 
>     should be
> 
>         printf "%5d NullP sth/s perl %8s %s (%s %s %s)\n\n",
>          $count/$dur, $], $Config{archname},
>          $Config{gccversion} ? 'gcc' : $Config{cc},
>          (split / /, $Config{gccversion}||$Config{ccversion}||'')[0]||'',
>          $Config{optimize};
> 
> $Config{ccversion} is undefined on 4 perl versions that I've built on MS
> Win32 (5.6.1, 5.8.0, 5.8.3, and 5.8.5), so I'm guessing the modification
> above should be applied to test.pl in future to avoid this warning.
> 
> David Repko
> Diebold
> Global Software Development
> Direct Phone: +1 330 490 5982
> Fax: +1 330 490 4727
> Email: repkod@diebold.com
> We won't rest.
> 
> 
>  
0
Tim
10/31/2004 3:15:35 PM
Reply:

Similar Artilces:

Can't use string ("1") as a HASH ref while "strict refs" in use at ./policy.sanitizer line 255.
Hi there, I am trying to figure out why the following lines are giving me an error: --- snip --- $found{filter}{$filter}{family}{$family} = 1; print keys %{ $found{filter}{$filter}{family} }; --- snip ---- here's the error Can't use string ("1") as a HASH ref while "strict refs" in use at ../policy.sanitizer line 255. I am trying to the display all the keys for $found{filter}{$filter}{family} please Cheers, Noah On 10/9/09 Fri Oct 9, 2009 2:12 PM, "Noah" <noah-list@enabled.com> sc...

SeaMonkey 1.1 publishing "rv:1.8.1.2pre" in user-agent string
Name: J.D. Morgan Email: jdmorgan56atyahoodotcom Product: SeaMonkey Summary: SeaMonkey 1.1 publishing "rv:1.8.1.2pre" in user-agent string Comments: The new SeaMonkey 1.1 release is publishing "rv:1.8.1.2pre" in its user-agent string. This may or may not be expected by the team, but I did not expect to see a "pre" (preliminary or pre-release version?) tag on the end of the revision number. This tripped a security script on one of my sites that does (very) strict user-agent validation. So, this is an FYI; Ignore it if this was expected. Tha...

Patch for DBI::ODBC 1.06, was "Problem with prepare"
Hi there, yesterday I've got the following problem: > example: ----------------------- SNIP SNIP ---------------- use DBI; $connection = DBI->connect("DBI:ODBC:mydb", q(user), q(passw)); if(($DBI::err != 0) || !$connection) { die "not connected!\n"; } $csr = $connection->prepare("select 1 from table_that_does_not_exist"); if(($DBI::err != 0) || !$csr) { die "got no cursor!\n$DBI::err\n$DBI::errstr\n"; } if(!defined($csr->{NUM_OF_PARAMS}) || !$csr->{NUM_OF_PARAMS}) { print "executing!\n"; $cs...

Can anyone tell me the diff between .net framework versions "1.1.4322.573" and "1.1.4322.903"
Production environment is running 1.1.4322.573 Pre Production environments are running 1.1.4322.903 We are seeing some javascript errors that are only happening in our production environment. All of our pre production environments for testing, development and what not seem to be running fine. We get the generic client side error that says which line, which char number and the brief description. The actuall error states "Expected ';' " . Here is the line of code that it's complaining about. "theform = document._ctl6:Form1;" This is microsoft ge...

Paging Repeater treating page 11 as "1" and "1" not "11"
Dear AllI have a paging repeater, and I am displaying pages according to the amount of records I am retreiving from the database.  My code is as follows:-ASPX           <asp:Repeater runat="server" ID="rptPageNumbers" OnItemCommand="rptPageNumbers_ItemCommand">              <ItemTemplate>                <asp:LinkButton ID="LinkButton1" runat=&quo...

Parser Error
What do I make to solve that problem? Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Stream is not a valid resource file.Source Error: Line 1: <?xml version="1.0" encoding="utf-8" ?> Line 2: <locales> Line 3: <inactive>Source File: /dotnetnuke320/App_GlobalResources/Locales.Portal.xml.resources    Line: 1 Version Information: Microsoft .NET Framework Versio...

"make test" error for DBI-1.35 on AIX 4.3.3
--0__=C5BBE666DF8F8CF48f9e8a93df938690918cC5BBE666DF8F8CF4 Content-type: text/plain; charset=us-ascii Hi, Can anyone help me in determining if the following error during "make test" can be ignored or how it can be fixed please. I have attached five text files containing output from the build steps and the "perl -V" command. I apologise if the solution is obvious and I sympathise with you if you see me as an ignorant git : ) (See attached file: perl_Makefile-PL.txt)(See attached file: make.txt)(See attached file: make_test.txt)(See attached file: make_te...

ERROR:"Data-conversion resulted in overflow. 1 excute dbo.test;1" in creating DW used StoreProdure
Can you help me! I create a DW used StoreProdure ,(Pb7.01) it's always dislay the error info: "Data-conversion resulted in overflow. 1 excute dbo.test;1" if I take the 'manuel result set' option cheched then has no error. but it's very slowly by this way . please tell me : How to do without 'manuel result set' !!!! Thaks! Moore First of all, I would recommend upgrading to 7.0.2 C3 (build 8046). So, what database? On Mon, 30 Oct 2000 17:33:08 +0800, in powersoft.public.powerbuilder.datawindow moore <brmoonc@263.net> wrote: ...

Thread: "The Specified Web Server Is Not Running ASP.NET Version 1.1" Error Message When You Create ASP.NET 1.1 Application
I have Window2000 SP4. I got this error when Create ASP.NET 1.1 Application in Visual Studio .NET 2003. "The Specified Web Server Is Not Running ASP.NET Version 1.1" I read http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B817267 . But, I don't see that I have Web Service Extension in my IIS. Please help. Thanks. I'd guess that you installed Visual Studio before you installed IIS on your system. Out-of-the-box, IIS is set up to work with version 1.0 of the .NET Framework. If you install Visual Studio after IIS, it takes care of making the change. If not, ...

Errors in DBD-Oracle 1.12 using DBI 1.26, OK with DBI 1.25
Platform: Windows 2000 Perl: ActiveState Perl 5.6.1 build 629 ---------------------------------------------------------------------------- ---- USING DBI 1.25 ---------------------------------------------------------------------------- ---- C:\temp\DBD-Oracle-1.12>nmake test Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. C:\bin\Perl\bin\Perl.exe -Mblib -IC:\bin\Perl\lib -IC:\bin\Perl\lib -e " use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;" t\bas...

"make test" fails installing DBI-1.632 (linux, perl5.8.8)
jrw $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.7 (Tikanga) jrw $ perl -v This is perl, v5.8.8 built for x86_64-linux-thread-multi .... jrw $ export | grep -e LC_ALL -e LANG LANG=en_US.UTF-8 LC_ALL=C jrw $ perl Makefile.PL *** Your LANG environment variable is set to 'en_US.UTF-8' *** This may cause problems for some perl installations. *** If you get test failures, please try again with LANG unset. *** If that then works, please email dbi-dev@perl.org with details *** including the output of 'perl -V' Your perl was compiled with ...

"make test" fails installing DBI-1.632 (linux, perl5.8.8)
jrw $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.7 (Tikanga) jrw $ perl -v This is perl, v5.8.8 built for x86_64-linux-thread-multi .... jrw $ export | grep -e LC_ALL -e LANG LANG=en_US.UTF-8 LC_ALL=C jrw $ perl Makefile.PL *** Your LANG environment variable is set to 'en_US.UTF-8' *** This may cause problems for some perl installations. *** If you get test failures, please try again with LANG unset. *** If that then works, please email dbi-dev@perl.org with details *** including the output of 'perl -V' Your perl was compiled with ...

FAIL DBI-1.31 MSWin32-x86-multi-thread 4.0
This distribution has been tested as part of the cpan-testers effort to test as many new uploads to CPAN as possible. See http://testers.cpan.org/. Please cc any replies to cpan-testers@perl.org to keep other test volunteers informed and to prevent duplicate effort. -- Tests 20 and 21 in t\40profile.t failed: # Running under perl version 5.008 for MSWin32 # Win32::BuildNumber 802 # Current time local: Sat Nov 30 22:13:45 2002 # Current time GMT: Sun Dec 1 04:13:45 2002 # Using Test.pm version 1.23 ok 1 [ .. ] ok 14 bless( { 'Path' => [ '-210000000...

FAIL DBI-1.33 MSWin32-x86-multi-thread 4.0
This distribution has been tested as part of the cpan-testers effort to test as many new uploads to CPAN as possible. See http://testers.cpan.org/ Please cc any replies to cpan-testers@perl.org to keep other test volunteers informed and to prevent any duplicate effort. -- E:\new\DBI-1.33>perl Makefile.PL *** You are using a perl configured with threading enabled. *** You should be aware that using multiple threads is *** not recommended for production environments. *** Note: The optional PlRPC-modules (RPC::PlServer etc) are not installed. If you want to use ...

Web resources about - DBI 1.45: "Use of uninitialized value in printf at test.pl line 1 06" on MSWin32-x86-multi-thread - perl.dbi.users

Resources last updated: 1/20/2016 4:26:28 AM