Skip to content

Facing a issue while porting Python3 onto serenityOS. #25772

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

Open
hey-sketch opened this issue Mar 9, 2025 · 2 comments
Open

Facing a issue while porting Python3 onto serenityOS. #25772

hey-sketch opened this issue Mar 9, 2025 · 2 comments

Comments

@hey-sketch
Copy link

[ncurses/install] "terminfo.tmp", line 4303, terminal 'mintty': error writing /Users/my-system/Projects/serenity/Build/x86_64/Root/usr/local/share/terminfo/6d/mintty
[ncurses/install] ? tic could not build /Users/my-system/Projects/serenity/Build/x86_64/Root/usr/local/share/terminfo
[ncurses/install] make[1]: *** [install.data] Error 1
[ncurses/install] make: *** [install] Error 2
Error in step ncurses/install (status=2)

First i've executed

$ ./Toolchain/BuildPython.sh

then i've executed:

$ ./packages.sh #Ports/python3/packages.sh

i've installed dependencies like openssl, zlib, libffi.

should i need to install any dependency?

also if possible please share me how to run the Ruby + gcc onto serenity.

@oskar-skog
Copy link
Contributor

I tested this on Debian 13 a couple of weeks ago (but forgot to report back), I didn't experience any issues whatsoever.
Maybe it's a fluke or OS specific? It looks like you're using macOS?

All dependencies are installed automatically by running the ./package.sh in Ports/python3.

I haven't tried Ruby on SerenityOS, but gcc works fine.

@oskar-skog
Copy link
Contributor

oskar-skog commented Apr 21, 2025

Similar issue BobBuildTool/basement#31
It looks like ncurses uses tic from the host OS.

nvm, the installation should fail early if tic is too old.
https://github.com/SerenityOS/serenity/blob/master/Ports/ncurses/package.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants