|Perl Monk, Perl Meditation|
Giving LDFLAGS to a module which has no configureby adamsj (Hermit)
|on Apr 26, 2012 at 13:48 UTC||Need Help??|
adamsj has asked for the
wisdom of the Perl Monks concerning the following question:
I've been mostly away from Perl work (as opposed to Perl use) the last few years, and I've hit a problem that I'm having trouble researching. I'd expected some answers in perlmod and perlmodinstall but didn't get them.
When installing modules, I'm used to passing in things like LDFLAGS via configure.
Today I'm working on installing DBD::Oracle on a machine with some unusual locations for things, and I'd like to do just that, but to my surprise, there's no configure file.
Obviously (unless I'm wrong), I'm going to have to play with Makefile.PL1, but I've yet to find out how to do so. If the answer is simply "read the damned thing", I can do that, but I assume there's some other way.
Any pointers to doing so would be gratefully received.
1Ever tried to search for information on Makefile.PL? You find information about its various locations repeatedly, but very little information about how to use it or modify it. I blame Google.
They laughed at Joan of Arc, but she went right ahead and built it. --Gracie Allen