Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: DBD::ODBC install can't find boot_DBI

by Anonymous Monk
on Oct 07, 2017 at 18:59 UTC ( [id://1200907]=note: print w/replies, xml ) Need Help??


in reply to Re^2: DBD::ODBC install can't find boot_DBI
in thread DBD::ODBC install can't find boot_DBI

I see the newer strawberry use .xs.dll :/ but ActiveState uses MinGW just like strawberry, as you can see from the full build log

? What do you get with  grep -r boot_DBI .

? What is the difference in the "same compile" between the successful install and failed install ? ( diff the build logs )

Replies are listed 'Best First'.
Re^4: DBD::ODBC install can't find boot_DBI
by DanEllison (Scribe) on Oct 09, 2017 at 14:33 UTC

    I get:

    Binary file ./blib/arch/auto/DBI/DBI.xs.dll matches ./DBI.c:XS_EXTERNAL(boot_DBI); /* prototype to pass -Wmissing-prototyp +es */ ./DBI.c:XS_EXTERNAL(boot_DBI) ./DBI.def: boot_DBI Binary file ./DBI.o matches Binary file ./dll.exp matches
    on both machines.

    The two machines extract the files and compile in a different order, but it appears to be the same files and same compile commands. The only difference I see before the failed test is that one machine refers to dmake as C:\STRAWB~1\c\bin\dmake.exe, while the other refers to it as C:\Strawberry\c\bin\dmake.EXE.

      The only difference I see before the failed test is that one machine refers to dmake as C:\STRAWB~1\c\bin\dmake.exe, while the other refers to it as C:\Strawberry\c\bin\dmake.EXE.
      This looks like one is using CMD.EXE and the other COMMAND.COM - what are the values of the COMSPEC environment variable?
        Both machines return C:\Windows\system32\cmd.exe.

      The two machines extract the files and compile in a different order, but it appears to be the same files and same compile commands. The only difference I see before the failed test is that one machine refers to dmake as C:\STRAWB~1\c\bin\dmake.exe, while the other refers to it as C:\Strawberry\c\bin\dmake.EXE.

      Hi,

      A shortpath versus a longpath wouldn't/shouldn't make a difference if they're pointing to the same place

      Yeah "appears to be" sounds very much like "doesn't work" ( vague) but

      its windows, a debugger might provide more info

      If it works on your version of windows (probably doesn't), try depends.exe Ctrl+O perl.exe , F7 ...foo.pl to see a LoadLibrary trace, might have more info

      or from commandline depends.exe /c /f:1 /pb /ot:temp.txt ...perl.exe foo.pl

      Or try the same thing (windbg) with WinDbg

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1200907]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-24 12:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found