LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: Bob Davis Date: Fri Aug 15 15:36:29 2008 Subject: perl5lib
It seems that if PERL5LIB is set then the exe generated from pp doesnt
work on the target client. This happens in particular when oracle is
installed on the client. This was discussed in another thread and it
was suggested that a pp switch be added to ignore PERL5LIB. So I decided
to hack it and found the place in util.c which is under myldr.
Here is patch diff
--- utils.c 2008-08-15 17:08:36.725480000 -0400
+++ ../../PAR-Packer-0.982-sUktas/myldr/utils.c 2008-07-18
09:02:35.000000000 -0400
@@ -229,7 +229,6 @@
par_unsetenv("PAR_PROGNAME");
par_unsetenv("PAR_ARGC");
par_unsetenv("PAR_ARGV_0");
- par_unsetenv("PERL5LIB");
if ( (buf = par_getenv("PAR_GLOBAL_DEBUG")) != NULL ) {
par_setenv("PAR_DEBUG", buf);
| Navigate in group perl.par at sever nntp.perl.org | |
| Previous | Next |
| © No Copyright You are free to use Anything |
Site Maintained by PHP Developer
Powered By PHP Consultants |