ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ppm
ppm
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved