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