in reply to Trying to create a DBD::Sybase binary file - Sybase.dll

Sounds like a unix makefile is running on Windows and is making/cross compiling a SO, now the question is, how did that succeed without unix import libs, and does that SO link to kernel32 or does it link to WINE, and does it contain x86 machine code? :-D

More seriously, from my mingw experience, all dlls are made with calls to dlltool normally. You dont have that call. Sounds like you are running a unix makefile on Windows, or whatever made the makefile (maybe a makefile.pl) thinks you are on unix. Cygwin Perl or Mingw Perl?

try a "dmake -n all" or "dmake -n install" or whatever target you are using and post that output here.
  • Comment on Re: Trying to create a DBD::Sybase binary file - Sybase.dll

Replies are listed 'Best First'.
Re^2: Trying to create a DBD::Sybase binary file - Sybase.dll
by freddybill452005 (Initiate) on Aug 16, 2012 at 16:18 UTC

    dmake -n install produces this output:

    C:\Perl\site\lib\DBD>dmake -n install rem rem rem rem rem rem C:\Perl\bin\perl.exe "-MActivePerl::DocTools" -e "UpdateHTML_blib(inst +alldirs => "site")" rem C:\Perl\bin\perl.exe -MExtUtils::Install -e "install([ from_to => {@AR +GV}, verbo se => '0', uninstall_shadows => '0', dir_mode => '755' ]);" -- \ read C:\Perl\site\lib\auto\DBD\Sybase\.packlist \ write C:\Perl\site\lib\auto\DBD\Sybase\.packlist \ blib\lib C:\Perl\site\lib \ blib\arch C:\Perl\site\lib \ blib\bin C:\Perl\site\bin \ blib\script C:\Perl\site\bin \ blib\man1 C:\Perl\man\man1 \ blib\man3 C:\Perl\man\man3 \ blib\html C:\Perl\html C:\Perl\bin\perl.exe -MExtUtils::Command::MM -e "warn_if_old_packlist" + -- \ C:\Perl\lib\auto\DBD\Sybase rem C:\Perl\bin\perl.exe -l -e "print qq{@ARGV}" -- Appending installation + info to C :\Perl\lib/perllocal.pod C:\Perl\bin\perl.exe -MExtUtils::Command -e "mkpath" -- C:\Perl\lib C:\Perl\bin\perl.exe -MExtUtils::Command::MM -e "perllocal_install" -- + \ "Module" "DBD::Sybase" \ "installed into" "C:\Perl\site\lib" \ LINKTYPE "static" \ VERSION "1.14" \ EXE_FILES "" \ >> C:\Perl\lib\perllocal.pod rem C:\Perl\bin\perl.exe "-MActivePerl::DocTools" -e ActivePerl::DocTools: +:WriteTOC rem C:\Perl\site\lib\DBD>

    Is this what you were looking for? I am running dmake on Windows XP. Should I run nmake or some other 'make'? Thanks very much!!

      I am not sure. You are using dmake with ActivePerl. I dont have experience with that. I believe makemaker needs to be informed whether to create dmake or nmake makefiles. I dont know how to do that. Did you do a dmake clean before the dmake -n install? You are missing a large amount of commands from the -n output.

        Do you see ActivePerl::DocTools? ActiveState does that by patching MakeMaker.pm and Config.pm, so if you did ppm install MinGW dmake ought to work out of the box