Re: DBD::Informix Win32 problem

From: Nikolay Ananiev (hallmall_at_3dzone-bg.com)
Date: 07/25/04

  • Next message: Tim Bunce: "Re: DBI and unicode seg. fault"
    To: <dbi-users@perl.org>
    Date: Sun, 25 Jul 2004 14:16:14 +0300
    
    

    I have sent this to Jonathan Leffer's mail, but he didn't respond, so I
    think he didn't get. I'm sending it here too...

    Well, I was wrong. When I make these changes the process seems to be
    successful, but informix.dll doesn't get built. I investigated this a little
    more and found that if I comment out lines 642 and 643 in makefile.pl, which
    are:

    #$opts{LD} = "INFORMIXC='\$(FULLPERL) esqlld' " .
    # "ESQLLD='$Config{ld} \$(LDDLFLAGS)' \$(ESQL)";
    maybe this should be changed to:
    $opts{LD} = "INFORMIXC='\$(FULLPERL) esqlld' " .
       "ESQLLD='$Config{ld} \$(LDDLFLAGS)' \$(ESQL)" unless $NTConfiguration;

    then everything is just fine, but the tests fail.
    When running nmake test a window pops-up, which says:
    perl.exe Application Error
    The instruction at 0x280869d7" referenced memory at "0x00000000". The memory
    could not be "written"

    and in the console I get
    Free to wrong pool 15d33c8 not 80102 at
    E:\Downloads\DBD-Informix-2003.04\blib\lib/DBD/Informix.pm line 180.

    I have no idea what these thing mean.

    ----- Original Message -----
    From: "Jonathan Leffler" <jleffler@us.ibm.com>
    To: "Jonathan Leffler" <jleffler@earthlink.net>; "Nikolay Ananiev"
    <hallmall@3dzone-bg.com>
    Sent: Tuesday, June 29, 2004 2:57 AM
    Subject: Re: [Fwd: DBD::Informix Win32 Build problem]

    > Dear Nikolay,
    >
    > The lines to be fixed would be at around line 650 in Makefile.PL. Just
    > above there, there is a default setting of $opts{LD} = "INFORMIXC=...",
    > and then there is a block started 'if ($NTConfiguration)...'. You'd
    > presumably do this fixup in the if-block since the default setting is
    > correct for Unix-like platforms and shells.
    >
    > One reason you're getting this to work is that your $INFORMIXDIR does not
    > contain any spaces -- people who have Informix software installed under
    > C:\Program Files have many more problems.
    >
    > If you can send me a patch when you get it working (I think you should be
    > able to do so now), I'd be grateful - you get your name into the history
    > book whenever I finally get to make a new release.
    >
    > I have no build environment for Win32 at the moment - laziness and absence
    > of MSVC on my Win2K machine - so I can't do much in the way of testing.
    >
    > --
    > Jonathan Leffler (jleffler@us.ibm.com)
    > STSM, Informix Database Engineering, IBM Data Management
    > 4100 Bohannon Drive, Menlo Park, CA 94025
    > Tel: +1 650-926-6921 Tie-Line: 630-6921
    > "I don't suffer from insanity; I enjoy every minute of it!"
    >


  • Next message: Tim Bunce: "Re: DBI and unicode seg. fault"