J
jill
I am trying to package a CGI script and associated modules so that
they can be installed using Perl's standard sequence (perl Makefile.PL
&& make && make test && make install).
My installation has some non-standard (although not at all tricky)
features, and I can't figure out how to coax MakeMaker into generating
the right makefile.
(Is it just me, or the documentation for the ExtUtils modules is
far below average for widely used Perl modules? Is there a better
guide to MakeMaker, etc. than the standard documentation. I have
spent many days on this, and I'm about to go nuts. My many posts
on this are a record of my frustration. I have searched *everywhere*
for clarifications on what MakeMaker does, to no avail. The
ExtUtils::ManMaker man page is useless. What is the directory auto
for? What is the file autosplit.ix? Why does MakeMaker generate
the particular directory structure it generates by default? I have
dozens of questions like this, but there's no information anywhere!
What is a developer supposed to do? No wonder managers prefer
Java! But I digress...)
OK, here's the installation structure I'm trying to achieve
(directories are indicated with trailing slashes):
PATH_TO_CGI_DIR/
INSTALL_DIR/
cgi_script.pl
Module_1.pm
Module_1/
Submodule_1.pm (Module_1::Submodule_1 package)
Submodule_2.pm (Module_1::Submodule_2 package)
Module_2.pm
i386-linux/
Module_3.pm
auto/
Module_3/
Module_3.bs
Module_3.so
autosplit.ix
data_dir/
data_file_1
data_file_2
data_subdir_1/
data_file_3
cgi_script.pl uses Module_1, Module_1::Submodule_1, Module_1::Submodule_2,
Module_2, and Module_3 (which is a Perl extension).
The user is supposed to specify the value for PATH_TO_CGI_DIR/INSTALL_DIR,
e.g.:
perl Makefile.PL LIB=${PATH_TO_CGI_DIR}/${INSTALL_DIR}
Could someone be so kind as to tell me what I must put in Makefile.PL
that will result in the above structure?
Many, many thanks!
jill
they can be installed using Perl's standard sequence (perl Makefile.PL
&& make && make test && make install).
My installation has some non-standard (although not at all tricky)
features, and I can't figure out how to coax MakeMaker into generating
the right makefile.
(Is it just me, or the documentation for the ExtUtils modules is
far below average for widely used Perl modules? Is there a better
guide to MakeMaker, etc. than the standard documentation. I have
spent many days on this, and I'm about to go nuts. My many posts
on this are a record of my frustration. I have searched *everywhere*
for clarifications on what MakeMaker does, to no avail. The
ExtUtils::ManMaker man page is useless. What is the directory auto
for? What is the file autosplit.ix? Why does MakeMaker generate
the particular directory structure it generates by default? I have
dozens of questions like this, but there's no information anywhere!
What is a developer supposed to do? No wonder managers prefer
Java! But I digress...)
OK, here's the installation structure I'm trying to achieve
(directories are indicated with trailing slashes):
PATH_TO_CGI_DIR/
INSTALL_DIR/
cgi_script.pl
Module_1.pm
Module_1/
Submodule_1.pm (Module_1::Submodule_1 package)
Submodule_2.pm (Module_1::Submodule_2 package)
Module_2.pm
i386-linux/
Module_3.pm
auto/
Module_3/
Module_3.bs
Module_3.so
autosplit.ix
data_dir/
data_file_1
data_file_2
data_subdir_1/
data_file_3
cgi_script.pl uses Module_1, Module_1::Submodule_1, Module_1::Submodule_2,
Module_2, and Module_3 (which is a Perl extension).
The user is supposed to specify the value for PATH_TO_CGI_DIR/INSTALL_DIR,
e.g.:
perl Makefile.PL LIB=${PATH_TO_CGI_DIR}/${INSTALL_DIR}
Could someone be so kind as to tell me what I must put in Makefile.PL
that will result in the above structure?
Many, many thanks!
jill