RE: compiling under windows and question mark in fields

From: Andy Hassall (andy_at_andyh.co.uk)
Date: 03/24/05


To: <dbi-users@perl.org>
Date: Thu, 24 Mar 2005 22:24:24 -0000


> Does anyone have a good pointer on what's required to compile DBI
> under Windows (using the ActiveState base)?

 The general rule is you need the same compiler that was used to compile the
Perl you're using. For ActiveState, that's Microsoft Visual C++. Other than
that, there's not much in the way of prerequisites. This mail reminded me to
upgrade to 1.48 on this machine, and all I needed to do was open a Visual
Studio .NET command prompt (i.e. just the shortcut to a normal command
prompt but it runs vcvars32.bat) and run "cpan DBI" which fetches, compiles
and installs it.

> And, while I submitted a bug fix req quite a while ago and had it
> fixed for *nix (the ability to use question marks in field names
> primarily by hacking the back-tick operator as a quoting character) I
> was wondering if anyone came across said problem under Windows and
> managed to solve it...

 Can't say I've ever thought about having question marks in field names
other than with a sense of horror ;-) but shouldn't that be down to the DBD
and database's native quoted-identifier syntax (i.e. double quotes as
standard, or backticks on MySQL, and doesn't Access use square brackets?)
rather than up in the DBI level?

-- 
Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool
<http://www.andyh.co.uk> / <http://www.andyhsoftware.co.uk/space> 


Relevant Pages

  • Re: Is CMUCL insane? P.S. Me vs. CLM (Common Lisp Music)
    ... Or to build Windows without a working version of Windows. ... why are you trying to compile CMUCL?" ... let's assume I use Linux and not an emulator here... ...
    (comp.lang.lisp)
  • Re: ANNOUNCE: DBI 1.54 RC6 - including cool new DBD::Gofer stateless proxy
    ... Fixed to compile for perl built with -DNO_MATHOMS thanks to Jerry D. ... Changed setting trace file to no longer write "Trace file set" to new file. ... Updated DBI::DBD docs for driver authors thanks to Ammon Riley ... Some testing on strange platforms, like Windows, would be helpful as ...
    (perl.dbi.users)
  • Re: Momentary black screen when program launches
    ... lets say the compiler takes 5 seconds to compile my source. ... seconds is up then I can get back to the Windows desktop and I will see an ... spawned by another program (IDE, Explorer, etc.) ... The Help and Support newsgroup is *terribly* named, ...
    (microsoft.public.windowsxp.general)
  • Re: abjMouseWheel
    ... Both of them have all the updates for Office, Windows, etc. ... "Gina Whipp" wrote in message ... After you do this, compile the code, and if you get any errors along the ... > Option Compare Database tells your code how to compare strings,> numbers, ...
    (microsoft.public.access.modulesdaovba)
  • Re: Standard Database Interface?
    ... Windows binary and examples athttp://aspn.activestate.com/ASPN/Cookbook/Tcl?kwd=TclBlend. ... use native tcl and binary packages. ... patient enough to show me a step by step method on how to compile ... The physical location of the Java runtime is specified at compile ...
    (comp.lang.tcl)