New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle correctly situation when $Config{dlext} is not equal to $Config{so} #13717
Comments
From @kmxCreated by kmx@cpan.orgPlease consider the following patch_ --- C:\strawberry_build\build\perl_core\perl-5.19.10\installperl.backup
Sun Oct 20 15:31:29 2013
+++ C:\strawberry_build\build\perl_core\perl-5.19.10\installperl Mon Apr
7 17:45:05 2014
@@ -260,7 +260,7 @@
if ($Is_Cygwin) {
$perldll = $libperl;
} else {
- $perldll = 'perl5'.$Config{patchlevel}.'.'.$dlext;
+ $perldll = 'perl5'.$Config{patchlevel}.'.'.$so;
} It handles correctly the situation when you have for example $Config{dlext} -- Perl Info
|
From @bulk88On Mon Apr 07 13:22:56 2014, kmxx wrote:
And why would there be such a situation (where the 2 are different)? -- |
The RT System itself - Status changed from 'new' to 'open' |
From @kmxOn 8.4.2014 1:35, bulk88 via RT wrote:
For example if you have XS module like Module::Something where I have currently a reported issue related to c:\windows\system32\OpenCL.dll Also troubles with LibXSLT.dll that got fixed by this ugly hack: So it might be better to have $Config{dlext} something like 'xs.dll' -- |
From @sisyphus-----Original Message-----
With PGPLOT we got around (what I think is) the same problem by inserting and then assigning 'xs.dll' to $DynaLoader::dl_dlext in PGPLOT.pm: if($^O =~ /mswin32/i) { See: That was all that was needed to ensure that the dll that gets built during Cheers, |
From @kmxOn 8.4.2014 12:17, Sisyphus via RT wrote:
You are right, on the other hand changing $Config{dlext} could solve it Anyway: 1/ what I suggest in this RT is a simple patch that fixes currently 2/ I am seriously considering to set $Config{dlext} = 'xs.dll' for Those are two issues, in this RT I only want to fix 1/ -- |
From @HugmeirOn Tue, Apr 8, 2014 at 12:48 PM, kmx <kmx@volny.cz> wrote:
This looks like the same issue that Android had regarding library |
From @craigberryOn Tue, Apr 8, 2014 at 6:48 AM, Brian Fraser <fraserbn@gmail.com> wrote:
My thoughts exactly. Fixing the filename by overloading the extension |
From @kmxOn 8.4.2014 13:49, Brian Fraser via RT wrote:
Thanks for the hint, on Windows it produces names like: I'll try to check whether all 300+ modules from CPAN bundled with -- |
From @HugmeirOn Tue, Apr 8, 2014 at 2:34 PM, kmx <kmx@volny.cz> wrote:
Some stuff will fail due to ExtUtils::Depends -- there's a patch in |
From @kmxOn 8.4.2014 14:46, Brian Fraser via RT wrote:
That is funny as even the hack via $Config{dlext} = 'xs.dll' requires -- |
From @LeontOn Tue, Apr 8, 2014 at 12:48 PM, kmx <kmx@volny.cz> wrote:
The two are not equal on pretty much any non-ELF unix, most notably darwin dlext is the extension for a dynamically loadable extension. so is the Leon |
From @kmxOn 8.4.2014 14:46, Brian Fraser via RT wrote:
The patch for ExtUtils::Depends does not work well with Windows + The idea behind your patch was to have (in case of MS Windows): ...\lib\auto\Compress\Raw\Zlib\PL_Compress__Raw__Zlib.dll or: ...\lib\auto\Compress\Raw\Zlib\PL_Compress__Raw__Zlib.dll ? -- |
@kmx did you come to a conclusion on this? |
Strawberry perl uses |
Migrated from rt.perl.org#121593 (status was 'open')
Searchable as RT121593$
The text was updated successfully, but these errors were encountered: