openkore icon indicating copy to clipboard operation
openkore copied to clipboard

Compile perl 5.22

Open ya4ept opened this issue 4 years ago • 21 comments

this pull request - continues #2855:

https://www.activestate.com/blog/faqs/what-is-the-status-of-perl-dev-kit-and-activeperl-pro-studio/ ActiveState will not be updating PDK to work with versions of ActivePerl newer than 5.22.

Trying to compile openkore to use perl 5.22 We need:

  • [x] compile start.exe
  • [ ] compile wxstart.exe
  • [x] compile XSTools.dll
  • [x] compile NetRedirect.dll
  • [ ] change logo ??
  • [ ] change dll version number?

I use:

  • Windows 10 x32
  • ActivePerl-5.22.1.2201-MSWin32-x86-64int-299574
  • ActiveState.Perl.Dev.Kit.Pro.v9.5.1.300018.x86

Unresolved issues:

  1. XSTools.dll and NetRedirect.dll compiled with ActivePerl-5.22 - not working. We can compile them using Strawberry Perl.
  2. Compiled wxstart.exe - does not work

ya4ept avatar Feb 23 '21 22:02 ya4ept

now only miss to update the dlls based in pathfind and compile a wxstart

alisonrag avatar Feb 26 '21 15:02 alisonrag

now only miss to update the dlls based in pathfind and compile a wxstart

why?

ya4ept avatar Feb 26 '21 20:02 ya4ept

now only miss to update the dlls based in pathfind and compile a wxstart

why?

the dlls from pull request dont use the new pathfind algo, also they are not compiled using the libflag so exes dont work if perl is not installed

alisonrag avatar Feb 27 '21 01:02 alisonrag

I propose to add russian encode to start.exe: #2600

ya4ept avatar Mar 05 '21 22:03 ya4ept

I propose to add russian encode to start.exe: #2600

seems ok to me, we need to check if the following encodes are in start.exe: China - suported by encode::HanExtra Russia - ?? Thailand - ??

alisonrag avatar Mar 05 '21 22:03 alisonrag

wx still running after close: https://metacpan.org/pod/Wx::Perl::Packager#For-PerlApp-on-MS-Windows

alisonrag avatar Mar 06 '21 00:03 alisonrag

  1. Just run wxstart.exe and press the right button

изображение

Top menu also doesn't work

  1. the quit command does not work изображение

изображение

ya4ept avatar Mar 06 '21 10:03 ya4ept

seems ok to me, we need to check if the following encodes are in start.exe: Russia - ??

  1. sys.txt : locale en start.exe: изображение

  2. sys.txt : locale en wsstart.exe: изображение

  3. sys.txt : locale ru start.exe: изображение

  4. sys.txt : locale ru wxstart.exe: изображение

ya4ept avatar Mar 06 '21 10:03 ya4ept

thanks for the test, i will see what i can do

alisonrag avatar Mar 06 '21 16:03 alisonrag

assert error in inventoryList after quit command shoud be fixed

alisonrag avatar Mar 07 '21 04:03 alisonrag

fix language in wx

nothing changed

ya4ept avatar Mar 07 '21 16:03 ya4ept

The first press of the right button still shows an error: изображение

the second press already shows the menu without errors

ya4ept avatar Mar 08 '21 11:03 ya4ept

@alisonrag can you find a way to add a monospaced font to wxstart?

ya4ept avatar Mar 08 '21 12:03 ya4ept

I suggest doing a rebase onto master for testing new github actions

ya4ept avatar Mar 09 '21 07:03 ya4ept

I suggest doing a rebase onto master for testing new github actions

Seems ok to me, can merge master

alisonrag avatar Mar 09 '21 13:03 alisonrag

@alisonrag can you run start.exe and close the window with a cross? I get an error: изображение or изображение

ya4ept avatar Mar 11 '21 22:03 ya4ept

sorry i'm kind afk these days, maybe we will need to update deps/base

alisonrag avatar Mar 12 '21 18:03 alisonrag

@ya4ept can u test language in wx? my test: image

alisonrag avatar Mar 25 '21 02:03 alisonrag

here after last start update i can close in cross can u test this too?

alisonrag avatar Mar 25 '21 02:03 alisonrag

@ya4ept can u test language in wx? my test:

there have never been any problems in displaying the Russian interface. There is a problem when you receive an error connecting to a non-existent server. Error encoding does not match console encoding

here after last start update i can close in cross can u test this too?

  1. When i close start.exe i get the following error and the wxstart.exe process remains hanging in the task manager: изображение
  2. When i close wxstart.exe i get the following error: изображение many errors appear in the windows application log, for example::
Контейнер ошибки 1524974634115573870, тип 1
Имя события: APPCRASH
Отклик: Нет данных
Идентификатор CAB: 0

Сигнатура проблемы:
P1: wxstart.exe
P2: 0.0.0.0
P3: 56b2a45b
P4: libgcc_s_dw2-1.dll
P5: 0.0.0.0
P6: 5ea42cb8
P7: c0000005
P8: 00014f00
P9: 
P10: 

Вложенные файлы:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9448.tmp.WERInternalMetadata.xml

Эти файлы можно найти здесь:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_wxstart.exe_615836773ce9d2ffc43c650eb58ceda15658d_664c10dc_4df9809a-3021-4d68-a090-e232d887c059

Символ анализа: 
Повторный поиск решения: 0
Идентификатор отчета: 26222996-f86a-4b02-a2e1-89432464181b
Состояние отчета: 268435456
Хэшированный контейнер: f4230f58d48d39840529cc599df0a86e
Идентификатор GUID CAB: 0

ya4ept avatar Mar 28 '21 22:03 ya4ept

How can I help on this one?

vutung2311 avatar Jul 18 '21 02:07 vutung2311

continue in #3611

alisonrag avatar Aug 23 '22 21:08 alisonrag