[Pharo-project] Problem with Arch Linux and Cog

Schwab,Wilhelm K bschwab at anest.ufl.edu
Thu Jan 12 21:08:28 CET 2012


I didn't want to presume to tutor you on what might be basics to you.  With lots of "jumping in at the deep end" and no small amount of help from people like Nick, I've come a long way in my understanding of Linux, but I'm still not a master of the art.  If something I said is unclear, feel free to ask.

(1) Partial answer: I am still using 1.1.1 for most work; it runs happily on Ian's VM (http://squeakvm.org/unix/).  It's worth a try.

(2) that's a very good question.  The answer is probably no, but I'd be happy to be shown wrong.  I like Ubuntu, but they offer either chaos (six month releases) or near stagnation (the LTS releases).  Something in between would be nice.  A few years ago, I met some very enthusiastic Mandriva users.  On Ubuntu, a compromise is to use an LTS release and alternate repositories; I recently brought my R installation forward a couple of years using one.  I am not at all happy about Unity/Gnome-3 changes that are brewing, so I am looking for good alternatives.

Re your current situation, I do not argue with those saying that binaries on Linux can be a poor mix.  I do, however, think that library search paths are a VERY likely explanation for your troubles.  Certainly, it should be ruled out as a cause, and the complete absence of related diagnostic information is a red flag.  Silent failures have been a fact of life on Squeak from the early days, and I have never understood why it has been tolerated; we all suffer from it.  Sig's plan to move the search logic into the image would be a huge boost, because we could both adapt it as needed, and (more importantly) see what is happening w/o the need for external tools.

Give strace a try.  *IF* the UUID library is being sought in all the wrong places, a symlink **might** get you going.  I say that because I just went through the exercise on Ubuntu.  Let me know if I can help sort out how to use the tools in question.  Apologies in advance for any time you waste following my advice; but, at a minimum, exploring the failure would give you experience with tools that will be helpful "next time."


From: pharo-project-bounces at lists.gforge.inria.fr [pharo-project-bounces at lists.gforge.inria.fr] on behalf of Robert Sirois [watchlala at hotmail.com]
Sent: Thursday, January 12, 2012 10:11 AM
To: pharo-project at lists.gforge.inria.fr
Subject: Re: [Pharo-project] Problem with Arch Linux and Cog

Thanks for the response (everyone). Wilhelm, I appreciate your confidence in my skills as a programmer ;) but this type of debugging is a little beyond me. I may take this information and have someone locally help me out if possible.

In the meantime, I have two other questions:

1) Is Pharo still deployable on Squeak. I guess for some reason I assumed it was only deployable with a Cog vm now, perhaps I misled myself?
and 2) Are there any distributions of Linux that are true and tested, so to speak, with Pharo/Cog?


From: bschwab at anest.ufl.edu
To: Pharo-project at lists.gforge.inria.fr
Date: Wed, 11 Jan 2012 03:47:05 +0000
Subject: Re: [Pharo-project] Problem with Arch Linux and Cog

You've clearly done the first thing I was going to recommend, which was to run Pharo from a terminal to capture any diagnostic output.

The next step would be strace, which might reveal the vm's thoughts.  Use either the -o option or redirect standard error to a file; strace writes nothing to stdout - you've been warned :)   Once you get the output, it will be verbose, but grep is your friend in that case.  You probably know this, something like

   cat strace-log.txt | grep uuid

could be revealing.  It might show where Cog thinks the library lives.  It's ugly, but if you know where Cog insists on looking, then you can put symlink there and *maybe* get going.  I just hit the problem I am describing (and suspect could be ailing you) on Ubuntu and hacked around it that way. Thanks to Nick for the strace pointer.

If you are not sure if/where the UUID library lives, you can try the locate command, or otherwise scrounge around.  If the library is not on the machine, that might be the problem.



From: pharo-project-bounces at lists.gforge.inria.fr [pharo-project-bounces at lists.gforge.inria.fr] on behalf of Robert Sirois [watchlala at hotmail.com]
Sent: Tuesday, January 10, 2012 10:20 PM
To: pharo-project at lists.gforge.inria.fr
Subject: [Pharo-project] Problem with Arch Linux and Cog

I've been trying to work around this problem, but it can't be ignored now. I've also noticed that any exceptions thrown in the image cause a crash as well.

Was there any solution, or is the solution to not use Arch Linux?

Related to this thread:


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/pharo-project/attachments/20120112/ce13e1ca/attachment.htm>

More information about the Pharo-project mailing list