Hacker News new | past | comments | ask | show | jobs | submit login

Whoa, hold your horses!

Pharo is a modern open source Smalltalk that was derived from Squeak. Nice UI, vibrant ecosystem and community. https://pharo.org/




Instantly was enticed by this, but quickly ran into the depths. I'm on NixOS unstable and I realize this is not ever going to be a well-supported place to be in terms of running random software, but thankfully there are in fact Pharo attributes in nixpkgs. Sadly though, I can't figure out how to use it.

It looks like I want to start with Pharo Launcher, so I've installed the Pharo VM and Pharo Launcher, but when I try to start Pharo Launcher a window pops up and it just exists. All I can see in the terminal is a message about pthread_setschedparam failing, which does not seem fatal.

I wonder whether my problem is with not understanding what I'm doing, or with NixOS, or something in between...


> All I can see in the terminal is a message about pthread_setschedparam failing,

Just spotted this on Cuis smalltalk github page:

"If you get this error message (you won't get it if you run Cuis as root or sudo):

pthread_setschedparam failed: Operation not permitted ...

Then you need to do this (just one time):

sudo cp Cuis-Smalltalk-Dev/squeak.conf /etc/security/limits.d/squeak.conf

Log out and log back in, or reboot the machine."

Might be something similar for pharo?

https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/blob/ma...


Did you try the zip from here? http://pharo.org/download

I'd guess you could get some hints by running ldd on the vm (I'm assuming it's not strictly a static binary).

You need the vm and an image - the launcher I imagine is a vm and just enough image to display a menu and get a "proper" image downloaded.


I have the VM seemingly working through the NixOS package, and if I run the Pharo image downloaded from there, it seems to show a window with nothing on it but a menu item labelled "Pharo" that does nothing.

Perhaps I'm missing something but I doubt the Linux VM download on that page will help me. Ordinary binaries don't tend to run on NixOS without at least some ELF patching due to the Nix store architecture.


Sounds like a ui/x toolkit library mismatch. I've seen similar issues with Java gui apps under Linux (long ago though).


I can’t help you. I sometimes have NixOS running in a VirtualBox container, but don’t have one available right now. Do you have a plain Linux running anywhere, or as a container inside NixOS? Except for occasional font problems, Pharo works fine on Linux.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: