You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I grabbed the Windows binaries from the Github Actions builds.
I extracted these two files:
lnav.exe
msys-2.0.dll
To this directory: C:\ProgramData\lnav
I looked at properties for the above two files and "Unblocked" them. Then I added C:\ProgramData\lnav to the system PATH environment variable.
In a CMD window, I executed lnav -help so that the executable could create the directory structure it expects for config files under %APPDATA%\.lnav.
The %APPDATA%\.lnav\configs\default and %APPDATA%\.lnav\formats directories were empty, so I copied the files from my macOS directories to the equivalent Windows directories.
However, when I try to open log files using lnav from a CMD shell, a window just flashes open and then disappears.
For anyone that has successfully gotten lnav to run and open log files on Windows, is there any thing that I missed or did incorrectly from the above steps?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I grabbed the Windows binaries from the Github Actions builds.
I extracted these two files:
To this directory:
C:\ProgramData\lnavI looked at properties for the above two files and "Unblocked" them. Then I added
C:\ProgramData\lnavto the systemPATHenvironment variable.In a CMD window, I executed
lnav -helpso that the executable could create the directory structure it expects for config files under%APPDATA%\.lnav.The
%APPDATA%\.lnav\configs\defaultand%APPDATA%\.lnav\formatsdirectories were empty, so I copied the files from my macOS directories to the equivalent Windows directories.However, when I try to open log files using lnav from a CMD shell, a window just flashes open and then disappears.
For anyone that has successfully gotten lnav to run and open log files on Windows, is there any thing that I missed or did incorrectly from the above steps?
Beta Was this translation helpful? Give feedback.
All reactions