In order to get all my modules, tests, etc. together I've recently started using
ExtUtils::ModuleBuilder to create my stubs and just develop from there. Since I'm working on code that will eventually go into an appliation, I decided the best thing to do (for now) would be to do the initial coding/testing outside of the webroot for the app, then use the
make install target to put the completed code ( after testing ) into the right place.
My relevant filesystem info:
-- /home/httpd-test/
---- build/
---- port8080/
---- port8090/
and so on.
the module libs, tests, etc. are currently under build/, and i want them to end up in port8080/. i thought i could do this via the following:
perl Makefile.PL \
PREFIX=/home/httpd-test/port8091/www/ \
LIB=plugins
but, when i run
make -n install, i get:
bash-2.05a$ sudo make install
Installing plugins/plugins/ConferenceNameBuilder.pm
Writing plugins/i386-linux/auto/ConferenceNameBuilder/.packlist
Appending installation info to plugins/i386-linux/perllocal.pod
with no mention of prefix ... and the install failed, because the only 'ComferenceNameBuilder.pm' on my system are the ones written for development.
I'd like to pass the right args into perl Makefile.PL, but if making a custom Makefile.PL is the right thing to do, i'll do that.
OR ... if ExtUtils::ModuleBuilder has options that i'm missing, i'll GLADLY use those ...
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.