-
Notifications
You must be signed in to change notification settings - Fork 1
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
strawberry perl 5.36 | doubled directory paths #19
Comments
Commit message parsing by the system was overzealous |
@amlan-sw - can you please try App::PP::Autolink from git master? This is a followup to StrawberryPerl/Perl-Dist-Strawberry#39 (comment) Installation can be done using
|
I'll have to double check the cpanm from github invocation, but you have it working in any case. Can you try the pp_autolink call without all the extra flags? If Tk86.dll is in your path then it will be found and added to the call.
If you are up for some debugging then you could add some print statements within this block to see what it is working with. Check the value of perl-pp-autolink/lib/App/PP/Autolink.pm Lines 536 to 553 in 4b0ff09
It's also a good idea to familiarise yourself with github markdown. It is much easier to copy code snippets from code blocks rather than screenshots. |
I think pp_autolink have problem with XS path from perl\site\lib
try XS module from perl/lib
|
There is an error in the portable shell distributed with the 5.36 dev releases. The Can you try editing your startup script where it sets the path?
|
Although now I have installed Possibly this is due to the strawberry perl build, possibly File::Find. StrawberryPerl/Perl-Dist-Strawberry#88 Either way I'll look into adding more workarounds to future proof pp_autolink. |
This avoids potential issues with File::Find dependent code in perl 5.37 (and strawberry perl 5.36). Updates #19
@amlan-sw - can you try again from latest master? |
still not working
I think you should update $VERSION of your .pm files after every update and publish, so other tester can know if module/app already updated
|
Just checking, but did you run In terms of testing you can also use the code directly without installing it by using the perl script.
This version has yet to be published. |
no, in windows I always use "Download Zip"
must becareful using this, you must set PERL5LIB first to ./lib , and for testing I always check using
thats why every change we must change $VERSION, to know if we use right version before testing |
This library uses rlib so that's not necessary in this case. See also blib for using compiled modules without installing them (e.g. As for the issue, the best way to be sure you have the latest version is to check the code contains the relevant changes, in this case those from 3d2ace9 |
I manage to get hack solution for this doublepath issue,simply just get last path.
I dont know if you want to fix this from pp_autolink side, where in StrawberryPerl 5.32.1.1 pp_autolink work fine And about StrawberryPerl portableshell.bat
I think, you should remove user's %PATH%, I spend few hours to figure out why Alien::wxWidgets not compiling in dev_20230318, and all because my complicated %PATH%, so maybe for portableshell.bat minimal PATH for work:
|
To which line does your hack apply? It would probably also be better to search for two colons in the string in the condition. WRT |
Autolink.pm around line 548 before
|
I've tracked down the source of the issue. Some of the paths from Module::ScanDeps are absolute under SP5.36, where previously they are relative. Presumably something M:SD depends on has caused this change. The location to fix is perl-pp-autolink/lib/App/PP/Autolink.pm Lines 538 to 541 in 90fc91e
|
Version 2.11 includes this change and has been uploaded to CPAN. @amlan-sw - I will close this issue but please let me know if it is still present in 2.11. |
ok fixed test 2.10
test 2.11
|
Thanks for confirming. |
First reported in StrawberryPerl/Perl-Dist-Strawberry#39 (comment)
Looks like some of the path changes in 5.36 need to be accounted for.
The text was updated successfully, but these errors were encountered: