in reply to Re^7: Module::Install hacking
in thread Module::Install hacking
Surely $Config{installsitebin} should be in the path - even if no such directory exists initially.
I'd never even heard of $Config{installsitebin} prior to this discussion. I've no idea where it comes from or who invented it. From a quick google, it appears to be modelled after /usr/sbin, and therefore completely alien to Windows.
I've no idea how I (as an (AS)Perl user) would ever think to add a random directory, that isn't mention anywhere, to my path; especially if it doesn't exist (yet).
As a programmer, I would steadfastly NOT add a non-existent directory to my path. And as a matter of course, I routinely trim my path to containing just those directories that contain things I use.
All I'm doing is having PPM overwrite an existing file (installed by a previous 'ppm install') with an *identical* file.
I agree that needing --force to overwrite identical files is stupid.
But I also think that given that you are incorporating a version into your renamed DLLs, there is no need to use installsitedir. Nor to make the names unrecognisable either.
If you renamed your package-attached version of libgcc_s_dw2_1.dll to libgcc_s_dw2_1.nnn.dll, I think that they could all (libgcc_s_dw2_1.dll; libgcc_s_dw2_1.463.dll; libgcc_s_dw2_1.471.dll etc.) be put into perl\bin and coexist there without conflict, and without needing the extra directory or further additions to the path.
But, having failed to make the SxS thing work -- though I'm pretty certain I did when I first investigated the issue 3 or 4 years -- I'm not suggesting you pursue this any further. In fact, I strongly recommend against it on the basis that I have no desire to send you down any further dead ends.
But still the nagging doubt that what you have now, is repeating the mistakes of the past, persists. But I can live with that.
So, once again, sorry for the misdirection; I hope that overall I helped more than hindered.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^9: Module::Install hacking
by syphilis (Archbishop) on Sep 15, 2012 at 03:44 UTC | |
by BrowserUk (Patriarch) on Sep 15, 2012 at 04:35 UTC | |
by bulk88 (Priest) on Sep 15, 2012 at 05:50 UTC | |
by BrowserUk (Patriarch) on Sep 15, 2012 at 07:48 UTC | |
by BrowserUk (Patriarch) on Sep 15, 2012 at 07:09 UTC |