Zalogowany jako: gość

Forum

Wątek: Jak uruchomić Eltena z kodu, krok po kroku

Wróć do listy wątków

2 z 4

Poprzednia
Następna

21 z 63: zywek

rake lib klepnij

26.12.2020 22:38

22 z 63: pajper

Na GitHubie nie ma obecnie najnowszej wersji przez całe zamieszanie konferencyjne, pojawi się na dniach.
#StandWithUkraine Shoot for the Moon. Even if you miss, you'll land among the stars.
26.12.2020 22:39

23 z 63: piter9521

Dawidzie zaktualizuj poradnik i dopisz, że do najnowszej wersji trzeba ruby 3.

10.04.2021 11:46

24 z 63: daszekmdn

A czy jeśli pobrałem kod ze strony GitHuba na dysk i edytuję go w np Notepad PlusPlus potrzebuję Visual studio? Czy starczy mi sam Ruby do kompilacji i uruchomienia?
Wiecie, mam zbyt słaby komputer na VS.

24.05.2021 11:54

25 z 63: pajper

Nie, do kompilacji kodu niestety wymagany jest Visual Studio. I Git, by pobrać zależności.
#StandWithUkraine Shoot for the Moon. Even if you miss, you'll land among the stars.
24.05.2021 11:56

26 z 63: pajper

Chodzi o to, że część niskopoziomowych funkcji Eltena, jak obsługa klawiatury, SAPI, komunikacja z COM i takie tam są napisane w C++.
#StandWithUkraine Shoot for the Moon. Even if you miss, you'll land among the stars.
24.05.2021 11:57

27 z 63: grzezlo

Zainstalowałem zgodnie z tutorialem.
Zaproponowano mi pobranie ruby 3.0.2, więc pobrałem i zainstalowałem.
Następnie przy rake key dostałem info, że wymagana jest wersja 3.0.1.
Zmieniłem to w rakefile.
Rake key się powiodło.
Samo rake niestety nie.
rake aborted!
Fiddle::DLError: Failed to open any of these shared object files: liblzma.so.5, liblzma.so, liblzma.5.dylib, liblzma.dylib, liblzma
<internal:d:/Ruby30/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:160:in `require'
<internal:d:/Ruby30/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:160:in `rescue in require'
<internal:d:/Ruby30/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:149:in `require'
D:/sources/elten/Elten2/rakefile:98:in `block (2 levels) in <top (required)>'
D:/sources/elten/Elten2/rakefile:95:in `each'
D:/sources/elten/Elten2/rakefile:95:in `block in <top (required)>'
D:/sources/elten/Elten2/rakefile:526:in `block in <top (required)>'
D:/sources/elten/Elten2/rakefile:572:in `block in <top (required)>'

Caused by:
LoadError: cannot load such file -- xz


20.09.2021 23:22

28 z 63: pajper

Hmmm, rake powinno to zrobić, ale może jest błąd?
Spróbuj wpisać
gem install ruby-xz
#StandWithUkraine Shoot for the Moon. Even if you miss, you'll land among the stars.
20.09.2021 23:23

29 z 63: pajper

I jeszcze dla pewności, pobrałeś Ruby x86?
#StandWithUkraine Shoot for the Moon. Even if you miss, you'll land among the stars.
20.09.2021 23:24

30 z 63: grzezlo

Tak x86.
Dokładnie:
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [i386-mingw32]

rake próbuje instalować te xz i tak jakby mu się to udaje, a później ten error.
Version 1.0.0 of ruby-xz breaks the API. Read HISTORY.rdoc and adapt your code to the new API.
Successfully installed ruby-xz-1.0.0
Parsing documentation for ruby-xz-1.0.0
Done installing documentation for ruby-xz after 0 seconds
1 gem installed

I później mamy:
d:/Ruby30/lib/ruby/gems/3.0.0/gems/ruby-xz-1.0.0/lib/xz.rb:40: warning: already initialized constant XZ::CHUNK_SIZE
d:/Ruby30/lib/ruby/gems/3.0.0/gems/ruby-xz-1.0.0/lib/xz.rb:40: warning: previous definition of CHUNK_SIZE was here
rake aborted!
Fiddle::DLError: Failed to open any of these shared object files: liblzma.so.5, liblzma.so, liblzma.5.dylib, liblzma.dyl
ib, liblzma
<internal:d:/Ruby30/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:d:/Ruby30/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
D:/sources/elten/Elten2/rakefile:98:in `block (2 levels) in <top (required)>'
D:/sources/elten/Elten2/rakefile:95:in `each'
D:/sources/elten/Elten2/rakefile:95:in `block in <top (required)>'
D:/sources/elten/Elten2/rakefile:526:in `block in <top (required)>'
D:/sources/elten/Elten2/rakefile:572:in `block in <top (required)>'
Tasks: TOP => agent
(See full trace by running task with --trace)



20.09.2021 23:26

31 z 63: pajper

Potwierdzam problem, gdy odpaliłem Rubiego 3.0.2, to wymaga szerszego zbadania.
Wygląda na to, że obecnie wymagany jest Ruby 3.0.1.

Moja wersja: ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [i386-mingw32]
#StandWithUkraine Shoot for the Moon. Even if you miss, you'll land among the stars.
20.09.2021 23:29

32 z 63: grzezlo

Ciekawe czemu chowają bo i na stronie downloads i releases githubowej nie ma do pobrania tej 3.0.1, na szczęście przez odpowiednią modyfikację linka do exeka 3.0.2 udało się pobrać starszą. Właśnie się instaluje.

20.09.2021 23:38

33 z 63: pajper

Ciekaw jestem, czy to rozwiąże problem, czy coś głębszego tam siedzi.
#StandWithUkraine Shoot for the Moon. Even if you miss, you'll land among the stars.
20.09.2021 23:39

34 z 63: grzezlo

I teraz i poprzednio mam przy ridk install: nie można zmienić uprawnień do /dev/shm, permission denied. Może to tu jest coś...

20.09.2021 23:41

35 z 63: grzezlo

Puściłem tę opcję 2 we which components should be installed, czyli msys system update...

20.09.2021 23:43

36 z 63: grzezlo

Niestety, po staremu, tylko się rake o wersję nie czepia. Ale errory o nieznalezionych bibliotekach te same.

20.09.2021 23:51

37 z 63: pajper

Czy istnieje u Ciebie plik c:\ruby30\bin\liblzma.dll?
#StandWithUkraine Shoot for the Moon. Even if you miss, you'll land among the stars.
20.09.2021 23:55

38 z 63: grzezlo

Nie istnieje, instalację mam na d:\ruby30.
Jedyny dll, który w tym folderze znalazłem, to:
D:\Ruby30\bin\msvcrt-ruby300.dll


20.09.2021 23:58

39 z 63: pajper

Bardzo to dziwne. A co się stanie, jak go wrzucisz? W załączniku wersja z mojej instancji.
#StandWithUkraine Shoot for the Moon. Even if you miss, you'll land among the stars.
20.09.2021 23:58

40 z 63: grzezlo

Heh, building native extensions, czyli jakby dalej poszło.

21.09.2021 00:00

Wróć do listy wątków

2 z 4

Poprzednia
Następna

Nawigacja


Copyright (©) 2014-2024, Dawid Pieper