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
Testers needed for Linux binaries #595
Comments
Ubuntu 18.04, the binary install went great. I made a symlink from |
Good to know :) |
p.s. My python knowhow is way to low to even have an opinion on the above. |
This is a bug in python versions before 3.6, should be an easy workaround. Basically versions of python between 3 and 3.5 only used a version of json.loads that could not decode bytes. |
That did the trick
Now I need a newer |
No, a newer freetype, harfbuzz is bundled, freetype is not, because it often has system specific patches. |
Some of this?
|
libfreetype6 |
libfreetype6 backported from sid, still no joy
|
That indicates a problem in your OpenGL stack, the shader compiler is not able to handle OpenGL 3.3 shaders. Updating the drivers should do the trick. |
I'am assuming this is a problem with nvidia blob (really old nvidia card) and switching to nouveau would probably fix that? |
Probably, I dont have any experience with nvidia, though. |
on CentOS 7 the freetype provided comes with the same missing symbol:
My current approach around this is:
It works... It's clunky, what would be the issues of providing a freetype library bundled with kitty? If it's meant to work as a standalone it wouldn't really be affected from the system libraries no? |
FreeType is often patched by distros and fontconfig depends on it which is even more often patched and reads files from various compile time option dependent locations and creates system-wide caches whose format is version dependent. As such they are not suitable for inclusion in a bundle. All you need to do is delete the harfbuzz from the kitty lib dir and kitty should use your system harfbuzz instead which hopefully is new enough (IIRC kity requires harfbuzz >= 1.6 |
Ah, shame CentOS only makes 1.3.2 available - unless I've got privileges that won't change anytime soon. I've left fontconfig alone, I really didn't know that FreeType had those limitations. Until something breaks I'll continue doing the workaround. Thanks! |
I just tried the binary installer on Ubuntu 16.04 and got:
It would be nice if the website could mention systems on which the binary installer is known to not work due to too old system dependencies, so that people don't spend time on this. |
In case you are listening to nh2's advice, I agree. KDE Neon also has this problem. Yes I can go track down a newer freetype or build from source, but.... Update: http://ubuntuhandbook.org/index.php/2017/06/install-freetype-2-8-in-ubuntu-16-04-17-04/ That PPA will get you working. |
Thanks @wd5gnr that fixed it for me too on Ubuntu 16.04 |
Unfortunately http://ubuntuhandbook.org/index.php/2017/06/install-freetype-2-8-in-ubuntu-16-04-17-04/ does not work anymore, the referred ppa has been removed. |
This worked for me on Ubuntu 16.04:
After installing freetype, you can verify the newly installed libs ( There might be a couple locations to softlink the freetype I guess it's worth mentioning since I spent an hour messing around with font hinting until realizing it was actually a totally different font (oops 😅 ) - kitty doesn't default to the system default font. So for Ubuntu, Cheers! |
FWIW, on Debian stretch It looks like things are working after doing:
|
@jberryman this solution of yours works in debian stretch, thanks |
@jberryman Thank you so much! I've struggled to get this working, and now I finally have it! On thing to note, after building harfbuzz, |
This worked, thank you! |
I have made new binary builds of kitty available for Linux (with bundled dependencies), along with a one-liner to install them. See https://sw.kovidgoyal.net/kitty/binary.html for details. This way people wanting to be up-to-date with the latest release version of kitty dont need to build from source.
It would be nice if we could get some testing on different Linux distributions.
P.S. The one-liner works on macOS also, where it simply downloads the dmg and installs it into /Applications auto-magically.
The text was updated successfully, but these errors were encountered: