|laziness, impatience, and hubris|
Building Perl in a Non-standard environmentby comand (Acolyte)
|on Mar 17, 2003 at 17:58 UTC||Need Help??|
comand has asked for the wisdom of the Perl Monks concerning the following question:
I am attempting to set up a Perl build system in a non-writable environment (ClearCase VOB). Basically, I have a set of makefiles that incrementally builds the final distribution from the following pieces:
I build each piece in order, installing into a 'dist' subdirectory, which is not the final installation directory. Confused? I am. All of the packages are built as though the installation will be into /usr/local/lib, /usr/local/perl5, but using makefile trickery or Perl Configure's -Dinstallprefix, things are installed into .../myvob/src/dist/lib, .../myvob/src/dist/perl5.
I can manage to get the libraries and Perl itself to install into this directory structure, and have them *think* they ar e installed in /usr/local. The rub is in getting the CPAN modules to build using the 'dist' version of Perl.
For instance, trying to install Config::IniFiles, I get the following error:
I need the modules to utilize the Perl core stuff from the 'dist' directory, but without building binary dependencies on these paths. This is much the same as the Perl build's -Dprefix vs -Dinstallprefix. I can't figure out how to make Ext::MakeMaker to behave the same way!!!
Any help appreciated.
Edit by tye, change PRE to CODE