Re: [Pharo-users] I can't run Pharo5 on Linux Ubuntu 14.04.4 LTS
--- Begin Message --- Hi Brad Headless. On prompt I wrote: ./pharo5.0/bin/pharo MyImage.image eval "Stdio stdout << 'Hello,World'" The "issue" was in the script included in http://files.pharo.org/platform/Pharo5.0-linux.zip Davide Brad Selfridge wrote > Are you trying to use Pharo headless or with the IDE? -- View this message in context: http://forum.world.st/I-can-t-run-Pharo5-on-Linux-Ubuntu-14-04-4-LTS-tp4909028p4909231.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. --- End Message ---
Re: [Pharo-users] Launching Pharo 4 image in new Pharo 5 Launcher fails
On Tue, Aug 2, 2016 at 10:50 PM, Brad Selfridge wrote: > I've downloaded and installed the new Pharo 5 One Click environment. I've > also downloaded the new Pharo 5 Launcher. I can build and run a Pharo 5 > image from the launcher, but when I build or try to open a Pharo 4 image the > launcher just goes away and the dev image is not opened. > > I suspect that I'm dealing with a missing VM issue, but I'm not sure. Can > someone guide me on this issue? The Image file format changed to Spur for Pharo 5, so a different VM is required for Pharo 4 and Pharo 5. You will need to download Pharo4 VM separately and specify its path it under PharoLauncher settings. Just for completeness, could you detail where from you downloaded Pharo 5 and PharoLauncher. cheers -ben
Re: [Pharo-users] Script to migrate all mcz packages to git?
On Tue, Aug 2, 2016 at 1:23 PM, Peter Uhnak wrote: > At the time of the (post) writing it did preserve commit dates, but there > was no metadata-less yet. > > In any case, I don't see a reason why it shouldn't preserve commit dates > with metadata-less — it goes mcz by mcz and recommits it with given date, > no? > Yes, Peter is right, it can be done. I intend to build a migration into the next version of Iceberg, I will pay attention on keeping date/authors.
Re: [Pharo-users] Script to migrate all mcz packages to git?
On Tue, Aug 2, 2016 at 9:07 PM, Thierry Goubier wrote: > Le 02/08/2016 à 13:23, Peter Uhnak a écrit : > >> On Tue, Aug 02, 2016 at 01:04:10PM +0200, Nicolas Passerini wrote: >> >>> There is this script from Peter Uhnak >>> >>> https://www.peteruhnak.com/blog/2016/03/02/moving-project-from-smalltalkhub-to-github/#Copying-repository >>> >>> but it will not be able to preserve commit date. >>> >> >> At the time of the (post) writing it did preserve commit dates, but there >> was no metadata-less yet. >> >> In any case, I don't see a reason why it shouldn't preserve commit dates >> with metadata-less — it goes mcz by mcz and recommits it with given date, >> no? >> > > No it doesn't set the commit date. I'm not even sure git would allow you > to set commit dates in the past, but I may be wrong (this is probably what > git-cvs does). > git doesn't prohibit modification of history in any way, so you can do whatever you want. In fact this is how gitfiletree DID behave when I was moving last year, but I don't know whether this particular change was removed, or never integrated (i.e. just my local change). I did make mention of date when I was moving to Git http://forum.world.st/moving-to-git-and-preserving-monticello-history-td4806386.html#a4806611 Peter
Re: [Pharo-users] Script to migrate all mcz packages to git?
Holger, It looks like Frank Shearar tackled this problem a while ago[1]. His solution is based on using gitocello[2], but it could possibly be adapted for GitFileTree ... Thierry would be able to tell ... Dale [1] http://www.lshift.net/blog/2012/08/20/monticello-git/ [2] https://github.com/timfel/gitocello On 08/02/2016 03:10 AM, Holger Freyther wrote: Hi, I think I have seen something but can't find it right now. I would like to move to git but preserve the history (and my commit messages and the commit date/time). Is there a script that goes through all versions of a package and copies them to git repository? Will it be able to preserve the original commit date? thank you holger
Re: [Pharo-users] Script to migrate all mcz packages to git?
Le 02/08/2016 à 13:23, Peter Uhnak a écrit : On Tue, Aug 02, 2016 at 01:04:10PM +0200, Nicolas Passerini wrote: There is this script from Peter Uhnak https://www.peteruhnak.com/blog/2016/03/02/moving-project-from-smalltalkhub-to-github/#Copying-repository but it will not be able to preserve commit date. At the time of the (post) writing it did preserve commit dates, but there was no metadata-less yet. In any case, I don't see a reason why it shouldn't preserve commit dates with metadata-less — it goes mcz by mcz and recommits it with given date, no? No it doesn't set the commit date. I'm not even sure git would allow you to set commit dates in the past, but I may be wrong (this is probably what git-cvs does). I'd say that the procedure is to make a copy on a metadata-full repository, to preserve all versions (for archeology), and then now or later switch the repository to metadata-less mode. GitFileTree has an api for carrying over a committer name in a mcz to an author name into git, by preloading a map of mcz author -> git author. Thierry Peter Preserving commit dates... I think it could only be possible in metadata-ful git repositories, which I would not recommend. On Tue, Aug 2, 2016 at 12:10 PM, Holger Freyther wrote: Hi, I think I have seen something but can't find it right now. I would like to move to git but preserve the history (and my commit messages and the commit date/time). Is there a script that goes through all versions of a package and copies them to git repository? Will it be able to preserve the original commit date? thank you holger
Re: [Pharo-users] I can't run Pharo5 on Linux Ubuntu 14.04.4 LTS
Are you trying to use Pharo headless or with the IDE? - Brad Selfridge -- View this message in context: http://forum.world.st/I-can-t-run-Pharo5-on-Linux-Ubuntu-14-04-4-LTS-tp4909028p4909192.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Re: [Pharo-users] I can't run Pharo5 on Linux Ubuntu 14.04.4 LTS
--- Begin Message --- Thanks Sven, you are right, curling get.pharo.org/50+vm does not give any problem. The issue isn't related to the libraries but it depends on http://files.pharo.org/platform/Pharo5.0-linux.zip After unzipping the file, it extracts a script "pharo" that contains: #!/usr/bin/env bash # path DIR=`readlink -f $0` #resolve symlink ROOT=`dirname "$DIR"` #obtain dir of the resolved path LINUX="$ROOT/bin" RESOURCES="$ROOT/shared" ICONS="$ROOT/icons" # icon (note: gvfs-set-attribute is found in gvfs-bin on Ubuntu # systems and it seems to require an absolute filename) gvfs-set-attribute \ "$0" \ "metadata::custom-icon" \ "file://$ICONS/Pharo.png" \ 2> /dev/null # zenity is part of GNOME image_count=`ls "$RESOURCES"/*.image 2>/dev/null |wc -l` if [ "$1" == "" ]; then if which zenity &>/dev/null && [ "$image_count" -ne 1 ]; then image=`zenity --title 'Select an image' --file-selection --filename "$RESOURCES/" --file-filter '*.image' --file-filter '*'` else image="$RESOURCES/Pharo5.0.image" fi else image=$* fi # execute exec "$LINUX/pharo" \ --plugins "$LINUX" \ --encoding utf8 \ -vm-display-X11 \ "$image" As you can see the last command executes the image with the vm-display-X11 and so the error when I try ./pharo Pharo.image eval "Stdio stdout << 'Hello,World!'" (from Pharo home page: http://pharo.org) Sorry to have annoyed the list. Davide Sven Van Caekenberghe-2 wrote > Davide, > > It certainly works headless: > > $ cat /etc/issue > Ubuntu 14.04.4 LTS \n \l > > $ mkdir pharo5 > > $ cd pharo5 > > $ curl get.pharo.org/50+vm | bash > % Total% Received % Xferd Average Speed TimeTime Time > Current > Dload Upload Total SpentLeft > Speed > 100 2901 100 29010 0 29640 0 --:--:-- --:--:-- --:--:-- > 29907 > Downloading the latest 50 Image: > http://files.pharo.org/get-files/50/pharo.zip > Pharo.image > Downloading the latest pharoVM: > http://files.pharo.org/get-files/50/pharo-linux-stable.zip > pharo-vm/pharo > Downloading PharoV50.sources: > http://files.pharo.org/get-files/50/sources.zip > Creating starter scripts pharo and pharo-ui > > $ ./pharo Pharo.image printVersion > [version] 5.0 #50761 > > $ ./pharo Pharo.image eval "Stdio stdout << 'Hello,World'; lf" > Hello,World > StdioStream: 'stdout' > > I always run the following script to install 32-bit dependencies: > > $ cat ubuntu-32bit-support-on-64bit.sh > #!/bin/bash > sudo dpkg --add-architecture i386 > sudo apt-get update > sudo apt-get install libc6:i386 > sudo apt-get install libssl1.0.0:i386 > sudo apt-get install libfreetype6:i386 > > Which is part of my https://github.com/svenvc/pharo-server-tools project > (still on Pharo 4 though). > > HTH, > > Sven > >> On 02 Aug 2016, at 18:16, Davide Varvello via Pharo-users < > pharo-users@.pharo > > wrote: >> >> >> From: Davide Varvello < > varvello@ > > >> Subject: Re: I can't run Pharo5 on Linux Ubuntu 14.04.4 LTS >> Date: 2 August 2016 at 17:30:58 GMT+2 >> To: > pharo-users@.pharo >> >> >> Hi Brad >> Unfortunately the ia32-libs package is no longer loadable on Ubuntu 14. >> See >> http://pharo.org/gnu-linux-installation >> Davide >> >> >> Brad Selfridge wrote >>> Did you run: >>> >>> sudo apt-get install ia32-libs >>> >>> I have Pharo running on Ubuntu 14.04. There seemed to have been better >>> instructions months ago and specific Ubuntu install ppa's but that >>> changed. Now it's more confusing for those Ubuntu users. >> >> >> >> >> >> -- >> View this message in context: >> http://forum.world.st/I-can-t-run-Pharo5-on-Linux-Ubuntu-14-04-4-LTS-tp4909028p4909176.html >> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. -- View this message in context: http://forum.world.st/I-can-t-run-Pharo5-on-Linux-Ubuntu-14-04-4-LTS-tp4909028p4909187.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. --- End Message ---
Re: [Pharo-users] I can't run Pharo5 on Linux Ubuntu 14.04.4 LTS
Davide, It certainly works headless: $ cat /etc/issue Ubuntu 14.04.4 LTS \n \l $ mkdir pharo5 $ cd pharo5 $ curl get.pharo.org/50+vm | bash % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 100 2901 100 29010 0 29640 0 --:--:-- --:--:-- --:--:-- 29907 Downloading the latest 50 Image: http://files.pharo.org/get-files/50/pharo.zip Pharo.image Downloading the latest pharoVM: http://files.pharo.org/get-files/50/pharo-linux-stable.zip pharo-vm/pharo Downloading PharoV50.sources: http://files.pharo.org/get-files/50/sources.zip Creating starter scripts pharo and pharo-ui $ ./pharo Pharo.image printVersion [version] 5.0 #50761 $ ./pharo Pharo.image eval "Stdio stdout << 'Hello,World'; lf" Hello,World StdioStream: 'stdout' I always run the following script to install 32-bit dependencies: $ cat ubuntu-32bit-support-on-64bit.sh #!/bin/bash sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libc6:i386 sudo apt-get install libssl1.0.0:i386 sudo apt-get install libfreetype6:i386 Which is part of my https://github.com/svenvc/pharo-server-tools project (still on Pharo 4 though). HTH, Sven > On 02 Aug 2016, at 18:16, Davide Varvello via Pharo-users > wrote: > > > From: Davide Varvello > Subject: Re: I can't run Pharo5 on Linux Ubuntu 14.04.4 LTS > Date: 2 August 2016 at 17:30:58 GMT+2 > To: pharo-users@lists.pharo.org > > > Hi Brad > Unfortunately the ia32-libs package is no longer loadable on Ubuntu 14. See > http://pharo.org/gnu-linux-installation > Davide > > > Brad Selfridge wrote >> Did you run: >> >> sudo apt-get install ia32-libs >> >> I have Pharo running on Ubuntu 14.04. There seemed to have been better >> instructions months ago and specific Ubuntu install ppa's but that >> changed. Now it's more confusing for those Ubuntu users. > > > > > > -- > View this message in context: > http://forum.world.st/I-can-t-run-Pharo5-on-Linux-Ubuntu-14-04-4-LTS-tp4909028p4909176.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Re: [Pharo-users] I can't run Pharo5 on Linux Ubuntu 14.04.4 LTS
--- Begin Message --- Hi Brad Unfortunately the ia32-libs package is no longer loadable on Ubuntu 14. See http://pharo.org/gnu-linux-installation Davide Brad Selfridge wrote > Did you run: > > sudo apt-get install ia32-libs > > I have Pharo running on Ubuntu 14.04. There seemed to have been better > instructions months ago and specific Ubuntu install ppa's but that > changed. Now it's more confusing for those Ubuntu users. -- View this message in context: http://forum.world.st/I-can-t-run-Pharo5-on-Linux-Ubuntu-14-04-4-LTS-tp4909028p4909176.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. --- End Message ---
Re: [Pharo-users] I can't run Pharo5 on Linux Ubuntu 14.04.4 LTS
Did you run: sudo apt-get install ia32-libs I have Pharo running on Ubuntu 14.04. There seemed to have been better instructions months ago and specific Ubuntu install ppa's but that changed. Now it's more confusing for those Ubuntu users. - Brad Selfridge -- View this message in context: http://forum.world.st/I-can-t-run-Pharo5-on-Linux-Ubuntu-14-04-4-LTS-tp4909028p4909175.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
[Pharo-users] Launching Pharo 4 image in new Pharo 5 Launcher fails
I've downloaded and installed the new Pharo 5 One Click environment. I've also downloaded the new Pharo 5 Launcher. I can build and run a Pharo 5 image from the launcher, but when I build or try to open a Pharo 4 image the launcher just goes away and the dev image is not opened. I suspect that I'm dealing with a missing VM issue, but I'm not sure. Can someone guide me on this issue? - Brad Selfridge -- View this message in context: http://forum.world.st/Launching-Pharo-4-image-in-new-Pharo-5-Launcher-fails-tp4909173.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
[Pharo-users] State of ZeroMQ bindings and polling
Hi, I wonder if someone is using ZeroMQ with Pharo. Is it in production? How does it work? I specially wonder about the polling integration. Is there some integration? How does it work? h.
Re: [Pharo-users] Script to migrate all mcz packages to git?
On Tue, Aug 02, 2016 at 01:04:10PM +0200, Nicolas Passerini wrote: > There is this script from Peter Uhnak > https://www.peteruhnak.com/blog/2016/03/02/moving-project-from-smalltalkhub-to-github/#Copying-repository > > but it will not be able to preserve commit date. At the time of the (post) writing it did preserve commit dates, but there was no metadata-less yet. In any case, I don't see a reason why it shouldn't preserve commit dates with metadata-less — it goes mcz by mcz and recommits it with given date, no? Peter > > Preserving commit dates... I think it could only be possible in > metadata-ful git repositories, which I would not recommend. > > On Tue, Aug 2, 2016 at 12:10 PM, Holger Freyther wrote: > > > Hi, > > > > I think I have seen something but can't find it right now. I would like to > > move to git but preserve the history (and my commit messages and the commit > > date/time). Is there a script that goes through all versions of a package > > and copies them to git repository? Will it be able to preserve the original > > commit date? > > > > thank you > > holger > >
Re: [Pharo-users] Script to migrate all mcz packages to git?
There is this script from Peter Uhnak https://www.peteruhnak.com/blog/2016/03/02/moving-project-from-smalltalkhub-to-github/#Copying-repository but it will not be able to preserve commit date. Preserving commit dates... I think it could only be possible in metadata-ful git repositories, which I would not recommend. On Tue, Aug 2, 2016 at 12:10 PM, Holger Freyther wrote: > Hi, > > I think I have seen something but can't find it right now. I would like to > move to git but preserve the history (and my commit messages and the commit > date/time). Is there a script that goes through all versions of a package > and copies them to git repository? Will it be able to preserve the original > commit date? > > thank you > holger >
Re: [Pharo-users] I can't run Pharo5 on Linux Ubuntu 14.04.4 LTS
--- Begin Message --- But it does not work Davide Davide Varvello wrote > Thanks Peter, I already checked libx11 with ldd and everything is resolved > > Davide > Peter Uhnak wrote >> On Tue, Aug 02, 2016 at 12:51:12AM -0700, Davide Varvello via Pharo-users >> wrote: >> >> You could try to install pharo from the PPA >> >> sudo add-apt-repository ppa:pharo/stable >> sudo dpkg --add-architecture i386 >> sudo apt-get update >> >> sudo apt-get install pharo-vm-core >> >> I am not sure if it's up to date (I don't use ubuntu), but it should >> download all the necessary libraries. >> >>> > pharo: could not find any display driver >> >> Sounds like the libx11 library hasn't been installed properly. >> >> Try the PPA and then we can think about other options. >> >> Peter -- View this message in context: http://forum.world.st/I-can-t-run-Pharo5-on-Linux-Ubuntu-14-04-4-LTS-tp4909028p4909103.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. --- End Message ---
[Pharo-users] Script to migrate all mcz packages to git?
Hi, I think I have seen something but can't find it right now. I would like to move to git but preserve the history (and my commit messages and the commit date/time). Is there a script that goes through all versions of a package and copies them to git repository? Will it be able to preserve the original commit date? thank you holger
Re: [Pharo-users] I can't run Pharo5 on Linux Ubuntu 14.04.4 LTS
--- Begin Message --- Thanks Peter, I already checked libx11 with ldd and everything is resolved Davide Peter Uhnak wrote > On Tue, Aug 02, 2016 at 12:51:12AM -0700, Davide Varvello via Pharo-users > wrote: > > You could try to install pharo from the PPA > > sudo add-apt-repository ppa:pharo/stable > sudo dpkg --add-architecture i386 > sudo apt-get update > > sudo apt-get install pharo-vm-core > > I am not sure if it's up to date (I don't use ubuntu), but it should > download all the necessary libraries. > >> > pharo: could not find any display driver > > Sounds like the libx11 library hasn't been installed properly. > > Try the PPA and then we can think about other options. > > Peter -- View this message in context: http://forum.world.st/I-can-t-run-Pharo5-on-Linux-Ubuntu-14-04-4-LTS-tp4909028p4909095.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. --- End Message ---
Re: [Pharo-users] I can't run Pharo5 on Linux Ubuntu 14.04.4 LTS
On Tue, Aug 02, 2016 at 12:51:12AM -0700, Davide Varvello via Pharo-users wrote: You could try to install pharo from the PPA sudo add-apt-repository ppa:pharo/stable sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install pharo-vm-core I am not sure if it's up to date (I don't use ubuntu), but it should download all the necessary libraries. > > pharo: could not find any display driver Sounds like the libx11 library hasn't been installed properly. Try the PPA and then we can think about other options. Peter
Re: [Pharo-users] I can't run Pharo5 on Linux Ubuntu 14.04.4 LTS
--- Begin Message --- Nobody? Davide Davide Varvello wrote > Hi guys, > I'm trying to run Pharo5 on Linux Ubuntu 14.04.4 LTS with no luck. > > I downloaded the default GNU/linux zip from > http://pharo.org/gnu-linux-installation > Than I followed the instruction for Debian 8 as suggested: > sudo dpkg --add-architecture i386 > sudo apt-get update > sudo apt-get install libx11-6:i386 > sudo apt-get install libgl1-mesa-glx:i386 > sudo apt-get install libfontconfig1:i386 > sudo apt-get install libssl1.0.0:i386 > > finally I executed > ./pharo5.0/bin/pharo MyImage.image eval "Stdio stdout << 'Hello,World'" > > but the output is: > pharo: could not find any display driver > Aborted > > > Any hint? > TIA > Davide -- View this message in context: http://forum.world.st/I-can-t-run-Pharo5-on-Linux-Ubuntu-14-04-4-LTS-tp4909028p4909085.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. --- End Message ---