pharo-launcher icon indicating copy to clipboard operation
pharo-launcher copied to clipboard

Pharo Launcher in Windows and Linux

Open Ducasse opened this issue 8 years ago • 3 comments

I've encountered some issues with Pharo Launcher in Windows and Linux. First, in Windows 7, upon starting Pharo Launcher, you get this:

primitive #createDirectory: in WindowsStore failed

If you push through and create an image and then try to launch the image, you get this:

primitive #primSize: in MultiByteFileSystem failed

Completely unusable.

Second, in Linux (Manjaro), if you create an image for Pharo 6.1 (stable), and then launch it, you get this:

FT2Error: Freetype2 primitive failed [error -1][can't get error string]

It seems to be usable, though. The issue does not occur with Pharo 6.0.

All of this comes from the latest Pharo download at pharo.org/web/download.

Ducasse avatar Mar 26 '18 18:03 Ducasse

+1

Also try to test default installation to the default directory - this must work! Also - If you do default installation, you can't uninstall Pharo Launcher from Windows. Test it. (Nothing happens after uninstallation).

Screenshots are here: https://twitter.com/smalltalkdev/status/978973863332798464

petr-fischer avatar Mar 28 '18 14:03 petr-fischer

having a similar issue in Windows 10 1803: when I start up Pharo Launcher I get a stdout_488361317 does not exist message. If I click "create a new file" it gives me another error message: #wantsLineEndConversion: was sent to nil. After that, if I click "abandon" and try to start the Pharo 6.1 image it gives me the PrimitiveFailed: primitive #primSize: in MultiByteFileStream failed message. pharo_2018-06-13_12-22-16

TheInitializer avatar Jun 13 '18 16:06 TheInitializer

Ducase Second, in Linux (Manjaro), if you create an image for Pharo 6.1 (stable), and then launch it, you get this:

FT2Error: Freetype2 primitive failed [error -1][can't get error string]

It seems to be usable, though. The issue does not occur with Pharo 6.0.


@Ducase The solution for this second case , at least in my case, was that a library "libfreetype.so.6" was missing:

The terminal output was: 

ioLoadModule(/home/user/Escritorio/my_pharo/pharo-vm/lib/pharo/5.0-201806281256/FT2Plugin.so):
libfreetype.so.6: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory
ioLoadModule(/home/user/Escritorio/my_pharo/pharo-vm/lib/pharo/5.0-201806281256/FT2Plugin.so):
libfreetype.so.6: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory
Freetype2 primitive failed [error -1][can't get error string]

In order to solve this I tried to install it. However, the answer of the system was that I already have it. So, I search and found out that the library that Pharo wants is for a 32bits architecture and the one I had was for a 64bits architecture. In order to do that just run the following comand in the terminal. sudo apt-get install libgtk2.0-0:i386 libidn11:i386 libglu1-mesa:i386

kennyangelfib avatar Sep 23 '20 13:09 kennyangelfib