Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Error running "make" on AIX 5.3

Received: by 10.66.74.225 with SMTP id x1mr1616397pav.45.1345357136955;
        Sat, 18 Aug 2012 23:18:56 -0700 (PDT)
Newsgroups: perl.dbi.users
Path: g9ni102189472pbo.0!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!novia!feeder3.cambriumusenet.nl!feed.tweaknews.nl!94.232.116.11.MISMATCH!feed.xsnews.nl!border-1.ams.xsnews.nl!plix.pl!newsfeed2.plix.pl!news.mi.ras.ru!goblin1!goblin.stu.neva.ru!feeds.phibee-telecom.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!nntp.develooper.com!nntp.perl.org
Return-Path: <martin.ev...@easysoft.com>
Mailing-List: contact dbi-users-h...@perl.org; run by ezmlm
Delivered-To: mailing list dbi-us...@perl.org
Received: (qmail 30621 invoked from network); 16 Aug 2012 07:45:40 -0000
Received: from x1.develooper.com (207.171.7.70)
  by x6.develooper.com with SMTP; 16 Aug 2012 07:45:40 -0000
Received: (qmail 26227 invoked by uid 225); 16 Aug 2012 07:45:40 -0000
Delivered-To: dbi-us...@perl.org
Received: (qmail 26223 invoked by alias); 16 Aug 2012 07:45:40 -0000
X-Spam-Status: No, hits=-1.9 required=8.0
	tests=BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: la.mx.develooper.com
Received: from aud.easysoft.com (HELO aud.easysoft.com) (89.238.155.33)
    by la.mx.develooper.com (qpsmtpd/0.28) with SMTP; Thu, 16 Aug 2012 00:45:36 -0700
Received: from localhost (localhost [127.0.0.1])
	by aud.easysoft.com (Postfix) with ESMTP id 11F2E1AC8D36;
	Thu, 16 Aug 2012 08:45:31 +0100 (BST)
X-Virus-Scanned: amavisd-new at aud.easysoft.com
Received: from aud.easysoft.com ([127.0.0.1])
	by localhost (aud.easysoft.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 8kNRh4hNFYVd; Thu, 16 Aug 2012 08:45:29 +0100 (BST)
Received: from [172.20.0.61] (unknown [172.20.100.206])
	by aud.easysoft.com (Postfix) with ESMTPSA id D779B1AC8B5E;
	Thu, 16 Aug 2012 08:45:29 +0100 (BST)
Message-ID: <502CA519.60301@easysoft.com>
Date: Thu, 16 Aug 2012 08:45:29 +0100
Organization: Easysoft Limited
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0
MIME-Version: 1.0
To: Harry Jamieson <ha...@persoftware.com>
CC: dbi-us...@perl.org
Subject: Re: Error running "make" on AIX 5.3
References: <5029591D.1020...@persoftware.com> <BLU142-W36F599878409520904ADCDAE...@phx.gbl> <20120814121316.GB...@timac.local> <502BAE4E.5020...@persoftware.com> <502BB2F4.8010...@easysoft.com> <502BB553.6020...@persoftware.com> <502BC433.3020...@persoftware.com> <502BC678.3050...@easysoft.com> <502BC8BD.6030...@persoftware.com> <502BCA5D.7040...@easysoft.com> <502BCABE.3080...@easysoft.com> <502BCC55.1070...@persoftware.com> <502BCD31.9090...@easysoft.com> <502BCF55.8090...@persoftware.com> <502BDEA1.8010...@persoftware.com>
In-Reply-To: <502BDEA1.8010...@persoftware.com>
X-TagToolbar-Keys: D20120816084529755
Approved: n...@nntp.perl.org
From: martin.ev...@easysoft.com ("Martin J. Evans")
Bytes: 6724
Lines: 100
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

On 15/08/12 18:38, Harry Jamieson wrote:
> On 8/15/2012 10:33 AM, Harry Jamieson wrote:
>> On 8/15/2012 10:24 AM, Martin J. Evans wrote:
>>> On 15/08/12 17:20, Harry Jamieson wrote:
>>>> On 8/15/2012 10:13 AM, Martin J. Evans wrote:
>>>>> On 15/08/12 17:12, Martin J. Evans wrote:
>>>>>> On 15/08/12 17:05, Harry Jamieson wrote:
>>>>>>> On 8/15/2012 9:55 AM, Martin J. Evans wrote:
>>>>>>>> On 15/08/12 16:45, Harry Jamieson wrote:
>>>>>>>>> make test output file.
>>>>>>>>>
>>>>>>>> That is a lot of failures. What does
>>>>>>>>
>>>>>>>> prove -vb t/06attrs
>>>>>>>>
>>>>>>>> output?
>>>>>>>>
>>>>>>>> Martin
>>>>>>> # /usr/opt/perl5/bin/prove -vb t/06attrs.t
>>>>>>> t/06attrs....1..148
>>>>>>> ok 1 - use DBI;
>>>>>>> String found where operator expected at t/06attrs.t line 289, near "note "Checki
>>>>>>> ng inheritance\n""
>>>>>>>          (Do you need to predeclare note?)
>>>>>>> syntax error at t/06attrs.t line 289, near "note "Checking inheritance\n""
>>>>>>> Execution of t/06attrs.t aborted due to compilation errors.
>>>>>>> # Looks like you planned 148 tests but only ran 1.
>>>>>>> # Looks like your test died just after 1.
>>>>>>> dubious
>>>>>>>          Test returned status 255 (wstat 65280, 0xff00)
>>>>>>> DIED. FAILED tests 2-148
>>>>>>>          Failed 147/148 tests, 0.68% okay
>>>>>>> Failed Test Stat Wstat Total Fail  Failed  List of Failed
>>>>>>> -------------------------------------------------------------------------------
>>>>>>> t/06attrs.t  255 65280   148  294 198.65%  2-148
>>>>>>> Failed 1/1 test scripts, 0.00% okay. 147/148 subtests failed, 0.68% okay.
>>>>>>
>>>>>> You need a more up to date Test::More.
>>>>>>
>>>>>> The dependency must be wrong.
>>>>>>
>>>>>> Martin
>>>>>
>>>>> As an aside, could you tell us what:
>>>>>
>>>>> perl -MTest::More -le 'print $Test::More::VERSION' outputs.
>>>>>
>>>>> Martin
>>>> # perl -MTest::More -le 'print $Test::More::VERSION'
>>>> 0.62
>>>
>>> Then I'm a little confused as DBI requires Test::Simple 0.90 and that contains Test::More so I guess you must have ignored a warning saying your Test::Simple was too old.
>>>
>>> Martin
>> Never mind.  I found it at http://search.cpan.org/dist/Test-Simple/
>>
>> Harry
>>
>>
> Test Simple now 0.98.
>
> # perl -MTest::More -le 'print $Test::More::VERSION'
> 0.98
>
> And I now get this from "make test".
>
> All tests successful, 38 tests and 565 subtests skipped.
> Files=182, Tests=8385, 931 wallclock secs (112.93 cusr + 14.71 csys = 127.64 CPU
> )
>          PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
> test.pl
> DBI test application $Revision: 12537 $
> Switch: DBI 1.622 by Tim Bunce, 1.622
> Available Drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge
> dbi:ExampleP:: testing 3 sets of 20 connections:
> Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
> Disconnecting...
> Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
> Disconnecting...
> Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
> Disconnecting...
> connect 20 and disconnect them, 3 times: 0.0404s / 60 = 0.0007s
> Testing handle creation speed...
> 24096 NullP sth/s perl 5.008008 aix-thread-multi (cc_r 9.0.0.2 -O) 0.000042s
>
> test.pl done
> Target "test" is up to date.
>
> I will now try "make install".
>
> The next thing that I need to do is to download the MySQL module, but I cannot find this module at CPAN.
>
> Harry

Go to search.cpan.org and enter DBD::mysql into the search box and hit search. Click on the second link to DBD::mysql (the one with a version in the link). Don't forget you'll need to install mysql client and mysql client development packages first before attempting to build DBD::mysql.

Martin
-- 
Martin J. Evans
Easysoft Limited
http://www.easysoft.com