Skip Menu |
 

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 32789
Status: rejected
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: jello [...] debian.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: DBD::ODBC -- Error code 129, while making 'ODBC.o'
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Charset: utf8
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1201649775-30825-9"
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 494
Download (untitled) / with headers
text/plain 494b
Downloaded and installed StrawberryPerl 5.10.0 from http://strawberryperl.com/download/strawberry-perl-5.10.0-final.exe. Tried to install the DBD::ODBC module from CPAN and it failed. It looks to me like the initial error is: In file included from ODBC.xs:1: ODBC.h:13:61: DBIXS.h: No such file or directory After that, there's a whole litany of errors produced which are probably the result of some dependancy/library not being installed. See the attached build log for the entire story.
Subject: DBD-ODBC-1.15-build.log
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_1201649548-30852-6"
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Charset: utf8
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
Content-Type: application/octet-stream; name="DBD-ODBC-1.15-build.log"
Content-Disposition: inline; filename="DBD-ODBC-1.15-build.log"
Content-Transfer-Encoding: base64
Content-Length: 61134
Download DBD-ODBC-1.15-build.log
application/octet-stream 59.7k

Message body not shown because it is not plain text.

MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00
In-Reply-To: <rt-3.6.HEAD-30825-1201649780-485.32789-3-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-32789 [...] rt.cpan.org> <rt-3.6.HEAD-30825-1201649780-485.32789-3-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: us-ascii
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 0EFA74D8016 for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Tue, 29 Jan 2008 19:10:16 -0500 (EST)
Received: (qmail 17939 invoked from network); 30 Jan 2008 00:10:15 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 30 Jan 2008 00:10:15 -0000
Received: from dot.nahmias.net (HELO dot.nahmias.net) (64.71.168.40) by 16.mx.develooper.com (qpsmtpd/0.40-dev) with ESMTP; Tue, 29 Jan 2008 16:10:06 -0800
Received: by dot.nahmias.net (Postfix, from userid 1000) id DD5F31FD81; Wed, 30 Jan 2008 00:10:02 +0000 (UTC)
Delivered-To: cpan-bug+Perl-Dist-Strawberry [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #32789] DBIXS.h is on the system, just not where expected perhaps
User-Agent: Mutt/1.5.13 (2006-08-11)
Return-Path: <joe [...] nahmias.net>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
Date: Wed, 30 Jan 2008 00:10:02 +0000
X-Spam-Level: *
Message-Id: <20080130001002.GB2591 [...] nahmias.net>
To: Bugs in Perl-Dist-Strawberry via RT <bug-Perl-Dist-Strawberry [...] rt.cpan.org>
From: Joe Nahmias <jello [...] debian.org>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-30852-1201651823-465.32789-0-0 [...] rt.cpan.org>
Content-Length: 746
Download (untitled) / with headers
text/plain 746b
Just to follow up. It seems that the DBIXS.h file does exist within the strawberry perl tree: C:\>dir /s/b c:\strawberry\DBIXS.h c:\strawberry\perl\site\lib\auto\DBI\DBIXS.h However it doesn't seem like this directory is part of the normal include search path: C:\>echo %INCLUDE% C:\Program Files\Microsoft Visual Studio.NET\FrameworkSDK\include\;C:\strawberry\c\include;C:\strawberry\perl\lib\CORE Nor was it specifically mentioned (via -I) in the compile args: gcc -c -IC:\strawberry\c\include -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" "-IC:\strawberry\perl\lib\CORE" -DWITH_UNICODE ODBC.c --Joe
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00,DK_SIGNED,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-30852-1201651823-465.32789-5-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-32789 [...] rt.cpan.org> <rt-3.6.HEAD-30825-1201649780-485.32789-3-0 [...] rt.cpan.org> <20080130001002.GB2591 [...] nahmias.net> <rt-3.6.HEAD-30852-1201651823-465.32789-5-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: ISO-8859-1
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id A7DBE4D8016 for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Tue, 29 Jan 2008 19:23:14 -0500 (EST)
Received: (qmail 23405 invoked from network); 30 Jan 2008 00:23:13 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 30 Jan 2008 00:23:13 -0000
Received: from wx-out-0506.google.com (HELO wx-out-0506.google.com) (66.249.82.232) by 16.mx.develooper.com (qpsmtpd/0.40-dev) with ESMTP; Tue, 29 Jan 2008 16:23:10 -0800
Received: by wx-out-0506.google.com with SMTP id h29so30373wxd.27 for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Tue, 29 Jan 2008 16:23:05 -0800 (PST)
Received: by 10.142.106.18 with SMTP id e18mr37945wfc.111.1201652583149; Tue, 29 Jan 2008 16:23:03 -0800 (PST)
Received: by 10.142.83.18 with HTTP; Tue, 29 Jan 2008 16:23:03 -0800 (PST)
Delivered-To: cpan-bug+Perl-Dist-Strawberry [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #32789] DBIXS.h is on the system, just not where expected perhaps
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Wbikud4GQMwHUKq94yjIHg7IrdLpH5XyTZASP3D9h8NddFBnTJRraEowsHsX+SZOtRdoJ9ySepwdT7pS8QTpyKAzW5j59Q3LkK8/WjP+VR4TaRE7CgytemPwWj7/eRSvS/lr7mvWNtK3GHVKHyFAt31ZTWmilY1FHGxWvBhjevg=
Return-Path: <adamkennedybackup [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=1XOU4bIbJ2K4fcf/gklon6dfIIxJYdQUxtbTuLv6eEU=; b=jMgHB3YAml0nQzJKfmVgnrA6rGykpok32jypxL4/S5yvm79FQ5+L/QwuMjfHa/XyAG1IdiNLBP9SOikp1HIyzOC3b0IHfhIipigGVEYFPIdt4wpnr1DZaOkkf7y1I4kg6jn5Q/6aa+FWvxhIFyfc3GYP7W9hwGM9DoIW+U35SK4=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
Date: Wed, 30 Jan 2008 11:23:03 +1100
X-Spam-Level: *
Message-Id: <b8cb49a40801291623y301b46bbl395c446be736ec7e [...] mail.gmail.com>
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: "Adam Kennedy" <adamkennedybackup [...] gmail.com>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-30852-1201652600-1224.32789-0-0 [...] rt.cpan.org>
Content-Length: 1279
Download (untitled) / with headers
text/plain 1.2k
The DBI-specific path will of course not be included in the INCLUDE paths, as it is only needed for this specific case. This is not as bug in Strawberry Perl, it is a bug in the Makefile.PL for DBD::ODBC, not looking for the .h file in a typical location. Recommend you refile this bug under DBD::ODBC. Adam K On 30/01/2008, Joe Nahmias via RT <bug-Perl-Dist-Strawberry@rt.cpan.org> wrote: Show quoted text
> > Queue: Perl-Dist-Strawberry > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=32789 > > > Just to follow up. It seems that the DBIXS.h file does exist within the > strawberry perl tree: > > C:\>dir /s/b c:\strawberry\DBIXS.h > c:\strawberry\perl\site\lib\auto\DBI\DBIXS.h > > However it doesn't seem like this directory is part of the normal > include search path: > > C:\>echo %INCLUDE% > C:\Program Files\Microsoft Visual Studio.NET\FrameworkSDK\include\;C:\strawberry\c\include;C:\strawberry\perl\lib\CORE > > Nor was it specifically mentioned (via -I) in the compile args: > > gcc -c -IC:\strawberry\c\include -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" "-IC:\strawberry\perl\lib\CORE" -DWITH_UNICODE ODBC.c > > --Joe > >
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-30852-1201652600-1224.32789-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Charset: utf8
References: <RT-Ticket-32789 [...] rt.cpan.org> <rt-3.6.HEAD-30825-1201649780-485.32789-3-0 [...] rt.cpan.org> <20080130001002.GB2591 [...] nahmias.net> <rt-3.6.HEAD-30852-1201651823-465.32789-5-0 [...] rt.cpan.org> <b8cb49a40801291623y301b46bbl395c446be736ec7e [...] mail.gmail.com> <rt-3.6.HEAD-30852-1201652600-1224.32789-0-0 [...] rt.cpan.org>
Message-Id: <rt-3.6.HEAD-30835-1201653324-1433.32789-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
From: jello [...] debian.org
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 410
Download (untitled) / with headers
text/plain 410b
On Tue Jan 29 19:23:20 2008, adamkennedybackup@gmail.com wrote: [snip] Show quoted text
> This is not as bug in Strawberry Perl, it is a bug in the Makefile.PL > for DBD::ODBC, not looking for the .h file in a typical location. > > Recommend you refile this bug under DBD::ODBC.
Sorry, haven't used RT much. How do I reassign this bug? Nothing in the web interface seems to allow this. Do I need to create a separate bug?
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00,DK_SIGNED,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-30835-1201653324-1433.32789-5-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-32789 [...] rt.cpan.org> <rt-3.6.HEAD-30825-1201649780-485.32789-3-0 [...] rt.cpan.org> <20080130001002.GB2591 [...] nahmias.net> <rt-3.6.HEAD-30852-1201651823-465.32789-5-0 [...] rt.cpan.org> <b8cb49a40801291623y301b46bbl395c446be736ec7e [...] mail.gmail.com> <rt-3.6.HEAD-30852-1201652600-1224.32789-5-0 [...] rt.cpan.org> <rt-3.6.HEAD-30835-1201653324-1433.32789-5-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: ISO-8859-1
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 0CC354D80B5 for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Tue, 29 Jan 2008 20:02:01 -0500 (EST)
Received: (qmail 14159 invoked from network); 30 Jan 2008 01:02:01 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 30 Jan 2008 01:02:01 -0000
Received: from wx-out-0506.google.com (HELO wx-out-0506.google.com) (66.249.82.234) by 16.mx.develooper.com (qpsmtpd/0.40-dev) with ESMTP; Tue, 29 Jan 2008 17:01:56 -0800
Received: by wx-out-0506.google.com with SMTP id h29so44086wxd.27 for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Tue, 29 Jan 2008 17:01:52 -0800 (PST)
Received: by 10.143.33.19 with SMTP id l19mr52826wfj.85.1201654911404; Tue, 29 Jan 2008 17:01:51 -0800 (PST)
Received: by 10.142.83.18 with HTTP; Tue, 29 Jan 2008 17:01:51 -0800 (PST)
Delivered-To: cpan-bug+Perl-Dist-Strawberry [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #32789] DBD::ODBC -- Error code 129, while making 'ODBC.o'
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GwP14SrxTYnRfa/8IIKzlTtHu5vSPNHA74YWJpIFc6Nifn4jFkcrszH2RI65/IQMnhmXb+AH2hxNX0r4+9JVjGGqTnzPvys+yRA4oNlQxFXFgfrLsr5eeoOt4BS9WXq+wqXVWAzsko4hDOfJWdv3XBoA3jGD9Dz/+5s6QJYMQBk=
Return-Path: <adamkennedybackup [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=w9ZfElMNQs/s0eyO/48tmIXgEtq6QY9AnsX66lJnZ20=; b=w0Kj5fbzitO/2+b+Eb2QwYqqvoVoJeiODyu4pSVcr6cRXH90DPEmk7YQU+Yv4GHuBbOjcjmacMPrrI6Kh/9b6u4Uemb7e86f6Ti0Vfzfwo+P6YRx7QJCSF4mN3QLiY4P7exh4Wbqj+ztQ+cNHmy5qBTGOhBkWvOXMKDHJSgfwoU=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
Date: Wed, 30 Jan 2008 12:01:51 +1100
X-Spam-Level: *
Message-Id: <b8cb49a40801291701y70c8ba56wa025d85055f8f9e0 [...] mail.gmail.com>
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: "Adam Kennedy" <adamkennedybackup [...] gmail.com>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-30809-1201654928-1545.32789-0-0 [...] rt.cpan.org>
Content-Length: 708
Download (untitled) / with headers
text/plain 708b
To be honest, I'm not sure. I recommend just creating a new bug and I'll close this one. On 30/01/2008, Joe Nahmias via RT <bug-Perl-Dist-Strawberry@rt.cpan.org> wrote: Show quoted text
> > Queue: Perl-Dist-Strawberry > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=32789 > > > On Tue Jan 29 19:23:20 2008, adamkennedybackup@gmail.com wrote: > [snip]
> > This is not as bug in Strawberry Perl, it is a bug in the Makefile.PL > > for DBD::ODBC, not looking for the .h file in a typical location. > > > > Recommend you refile this bug under DBD::ODBC.
> > Sorry, haven't used RT much. How do I reassign this bug? Nothing in > the web interface seems to allow this. Do I need to create a separate bug? > >
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Charset: utf8
Message-Id: <rt-3.6.HEAD-30852-1201655678-1907.32789-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 58
I think to reassign you click on Basics and edit the Queue
CC: jello [...] debian.org
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00
In-Reply-To: <rt-3.6.HEAD-30852-1201655678-1907.32789-6-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-32789 [...] rt.cpan.org> <rt-3.6.HEAD-30852-1201655678-1907.32789-6-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: us-ascii
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id DCB914D8122 for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Wed, 30 Jan 2008 13:44:38 -0500 (EST)
Received: (qmail 2582 invoked from network); 30 Jan 2008 18:44:38 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 30 Jan 2008 18:44:38 -0000
Received: from dot.nahmias.net (HELO dot.nahmias.net) (64.71.168.40) by 16.mx.develooper.com (qpsmtpd/0.40-dev) with ESMTP; Wed, 30 Jan 2008 10:44:31 -0800
Received: by dot.nahmias.net (Postfix, from userid 1000) id 5952A1FD81; Wed, 30 Jan 2008 18:44:23 +0000 (UTC)
Delivered-To: cpan-bug+Perl-Dist-Strawberry [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #32789] DBD::ODBC -- Error code 129, while making 'ODBC.o'
User-Agent: Mutt/1.5.13 (2006-08-11)
Return-Path: <joe [...] nahmias.net>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
Date: Wed, 30 Jan 2008 18:44:23 +0000
X-Spam-Level: *
Message-Id: <20080130184423.GA23656 [...] nahmias.net>
To: Andreas Koenig via RT <bug-Perl-Dist-Strawberry [...] rt.cpan.org>
From: Joe Nahmias <jello [...] debian.org>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-30809-1201718686-17.32789-0-0 [...] rt.cpan.org>
Content-Length: 318
Download (untitled) / with headers
text/plain 318b
On Tue, Jan 29, 2008 at 08:14:43PM -0500, Andreas Koenig via RT wrote: Show quoted text
> I think to reassign you click on Basics and edit the Queue
Well, it looks like reassigning is not allowed in this version of RT. So, I've opened a new ticket under the DBD-ODBC module: http://rt.cpan.org/Public/Bug/Display.html?id=32811 --Joe
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-30852-1201652600-1224.32789-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Charset: utf8
References: <RT-Ticket-32789 [...] rt.cpan.org> <rt-3.6.HEAD-30825-1201649780-485.32789-3-0 [...] rt.cpan.org> <20080130001002.GB2591 [...] nahmias.net> <rt-3.6.HEAD-30852-1201651823-465.32789-5-0 [...] rt.cpan.org> <b8cb49a40801291623y301b46bbl395c446be736ec7e [...] mail.gmail.com> <rt-3.6.HEAD-30852-1201652600-1224.32789-0-0 [...] rt.cpan.org>
Message-Id: <rt-3.6.HEAD-30846-1201774628-360.32789-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
From: martin.evans [...] easysoft.com
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 1256
Download (untitled) / with headers
text/plain 1.2k
On Tue Jan 29 19:23:20 2008, adamkennedybackup@gmail.com wrote: Show quoted text
> The DBI-specific path will of course not be included in the INCLUDE > paths, as it is only needed for this specific case. > > This is not as bug in Strawberry Perl, it is a bug in the Makefile.PL > for DBD::ODBC, not looking for the .h file in a typical location. > > Recommend you refile this bug under DBD::ODBC.
I'm not so sure this is an DBD::ODBC issue. When I install Strawberry perl and repeat the exercise I get a Makefile containing snippets like this: # MakeMaker 'CONFIGURE' Parameters: # INC => q[ -IC:\strawberry\perl\site\lib\auto\DBI] INC = -IC:\strawberry\perl\site\lib\auto\DBI # --- MakeMaker const_cccmd section: CCCMD = $(CC) -c $(PASTHRU_INC) $(INC) \ $(CCFLAGS) $(OPTIMIZE) \ $(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \ $(XS_DEFINE_VERSION) So the path to DBI files is defined and added to the Makefile. Unfortunately I cannot take this any further at the moment because I don't have nmake or a compiler on this windows machine. Please look at the Makefile that was generated for you and search it for lines like those above - have you got them? and if so then why is the CC command being run without the INC? Martin -- Martin J. Evans Wetherby, UK
CC: jello [...] debian.org
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00
In-Reply-To: <rt-3.6.HEAD-30846-1201774628-360.32789-6-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-32789 [...] rt.cpan.org> <rt-3.6.HEAD-30825-1201649780-485.32789-3-0 [...] rt.cpan.org> <20080130001002.GB2591 [...] nahmias.net> <rt-3.6.HEAD-30852-1201651823-465.32789-5-0 [...] rt.cpan.org> <b8cb49a40801291623y301b46bbl395c446be736ec7e [...] mail.gmail.com> <rt-3.6.HEAD-30852-1201652600-1224.32789-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-30846-1201774628-360.32789-6-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: us-ascii
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id D4C7F4D8098 for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Thu, 31 Jan 2008 13:12:50 -0500 (EST)
Received: (qmail 22801 invoked from network); 31 Jan 2008 17:41:07 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 31 Jan 2008 17:41:07 -0000
Received: from dot.nahmias.net (HELO dot.nahmias.net) (64.71.168.40) by 16.mx.develooper.com (qpsmtpd/0.40-dev) with ESMTP; Thu, 31 Jan 2008 09:40:59 -0800
Received: by dot.nahmias.net (Postfix, from userid 1000) id 1C4D31FD81; Thu, 31 Jan 2008 17:40:53 +0000 (UTC)
Delivered-To: cpan-bug+Perl-Dist-Strawberry [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #32789] DBD::ODBC -- Error code 129, while making 'ODBC.o'
User-Agent: Mutt/1.5.13 (2006-08-11)
Return-Path: <joe [...] nahmias.net>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
Date: Thu, 31 Jan 2008 17:40:53 +0000
X-Spam-Level: *
Message-Id: <20080131174053.GA16024 [...] nahmias.net>
To: Martin J Evans via RT <bug-Perl-Dist-Strawberry [...] rt.cpan.org>
From: Joe Nahmias <jello [...] debian.org>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-30846-1201803185-1830.32789-0-0 [...] rt.cpan.org>
Content-Length: 1852
Download (untitled) / with headers
text/plain 1.8k
On Thu, Jan 31, 2008 at 05:17:25AM -0500, Martin J Evans via RT wrote: Show quoted text
> I'm not so sure this is an DBD::ODBC issue. When I install Strawberry > perl and repeat the exercise I get a Makefile containing snippets like this: > > # MakeMaker 'CONFIGURE' Parameters: > # INC => q[ -IC:\strawberry\perl\site\lib\auto\DBI] > > INC = -IC:\strawberry\perl\site\lib\auto\DBI > > # --- MakeMaker const_cccmd section: > CCCMD = $(CC) -c $(PASTHRU_INC) $(INC) \ > $(CCFLAGS) $(OPTIMIZE) \ > $(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \ > $(XS_DEFINE_VERSION) > > So the path to DBI files is defined and added to the Makefile. > Unfortunately I cannot take this any further at the moment because I > don't have nmake or a compiler on this windows machine. > > Please look at the Makefile that was generated for you and search it for > lines like those above - have you got them? and if so then why is the CC > command being run without the INC?
Hmm, first the facts: C:\>egrep -n "\<INC" C:\strawberry\cpan\build\DBD-ODBC-1.15-TtLTK7\Makefile 9:# MakeMaker ARGV: (q[LIBS=-LC:\strawberry\c\lib], q[INC=-IC:\strawberry\c\in clude]) 17:# INC => q[] 31:# INC => q[ -IC:\strawberry\perl\site\lib\auto\DBI] 163:INC = -IC:\strawberry\c\include 315:CCCMD = $(CC) -c $(PASTHRU_INC) $(INC) \ 349: gcc -E -c $(PASTHRU_INC) $(INC) \ 684: cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL "LIBS=-LC:\strawberry\c\lib" "INC=-IC:\strawberry\c\include" 894: $(PERLRUN) Makefile.PL "LIBS=-LC:\strawberry\c\lib" "INC=-IC:\strawberry\c\include" 917: INC=-IC:\strawberry\c\include Now my shot at the analysis: - Line 31 shows that the DBI dir was of the "MakeMaker 'CONFIGURE' Parameters" - However, for some reason it didn't end up in the INC definition in line 163. MakeMaker v6.42 bug? Time to move to Module::Build ?? --Joe
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-30846-1201803185-1830.32789-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Charset: utf8
References: <RT-Ticket-32789 [...] rt.cpan.org> <rt-3.6.HEAD-30825-1201649780-485.32789-3-0 [...] rt.cpan.org> <20080130001002.GB2591 [...] nahmias.net> <rt-3.6.HEAD-30852-1201651823-465.32789-5-0 [...] rt.cpan.org> <b8cb49a40801291623y301b46bbl395c446be736ec7e [...] mail.gmail.com> <rt-3.6.HEAD-30852-1201652600-1224.32789-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-30846-1201774628-360.32789-6-0 [...] rt.cpan.org> <20080131174053.GA16024 [...] nahmias.net> <rt-3.6.HEAD-30846-1201803185-1830.32789-0-0 [...] rt.cpan.org>
Message-Id: <rt-3.6.HEAD-22040-1202814801-932.32789-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
From: martin.evans [...] easysoft.com
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 2336
Download (untitled) / with headers
text/plain 2.2k
On Thu Jan 31 13:13:06 2008, jello wrote: Show quoted text
> > Hmm, first the facts: > > C:\>egrep -n "\<INC" C:\strawberry\cpan\build\DBD-ODBC-1.15- > TtLTK7\Makefile > 9:# MakeMaker ARGV: (q[LIBS=-LC:\strawberry\c\lib], q[INC=- > IC:\strawberry\c\in > clude]) > 17:# INC => q[] > 31:# INC => q[ -IC:\strawberry\perl\site\lib\auto\DBI] > 163:INC = -IC:\strawberry\c\include > 315:CCCMD = $(CC) -c $(PASTHRU_INC) $(INC) \ > 349: gcc -E -c $(PASTHRU_INC) $(INC) \ > 684: cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL "LIBS=- > LC:\strawberry\c\lib" "INC=-IC:\strawberry\c\include" > 894: $(PERLRUN) Makefile.PL "LIBS=-LC:\strawberry\c\lib" "INC=- > IC:\strawberry\c\include" > 917: INC=-IC:\strawberry\c\include
ok, I've not got egrep on this windows machine but I now have a compiler and the build works fine. After "perl Makefile.PL MAKE=nmake" I have the following INC references in my Makefile: # INC => q[] # INC => q[ -IC:\strawberry\perl\site\lib\auto\DBI] PERLMAINCC = $(CC) PERL_INC = C:\strawberry\perl\lib\CORE INC = -IC:\strawberry\perl\site\lib\auto\DBI CONFIGDEP = $(PERL_ARCHLIB)$(DFSEP)Config.pm $(PERL_INC)$(DFSEP)config.h PERL_ARCHIVE = $(PERL_INC)\libperl510.a CCCMD = $(CC) -c $(PASTHRU_INC) $(INC) \ gcc -E -c $(PASTHRU_INC) $(INC) \ $(CCCMD) -S $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c Note, my INC clearly contains the path to DBI. Show quoted text
> Now my shot at the analysis: > > - Line 31 shows that the DBI dir was of the "MakeMaker 'CONFIGURE' > Parameters" > - However, for some reason it didn't end up in the INC definition in > line 163. > > MakeMaker v6.42 bug? Time to move to Module::Build ?? > > --Joe
I have the stock Strawberry Perl the original reporter referred to and ExtUtils::MakeMaker 6.42 as it came with Strawberry. When I generate the Makefile it is generated correctly and the build of DBD::ODBC works fine. Here is the first cc line: gcc -c -IC:\strawberry\perl\site\lib\auto\DBI -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" "-IC:\strawberry\perl\lib\CORE" -DWITH_UNICODE ODBC.c BTW, I've replied here rather than in DBD::ODBC where a bug was raised because the reported does not seem to reply. Martin
CC: jello [...] debian.org
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00
In-Reply-To: <rt-3.6.HEAD-22040-1202814801-932.32789-6-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-32789 [...] rt.cpan.org> <rt-3.6.HEAD-30825-1201649780-485.32789-3-0 [...] rt.cpan.org> <20080130001002.GB2591 [...] nahmias.net> <rt-3.6.HEAD-30852-1201651823-465.32789-5-0 [...] rt.cpan.org> <b8cb49a40801291623y301b46bbl395c446be736ec7e [...] mail.gmail.com> <rt-3.6.HEAD-30852-1201652600-1224.32789-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-30846-1201774628-360.32789-6-0 [...] rt.cpan.org> <20080131174053.GA16024 [...] nahmias.net> <rt-3.6.HEAD-30846-1201803185-1830.32789-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-22040-1202814801-932.32789-6-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: us-ascii
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id C709B4D8049 for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Wed, 13 Feb 2008 13:54:37 -0500 (EST)
Received: (qmail 6383 invoked from network); 13 Feb 2008 18:54:36 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 13 Feb 2008 18:54:36 -0000
Received: from dot.nahmias.net (HELO dot.nahmias.net) (64.71.168.40) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Wed, 13 Feb 2008 10:54:31 -0800
Received: by dot.nahmias.net (Postfix, from userid 1000) id 032681FD81; Wed, 13 Feb 2008 18:53:46 +0000 (UTC)
Delivered-To: cpan-bug+Perl-Dist-Strawberry [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #32789] DBD::ODBC -- Error code 129, while making 'ODBC.o'
User-Agent: Mutt/1.5.13 (2006-08-11)
Return-Path: <joe [...] nahmias.net>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
Date: Wed, 13 Feb 2008 18:53:46 +0000
X-Spam-Level: *
Message-Id: <20080213185346.GA12637 [...] nahmias.net>
To: Martin J Evans via RT <bug-Perl-Dist-Strawberry [...] rt.cpan.org>
From: Joe Nahmias <jello [...] debian.org>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-22060-1202928885-1476.32789-0-0 [...] rt.cpan.org>
Content-Length: 2051
Hi Martin, On Tue, Feb 12, 2008 at 06:13:23AM -0500, Martin J Evans via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=32789 > > > On Thu Jan 31 13:13:06 2008, jello wrote:
> > > > Hmm, first the facts: > > > > C:\>egrep -n "\<INC" C:\strawberry\cpan\build\DBD-ODBC-1.15- > > TtLTK7\Makefile > > 9:# MakeMaker ARGV: (q[LIBS=-LC:\strawberry\c\lib], q[INC=- > > IC:\strawberry\c\in > > clude]) > > 17:# INC => q[] > > 31:# INC => q[ -IC:\strawberry\perl\site\lib\auto\DBI] > > 163:INC = -IC:\strawberry\c\include > > 315:CCCMD = $(CC) -c $(PASTHRU_INC) $(INC) \ > > 349: gcc -E -c $(PASTHRU_INC) $(INC) \ > > 684: cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL "LIBS=- > > LC:\strawberry\c\lib" "INC=-IC:\strawberry\c\include" > > 894: $(PERLRUN) Makefile.PL "LIBS=-LC:\strawberry\c\lib" "INC=- > > IC:\strawberry\c\include" > > 917: INC=-IC:\strawberry\c\include
> > ok, I've not got egrep on this windows machine but I now have a compiler > and the build works fine. After "perl Makefile.PL MAKE=nmake" I have the > following INC references in my Makefile: > > # INC => q[] > # INC => q[ -IC:\strawberry\perl\site\lib\auto\DBI] > PERLMAINCC = $(CC) > PERL_INC = C:\strawberry\perl\lib\CORE > INC = -IC:\strawberry\perl\site\lib\auto\DBI > CONFIGDEP = $(PERL_ARCHLIB)$(DFSEP)Config.pm $(PERL_INC)$(DFSEP)config.h > PERL_ARCHIVE = $(PERL_INC)\libperl510.a > CCCMD = $(CC) -c $(PASTHRU_INC) $(INC) \ > gcc -E -c $(PASTHRU_INC) $(INC) \ > $(CCCMD) -S $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c > > Note, my INC clearly contains the path to DBI.
[snip] OK, so this is clearly the problem that for some reason, you've got INC setup properly, but mine didn't. Any ideas as to how we can track this down? I'm going to retry on another machine from scratch. Show quoted text
> BTW, I've replied here rather than in DBD::ODBC where a bug was raised > because the reported does not seem to reply.
Sorry, my email has been completely backed up due to spam. Should be better now. --Joe
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00
In-Reply-To: <20080213185346.GA12637 [...] nahmias.net>
Content-Disposition: inline
References: <rt-3.6.HEAD-30825-1201649780-485.32789-3-0 [...] rt.cpan.org> <20080130001002.GB2591 [...] nahmias.net> <rt-3.6.HEAD-30852-1201651823-465.32789-5-0 [...] rt.cpan.org> <b8cb49a40801291623y301b46bbl395c446be736ec7e [...] mail.gmail.com> <rt-3.6.HEAD-30852-1201652600-1224.32789-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-30846-1201774628-360.32789-6-0 [...] rt.cpan.org> <20080131174053.GA16024 [...] nahmias.net> <rt-3.6.HEAD-30846-1201803185-1830.32789-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-22040-1202814801-932.32789-6-0 [...] rt.cpan.org> <20080213185346.GA12637 [...] nahmias.net>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: us-ascii
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 999E74D80A9 for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Thu, 14 Feb 2008 21:01:41 -0500 (EST)
Received: (qmail 20359 invoked from network); 15 Feb 2008 02:01:40 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 15 Feb 2008 02:01:40 -0000
Received: from dot.nahmias.net (HELO dot.nahmias.net) (64.71.168.40) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Thu, 14 Feb 2008 18:01:32 -0800
Received: by dot.nahmias.net (Postfix, from userid 1000) id 119E21FD81; Fri, 15 Feb 2008 02:01:28 +0000 (UTC)
Delivered-To: cpan-bug+Perl-Dist-Strawberry [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #32789] DBD::ODBC -- Error code 129, while making 'ODBC.o'
User-Agent: Mutt/1.5.13 (2006-08-11)
Return-Path: <joe [...] nahmias.net>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
Date: Fri, 15 Feb 2008 02:01:28 +0000
X-Spam-Level: *
Message-Id: <20080215020128.GA13600 [...] nahmias.net>
To: Martin J Evans via RT <bug-Perl-Dist-Strawberry [...] rt.cpan.org>
From: Joe Nahmias <jello [...] debian.org>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-25281-1203040957-209.32789-0-0 [...] rt.cpan.org>
Content-Length: 576
Download (untitled) / with headers
text/plain 576b
On Wed, Feb 13, 2008 at 06:53:46PM +0000, Joe Nahmias wrote: [snip] Show quoted text
> OK, so this is clearly the problem that for some reason, you've got INC > setup properly, but mine didn't. Any ideas as to how we can track this > down? I'm going to retry on another machine from scratch.
I've retried on another machine with exactly the same results. The steps I took are: 1) Download and install strawberry perl. 2) cpan -fi CPAN::Reporter 3) cpan -i DBI 4) cpan -i DBD::ODBC Note that some of the tests for CPAN::Reporter failed, so I had to force installation. Any ideas? --Joe
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-25281-1203040957-209.32789-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Charset: utf8
References: <rt-3.6.HEAD-30825-1201649780-485.32789-3-0 [...] rt.cpan.org> <20080130001002.GB2591 [...] nahmias.net> <rt-3.6.HEAD-30852-1201651823-465.32789-5-0 [...] rt.cpan.org> <b8cb49a40801291623y301b46bbl395c446be736ec7e [...] mail.gmail.com> <rt-3.6.HEAD-30852-1201652600-1224.32789-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-30846-1201774628-360.32789-6-0 [...] rt.cpan.org> <20080131174053.GA16024 [...] nahmias.net> <rt-3.6.HEAD-30846-1201803185-1830.32789-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-22040-1202814801-932.32789-6-0 [...] rt.cpan.org> <20080213185346.GA12637 [...] nahmias.net> <20080215020128.GA13600 [...] nahmias.net> <rt-3.6.HEAD-25281-1203040957-209.32789-0-0 [...] rt.cpan.org>
Message-Id: <rt-3.6.HEAD-25315-1203064559-1359.32789-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
From: martin.evans [...] easysoft.com
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 966
Download (untitled) / with headers
text/plain 966b
On Thu Feb 14 21:02:37 2008, jello wrote: Show quoted text
> On Wed, Feb 13, 2008 at 06:53:46PM +0000, Joe Nahmias wrote: > [snip]
> > OK, so this is clearly the problem that for some reason, you've got INC > > setup properly, but mine didn't. Any ideas as to how we can track this > > down? I'm going to retry on another machine from scratch.
> > I've retried on another machine with exactly the same results. The > steps I took are: > > 1) Download and install strawberry perl. > 2) cpan -fi CPAN::Reporter > 3) cpan -i DBI > 4) cpan -i DBD::ODBC > > Note that some of the tests for CPAN::Reporter failed, so I had to force > installation. > > Any ideas? > > --Joe
Can we move this to the ticket you created on DBD::ODBC so the strawberry guys can close this. I now think it is an issue with the Makefile generated for dmake. Could you send me the generated Makefile. Have you got nmake and can you try building for nmake e.g. e.g., perl Makefile.PL MAKE=nmake Martin
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-25315-1203064559-1359.32789-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Charset: utf8
References: <rt-3.6.HEAD-30825-1201649780-485.32789-3-0 [...] rt.cpan.org> <20080130001002.GB2591 [...] nahmias.net> <rt-3.6.HEAD-30852-1201651823-465.32789-5-0 [...] rt.cpan.org> <b8cb49a40801291623y301b46bbl395c446be736ec7e [...] mail.gmail.com> <rt-3.6.HEAD-30852-1201652600-1224.32789-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-30846-1201774628-360.32789-6-0 [...] rt.cpan.org> <20080131174053.GA16024 [...] nahmias.net> <rt-3.6.HEAD-30846-1201803185-1830.32789-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-22040-1202814801-932.32789-6-0 [...] rt.cpan.org> <20080213185346.GA12637 [...] nahmias.net> <20080215020128.GA13600 [...] nahmias.net> <rt-3.6.HEAD-25281-1203040957-209.32789-0-0 [...] rt.cpan.org> <rt-3.6.HEAD-25315-1203064559-1359.32789-0-0 [...] rt.cpan.org>
Message-Id: <rt-3.6.HEAD-25315-1203092697-1427.32789-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 547
Download (untitled) / with headers
text/plain 547b
As far as I am concerned this is not a strawberry issue and discussion has been moved to http://rt.cpan.org/Ticket/Display.html?id=32811 so you may close this issue now but note I am not the reporter and they may think differently. FWIW, the issue appears to be that INC=xxx on the command line when building the Makefile overrides any additions the Makefile.PL wants to make to INC so when DBD::ODBC adds the DBI include path to INC it is lost. The reporter was running "cpan -i DBD::ODBC" and this sets LIBS and INC on the command line. Martin
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Disposition: inline
Charset: utf8
Message-Id: <rt-3.6.HEAD-4408-1222675446-1355.32789-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 20
Not a Strawberry bug


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.