Post-install script
by Sisyphus other posts by this author
May 24 2008 12:30AM messages near this date
view in the new Beta List Site
is out of the office.
|
RE: Post-install script
Hi,
When PDL is built from source, 'make install' does the following:
1) Firstly it installs the files - nothing unusual about that;
2) It then runs a perl script (scantree.pl) that generates some
documentation files (eg pdldoc.db) for the perldl shell.
If PDL is installed using PPM, then that second step is currently not
performed - and the perldl shell cannot access that documentation. Attempts
to access the documentation at the perldl prompt result in an error message
that pdldoc.db could not be found. (Hardly surprising since pdldoc.db didn't
get built.)
So ... I need to:
1) Include scantree.pl in the ppm package. (Or does it need to be stored as
a separate file on the ppm server ?)
2) After the PDL files have been installed by 'ppm install', run 'perl
scantree.pl'.
Can this be handled automatically by the ppd file ?
Is there an example somewhere of a ppd file that runs a perl script (post
installation) on the ppm client machine ?
I'm more or less familiar with post-install scripts that are run on the ppm
server, but in this instance, uim, the post-install script needs to be run
on the ppm client.
Cheers,
Rob
_______________________________________________
PPM mailing list
PPM@[...].com
http://listserv.ActiveState.com/mailman/listinfo/ppm
Thread:
Sisyphus
Jan Dubois
Sisyphus
|