|Don't ask to ask, just ask|
EU::MM again.by BrowserUk (Patriarch)
|on Mar 25, 2009 at 07:12 UTC ( #753039=perlquestion: print w/replies, xml )||Need Help??|
BrowserUk has asked for the wisdom of the Perl Monks concerning the following question:
I've been trying to install DBD::Pg on a 64-bit AS Perl.
Using the makefile.pl generated makefile, the compile works, but the link step fails because it is trying to use the 32-bit libpq.lib.
I've built 64-bit versions of these and succeeded in linking against them manually to produce a DBD::Pg that works, but I cannot work out how to modify the makefile.pl to incorporate the changes.
Essentially all that needs to be done is to change the link step reference from libpq.lib to libpq64.lib, but I'll be damned if I can work out how the makefile.pl picks up/generates the references to libpq.lib.
Can anyone offer pointers?
For a full patch, it would also be necessary to make the generated reference--libpq.lib vs. libpq64.lib--dependant upon the flavour of Perl it is being generated for. Clues how to go about that also appreciated.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
Back to Seekers of Perl Wisdom