Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
January 2016
- 75 participants
- 1435 messages
Re: [Pharo-dev] Test Runner: "Run Coverage" fails or hangs when multithreading is used in test.
by Skip Lentz
You mean as in it can check the coverage effected by the code running in the other thread?
Or is this not what you mean?
Well I mean, at least it can show the coverage done by what was run in the same thread..
And it will at least not hang or fail.
> On Jan 12, 2016, at 10:59 AM, Sven Van Caekenberghe <sven(a)stfx.eu> wrote:
>
> I never used that, but it seems coverage can only deal with single threaded code, which sounds logical. No ?
>
>> On 12 Jan 2016, at 10:53, Skip Lentz <skip.lentz(a)inria.fr> wrote:
>>
>> Hi,
>>
>> When I want to run the coverage of for example Zincâs Client and Server tests,
>> it will either hang (in the case of Zincâs test cases) or fail because the coverage
>> uses BlockClosure>>valueUnpreemptively for running the tests.
>> The relevant method is TestRunner>>collectCoverageFor:.
>>
>> So when a test is run, it is not able to be preempted by another process, like for
>> example a local server which is needed to run the actual test in Zincâs case.
>>
>> When I use BlockClosure>>valueUninterruptably it works. Can someone tell me
>> if it is wrong to use that instead? Is valueUnpreemptively necessary in this case,
>> and if so, why?
>>
>> To reproduce: Load fresh image, select Zinc's ZnClientTests and ZnServerTests,
>> click on âRun Coverageâ -> hanging image.
>>
>> Thanks,
>>
>> Skip
>
>
Jan. 12, 2016
Re: [Pharo-dev] Morphic Migrations gotchas, was Re: Better class comment version2
by David Allouche
I wonder whether it would be worth reversing this change, to remove an unnecessary incompatibility with other dialects.
But maybe there is no development activity outside of Pharo, that would justify making any effort to maintain compatibility. I do not know.
Practicality beats purity, if cleaning up existing APIs means cutting out Pharo from a wider ecosystem, and introducing painful bitrot, it might not be worth the cost.
> On 11 Jan 2016, at 22:25, Nicolas Cellier <nicolas.cellier.aka.nice(a)gmail.com> wrote:
>
> And it probably won't be integrated in Squeak, because it's not worth the pain.
>
> The change was conducted without analyzing all the impacts, because it was probably not possible to analyze the huge code base.
> (though it would have been possible to instrument code and collect the sender stacks producing degenerated rectangles)
>
> The only motto was to make code more "pure".
> Generally, I tend to be wary...
>
> On the other hand, storing the offsets in a rectangle just because there are 4 edges is sort of hackish usage, so while at cleaning...
>
> 2016-01-11 9:42 GMT+01:00 Stephan Eggermont <stephan(a)stack.nl <mailto:stephan@stack.nl>>:
> On 10-01-16 23:16, Thierry Goubier wrote:
> Hi David,
>
> this is the bug with LayoutFrame>>#fractions:offsets: we were talking
> about relative to that class comment.
>
> In Pharo, Rectangles are constrained to have the smallest vertical value
> as the top, smallest horizontal value as the left, largest vertical
> value as bottom and largest horizontal value as right.
>
> Indeed. And there is no Morphic documentation at all that is aware of that, as nearly all of it was written before we changed the behavior of Rectangle in Pharo, and it is a change that is not done in Squeak. The result is that nearly no old Morphic code will run unmodified in Pharo.
>
> I would like to collect a list of these gotchas, preferably with solutions, to make it easier for people to update/migrate old morphic code. Post them here, or mail them to me.
>
> Stephan
>
>
>
>
>
Jan. 12, 2016
Re: [Pharo-dev] Test Runner: "Run Coverage" fails or hangs when multithreading is used in test.
by Sven Van Caekenberghe
I never used that, but it seems coverage can only deal with single threaded code, which sounds logical. No ?
> On 12 Jan 2016, at 10:53, Skip Lentz <skip.lentz(a)inria.fr> wrote:
>
> Hi,
>
> When I want to run the coverage of for example Zincâs Client and Server tests,
> it will either hang (in the case of Zincâs test cases) or fail because the coverage
> uses BlockClosure>>valueUnpreemptively for running the tests.
> The relevant method is TestRunner>>collectCoverageFor:.
>
> So when a test is run, it is not able to be preempted by another process, like for
> example a local server which is needed to run the actual test in Zincâs case.
>
> When I use BlockClosure>>valueUninterruptably it works. Can someone tell me
> if it is wrong to use that instead? Is valueUnpreemptively necessary in this case,
> and if so, why?
>
> To reproduce: Load fresh image, select Zinc's ZnClientTests and ZnServerTests,
> click on âRun Coverageâ -> hanging image.
>
> Thanks,
>
> Skip
Jan. 12, 2016
Re: [Pharo-dev] Pharo50 spur works on CentOS?
by Sven Van Caekenberghe
> On 12 Jan 2016, at 10:50, Esteban Lorenzano <estebanlm(a)gmail.com> wrote:
>
>
>
>> On 12 Jan 2016, at 10:34, Sven Van Caekenberghe <sven(a)stfx.eu> wrote:
>>
>>
>>> On 12 Jan 2016, at 10:28, Blondeau Vincent <vincent.blondeau(a)worldline.com> wrote:
>>>
>>> Indeed, it works. Thanks!
>>>
>>> But the command line usage is not clear :
>>> ./pharo Pharo.image
>>> Usage: [--no-preferences|--preference-file=<FILE>][<subcommand>] [--help] [--copyright] [--version] [--list] [ --no-quit ]
>>>
>>> Maybe, it can be :
>>> Usage: [--no-preferences|--preference-file=<FILE>][<subcommand>] [--help] [--copyright] [--version] [--list] [ --no-quit ] [<subcommand args>]
>>>
>>> Moreover, an option can usually be placed anywhere on the command line, shouldn't it? Or at least it should raise an error?
>>
>> Yes it is a bit confusion (but you could try to read/understand the Pharo code, it is not very difficult ;-)
>>
>> But the idea is that the sub-command controls its own options (like passing linker options via the compiler to the linker - git also has global and per sub command options, no ?)
>>
>> --no-quit probably also works for the default command ... (I haven't looked), so at that point, the option is consumed already.
>
> No, it doesn't :)
prometheus:pharo5 sven$ ./pharo Pharo.image printVersion
[version] 5.0 #50510
prometheus:pharo5 sven$ ./pharo Pharo.image --no-quit
^C
The last command 'hangs' (i.e. the image keeps running, just as advertised). So the default (Pharo, subclass of BasicCommandHandler) interpreted the --no-quit and acted upon it. No ?
>>
>>> Vincent
>>>
>>>> -----Message d'origine-----
>>>> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part de
>>>> Esteban Lorenzano
>>>> Envoyé : lundi 11 janvier 2016 19:21
>>>> Ã : Pharo Development List
>>>> Objet : Re: [Pharo-dev] Pharo50 spur works on CentOS?
>>>>
>>>>
>>>>> On 11 Jan 2016, at 19:06, Sven Van Caekenberghe <sven(a)stfx.eu> wrote:
>>>>>
>>>>> Is it not ./pharo Pharo.image eval --no-quit 'ZnServer startDefaultOn: 8080'
>>>>>
>>>>> ?
>>>>>
>>>>> I.e. the --no-quit AFTER the eval.
>>>>
>>>> yes, is like that :)
>>>>
>>>>>
>>>>> http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/#runningarealcloudser
>>>>> ver
>>>>>
>>>>>> On 11 Jan 2016, at 18:46, Blondeau Vincent
>>>> <vincent.blondeau(a)worldline.com> wrote:
>>>>>>
>>>>>> The .sources are in the vm folder.
>>>>>>
>>>>>> And, it is working, but without the âno-quit option and this kind of code :
>>>>>> [ZnServer startOn: 8080] fork. (Delay forSeconds: 20) wait
>>>>>>
>>>>>> The âno-quit option seems to have a bad influenceâ¦
>>>>>>
>>>>>> Can you tell me which packages you installed?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Vincent
>>>>>>
>>>>>>
>>>>>> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part
>>>>>> de Mariano Martinez Peck Envoyé : lundi 11 janvier 2016 18:27 à :
>>>>>> Pharo Development List Objet : Re: [Pharo-dev] Pharo50 spur works on
>>>>>> CentOS?
>>>>>>
>>>>>> It does work for me in CentOS.
>>>>>> Are you sure .sources file is in the correct place?
>>>>>>
>>>>>> On Mon, Jan 11, 2016 at 1:55 PM, Blondeau Vincent
>>>> <vincent.blondeau(a)worldline.com> wrote:
>>>>>> Thanks for your answer.
>>>>>>
>>>>>> However, it seems that the server does not start with:
>>>>>> ./pharo -vm-display-null -vm-sound-null Pharo.image --no-quit eval
>>>> "ZnServer startOn: 8080."
>>>>>> Nothing in the terminal and no open port in "netstat -an"
>>>>>>
>>>>>> While, this command is writing something in the terminal:
>>>>>> ./pharo -vm-display-null -vm-sound-null Pharo.image eval "ZnServer
>>>> startOn: 8080."
>>>>>> a ZnManagingMultiThreadedServer(running 8080)
>>>>>>
>>>>>> Vincent
>>>>>>
>>>>>>> -----Message d'origine-----
>>>>>>> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part
>>>>>>> de Sven Van Caekenberghe Envoyé : lundi 11 janvier 2016 17:03 à :
>>>>>>> Pharo Development List Objet : Re: [Pharo-dev] Pharo50 spur works on
>>>>>>> CentOS?
>>>>>>>
>>>>>>>
>>>>>>>>> On 11 Jan 2016, at 16:51, Blondeau Vincent
>>>>>>>> <vincent.blondeau(a)worldline.com> wrote:
>>>>>>>>
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> I just wanted to run a latest Pharo image on a CentOS server to run
>>>>>>>> a Zinc
>>>>>>> server.
>>>>>>>> So I did:
>>>>>>>> curl get.pharo.org/50+vm | bash
>>>>>>>>
>>>>>>>> ./pharo Pharo.image eval â1+1â evals to 2
>>>>>>>>
>>>>>>>> But,
>>>>>>>> ./pharo Pharo.image --no-quit eval "ZnServer startOn: 8080."
>>>>>>>> returns:
>>>>>>>> ioLoadModule(/root/Pharo/pharo-vm/libFT2Plugin.so):
>>>>>>>> libfreetype.so.6: cannot open shared object file: No such file or
>>>>>>>> directory
>>>>>>>>
>>>>>>>> So the server is not launchedâ¦
>>>>>>>>
>>>>>>>> What are the libs that should be installed on the machine? Should I
>>>>>>>> take
>>>>>>> another VM?
>>>>>>>>
>>>>>>>> BTW, why a headless image needs a freetype lib?
>>>>>>>
>>>>>>> Yeah, that should not be the case:
>>>>>>>
>>>>>>> http://forum.world.st/Confused-about-libFT2Plugin-tt4842354.html
>>>>>>>
>>>>>>>> Thanks in advance,
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Vincent Blondeau
>>>>>>
>>>>>>
>>>>>>
>>>>>> Ce message et les pièces jointes sont confidentiels et réservés à l'usage
>>>> exclusif de ses destinataires. Il peut également être protégé par le secret
>>>> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
>>>> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
>>>> pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra
>>>> être recherchée quant au contenu de ce message. Bien que les meilleurs
>>>> efforts soient faits pour maintenir cette transmission exempte de tout virus,
>>>> l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne
>>>> saurait être recherchée pour tout dommage résultant d'un virus transmis.
>>>>>>
>>>>>> This e-mail and the documents attached are confidential and intended
>>>> solely for the addressee; it may also be privileged. If you receive this e-mail
>>>> in error, please notify the sender immediately and destroy it. As its integrity
>>>> cannot be secured on the Internet, the Worldline liability cannot be triggered
>>>> for the message content. Although the sender endeavours to maintain a
>>>> computer virus-free network, the sender does not warrant that this
>>>> transmission is virus-free and will not be liable for any damages resulting
>>>> from any virus transmitted.
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Mariano
>>>>>> http://marianopeck.wordpress.com
>>>>>>
>>>>>>
>>>>>> Ce message et les pièces jointes sont confidentiels et réservés à l'usage
>>>> exclusif de ses destinataires. Il peut également être protégé par le secret
>>>> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
>>>> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
>>>> pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra
>>>> être recherchée quant au contenu de ce message. Bien que les meilleurs
>>>> efforts soient faits pour maintenir cette transmission exempte de tout virus,
>>>> l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne
>>>> saurait être recherchée pour tout dommage résultant d'un virus transmis.
>>>>>>
>>>>>> This e-mail and the documents attached are confidential and intended
>>>> solely for the addressee; it may also be privileged. If you receive this e-mail
>>>> in error, please notify the sender immediately and destroy it. As its integrity
>>>> cannot be secured on the Internet, the Worldline liability cannot be triggered
>>>> for the message content. Although the sender endeavours to maintain a
>>>> computer virus-free network, the sender does not warrant that this
>>>> transmission is virus-free and will not be liable for any damages resulting
>>>> from any virus transmitted.
>>>
>>>
>>>
>>> Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
>>>
>>> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
>>
>>
>
Jan. 12, 2016
Test Runner: "Run Coverage" fails or hangs when multithreading is used in test.
by Skip Lentz
Hi,
When I want to run the coverage of for example Zincâs Client and Server tests,
it will either hang (in the case of Zincâs test cases) or fail because the coverage
uses BlockClosure>>valueUnpreemptively for running the tests.
The relevant method is TestRunner>>collectCoverageFor:.
So when a test is run, it is not able to be preempted by another process, like for
example a local server which is needed to run the actual test in Zincâs case.
When I use BlockClosure>>valueUninterruptably it works. Can someone tell me
if it is wrong to use that instead? Is valueUnpreemptively necessary in this case,
and if so, why?
To reproduce: Load fresh image, select Zinc's ZnClientTests and ZnServerTests,
click on âRun Coverageâ -> hanging image.
Thanks,
Skip
Jan. 12, 2016
Re: [Pharo-dev] Pharo50 spur works on CentOS?
by Esteban Lorenzano
> On 12 Jan 2016, at 10:34, Sven Van Caekenberghe <sven(a)stfx.eu> wrote:
>
>
>> On 12 Jan 2016, at 10:28, Blondeau Vincent <vincent.blondeau(a)worldline.com> wrote:
>>
>> Indeed, it works. Thanks!
>>
>> But the command line usage is not clear :
>> ./pharo Pharo.image
>> Usage: [--no-preferences|--preference-file=<FILE>][<subcommand>] [--help] [--copyright] [--version] [--list] [ --no-quit ]
>>
>> Maybe, it can be :
>> Usage: [--no-preferences|--preference-file=<FILE>][<subcommand>] [--help] [--copyright] [--version] [--list] [ --no-quit ] [<subcommand args>]
>>
>> Moreover, an option can usually be placed anywhere on the command line, shouldn't it? Or at least it should raise an error?
>
> Yes it is a bit confusion (but you could try to read/understand the Pharo code, it is not very difficult ;-)
>
> But the idea is that the sub-command controls its own options (like passing linker options via the compiler to the linker - git also has global and per sub command options, no ?)
>
> --no-quit probably also works for the default command ... (I haven't looked), so at that point, the option is consumed already.
No, it doesn't :)
>
>> Vincent
>>
>>> -----Message d'origine-----
>>> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part de
>>> Esteban Lorenzano
>>> Envoyé : lundi 11 janvier 2016 19:21
>>> Ã : Pharo Development List
>>> Objet : Re: [Pharo-dev] Pharo50 spur works on CentOS?
>>>
>>>
>>>> On 11 Jan 2016, at 19:06, Sven Van Caekenberghe <sven(a)stfx.eu> wrote:
>>>>
>>>> Is it not ./pharo Pharo.image eval --no-quit 'ZnServer startDefaultOn: 8080'
>>>>
>>>> ?
>>>>
>>>> I.e. the --no-quit AFTER the eval.
>>>
>>> yes, is like that :)
>>>
>>>>
>>>> http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/#runningarealcloudser
>>>> ver
>>>>
>>>>> On 11 Jan 2016, at 18:46, Blondeau Vincent
>>> <vincent.blondeau(a)worldline.com> wrote:
>>>>>
>>>>> The .sources are in the vm folder.
>>>>>
>>>>> And, it is working, but without the âno-quit option and this kind of code :
>>>>> [ZnServer startOn: 8080] fork. (Delay forSeconds: 20) wait
>>>>>
>>>>> The âno-quit option seems to have a bad influenceâ¦
>>>>>
>>>>> Can you tell me which packages you installed?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Vincent
>>>>>
>>>>>
>>>>> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part
>>>>> de Mariano Martinez Peck Envoyé : lundi 11 janvier 2016 18:27 à :
>>>>> Pharo Development List Objet : Re: [Pharo-dev] Pharo50 spur works on
>>>>> CentOS?
>>>>>
>>>>> It does work for me in CentOS.
>>>>> Are you sure .sources file is in the correct place?
>>>>>
>>>>> On Mon, Jan 11, 2016 at 1:55 PM, Blondeau Vincent
>>> <vincent.blondeau(a)worldline.com> wrote:
>>>>> Thanks for your answer.
>>>>>
>>>>> However, it seems that the server does not start with:
>>>>> ./pharo -vm-display-null -vm-sound-null Pharo.image --no-quit eval
>>> "ZnServer startOn: 8080."
>>>>> Nothing in the terminal and no open port in "netstat -an"
>>>>>
>>>>> While, this command is writing something in the terminal:
>>>>> ./pharo -vm-display-null -vm-sound-null Pharo.image eval "ZnServer
>>> startOn: 8080."
>>>>> a ZnManagingMultiThreadedServer(running 8080)
>>>>>
>>>>> Vincent
>>>>>
>>>>>> -----Message d'origine-----
>>>>>> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part
>>>>>> de Sven Van Caekenberghe Envoyé : lundi 11 janvier 2016 17:03 à :
>>>>>> Pharo Development List Objet : Re: [Pharo-dev] Pharo50 spur works on
>>>>>> CentOS?
>>>>>>
>>>>>>
>>>>>>>> On 11 Jan 2016, at 16:51, Blondeau Vincent
>>>>>>> <vincent.blondeau(a)worldline.com> wrote:
>>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> I just wanted to run a latest Pharo image on a CentOS server to run
>>>>>>> a Zinc
>>>>>> server.
>>>>>>> So I did:
>>>>>>> curl get.pharo.org/50+vm | bash
>>>>>>>
>>>>>>> ./pharo Pharo.image eval â1+1â evals to 2
>>>>>>>
>>>>>>> But,
>>>>>>> ./pharo Pharo.image --no-quit eval "ZnServer startOn: 8080."
>>>>>>> returns:
>>>>>>> ioLoadModule(/root/Pharo/pharo-vm/libFT2Plugin.so):
>>>>>>> libfreetype.so.6: cannot open shared object file: No such file or
>>>>>>> directory
>>>>>>>
>>>>>>> So the server is not launchedâ¦
>>>>>>>
>>>>>>> What are the libs that should be installed on the machine? Should I
>>>>>>> take
>>>>>> another VM?
>>>>>>>
>>>>>>> BTW, why a headless image needs a freetype lib?
>>>>>>
>>>>>> Yeah, that should not be the case:
>>>>>>
>>>>>> http://forum.world.st/Confused-about-libFT2Plugin-tt4842354.html
>>>>>>
>>>>>>> Thanks in advance,
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Vincent Blondeau
>>>>>
>>>>>
>>>>>
>>>>> Ce message et les pièces jointes sont confidentiels et réservés à l'usage
>>> exclusif de ses destinataires. Il peut également être protégé par le secret
>>> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
>>> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
>>> pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra
>>> être recherchée quant au contenu de ce message. Bien que les meilleurs
>>> efforts soient faits pour maintenir cette transmission exempte de tout virus,
>>> l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne
>>> saurait être recherchée pour tout dommage résultant d'un virus transmis.
>>>>>
>>>>> This e-mail and the documents attached are confidential and intended
>>> solely for the addressee; it may also be privileged. If you receive this e-mail
>>> in error, please notify the sender immediately and destroy it. As its integrity
>>> cannot be secured on the Internet, the Worldline liability cannot be triggered
>>> for the message content. Although the sender endeavours to maintain a
>>> computer virus-free network, the sender does not warrant that this
>>> transmission is virus-free and will not be liable for any damages resulting
>>> from any virus transmitted.
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Mariano
>>>>> http://marianopeck.wordpress.com
>>>>>
>>>>>
>>>>> Ce message et les pièces jointes sont confidentiels et réservés à l'usage
>>> exclusif de ses destinataires. Il peut également être protégé par le secret
>>> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
>>> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
>>> pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra
>>> être recherchée quant au contenu de ce message. Bien que les meilleurs
>>> efforts soient faits pour maintenir cette transmission exempte de tout virus,
>>> l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne
>>> saurait être recherchée pour tout dommage résultant d'un virus transmis.
>>>>>
>>>>> This e-mail and the documents attached are confidential and intended
>>> solely for the addressee; it may also be privileged. If you receive this e-mail
>>> in error, please notify the sender immediately and destroy it. As its integrity
>>> cannot be secured on the Internet, the Worldline liability cannot be triggered
>>> for the message content. Although the sender endeavours to maintain a
>>> computer virus-free network, the sender does not warrant that this
>>> transmission is virus-free and will not be liable for any damages resulting
>>> from any virus transmitted.
>>
>>
>>
>> Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
>>
>> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
>
>
Jan. 12, 2016
Re: [Pharo-dev] Pharo50 spur works on CentOS?
by Esteban Lorenzano
> On 12 Jan 2016, at 10:28, Blondeau Vincent <vincent.blondeau(a)worldline.com> wrote:
>
> Indeed, it works. Thanks!
>
> But the command line usage is not clear :
> ./pharo Pharo.image
> Usage: [--no-preferences|--preference-file=<FILE>][<subcommand>] [--help] [--copyright] [--version] [--list] [ --no-quit ]
>
> Maybe, it can be :
> Usage: [--no-preferences|--preference-file=<FILE>][<subcommand>] [--help] [--copyright] [--version] [--list] [ --no-quit ] [<subcommand args>]
>
> Moreover, an option can usually be placed anywhere on the command line, shouldn't it? Or at least it should raise an error?
No it can't :)
And is hard to show an error, is not always possible (depends on command line handler developer)
Of course it can be enhanced... But it requires time, as always :)
Esteban
>
> Vincent
>
>> -----Message d'origine-----
>> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part de
>> Esteban Lorenzano
>> Envoyé : lundi 11 janvier 2016 19:21
>> Ã : Pharo Development List
>> Objet : Re: [Pharo-dev] Pharo50 spur works on CentOS?
>>
>>
>>> On 11 Jan 2016, at 19:06, Sven Van Caekenberghe <sven(a)stfx.eu> wrote:
>>>
>>> Is it not ./pharo Pharo.image eval --no-quit 'ZnServer startDefaultOn: 8080'
>>>
>>> ?
>>>
>>> I.e. the --no-quit AFTER the eval.
>>
>> yes, is like that :)
>>
>>>
>>> http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/#runningarealcloudser
>>> ver
>>>
>>>> On 11 Jan 2016, at 18:46, Blondeau Vincent
>> <vincent.blondeau(a)worldline.com> wrote:
>>>>
>>>> The .sources are in the vm folder.
>>>>
>>>> And, it is working, but without the âno-quit option and this kind of code :
>>>> [ZnServer startOn: 8080] fork. (Delay forSeconds: 20) wait
>>>>
>>>> The âno-quit option seems to have a bad influenceâ¦
>>>>
>>>> Can you tell me which packages you installed?
>>>>
>>>> Thanks
>>>>
>>>> Vincent
>>>>
>>>>
>>>> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part
>>>> de Mariano Martinez Peck Envoyé : lundi 11 janvier 2016 18:27 à :
>>>> Pharo Development List Objet : Re: [Pharo-dev] Pharo50 spur works on
>>>> CentOS?
>>>>
>>>> It does work for me in CentOS.
>>>> Are you sure .sources file is in the correct place?
>>>>
>>>> On Mon, Jan 11, 2016 at 1:55 PM, Blondeau Vincent
>> <vincent.blondeau(a)worldline.com> wrote:
>>>> Thanks for your answer.
>>>>
>>>> However, it seems that the server does not start with:
>>>> ./pharo -vm-display-null -vm-sound-null Pharo.image --no-quit eval
>> "ZnServer startOn: 8080."
>>>> Nothing in the terminal and no open port in "netstat -an"
>>>>
>>>> While, this command is writing something in the terminal:
>>>> ./pharo -vm-display-null -vm-sound-null Pharo.image eval "ZnServer
>> startOn: 8080."
>>>> a ZnManagingMultiThreadedServer(running 8080)
>>>>
>>>> Vincent
>>>>
>>>>> -----Message d'origine-----
>>>>> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part
>>>>> de Sven Van Caekenberghe Envoyé : lundi 11 janvier 2016 17:03 à :
>>>>> Pharo Development List Objet : Re: [Pharo-dev] Pharo50 spur works on
>>>>> CentOS?
>>>>>
>>>>>
>>>>>>> On 11 Jan 2016, at 16:51, Blondeau Vincent
>>>>>> <vincent.blondeau(a)worldline.com> wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I just wanted to run a latest Pharo image on a CentOS server to run
>>>>>> a Zinc
>>>>> server.
>>>>>> So I did:
>>>>>> curl get.pharo.org/50+vm | bash
>>>>>>
>>>>>> ./pharo Pharo.image eval â1+1â evals to 2
>>>>>>
>>>>>> But,
>>>>>> ./pharo Pharo.image --no-quit eval "ZnServer startOn: 8080."
>>>>>> returns:
>>>>>> ioLoadModule(/root/Pharo/pharo-vm/libFT2Plugin.so):
>>>>>> libfreetype.so.6: cannot open shared object file: No such file or
>>>>>> directory
>>>>>>
>>>>>> So the server is not launchedâ¦
>>>>>>
>>>>>> What are the libs that should be installed on the machine? Should I
>>>>>> take
>>>>> another VM?
>>>>>>
>>>>>> BTW, why a headless image needs a freetype lib?
>>>>>
>>>>> Yeah, that should not be the case:
>>>>>
>>>>> http://forum.world.st/Confused-about-libFT2Plugin-tt4842354.html
>>>>>
>>>>>> Thanks in advance,
>>>>>>
>>>>>> Cheers,
>>>>>> Vincent Blondeau
>>>>
>>>>
>>>>
>>>> Ce message et les pièces jointes sont confidentiels et réservés à l'usage
>> exclusif de ses destinataires. Il peut également être protégé par le secret
>> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
>> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
>> pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra
>> être recherchée quant au contenu de ce message. Bien que les meilleurs
>> efforts soient faits pour maintenir cette transmission exempte de tout virus,
>> l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne
>> saurait être recherchée pour tout dommage résultant d'un virus transmis.
>>>>
>>>> This e-mail and the documents attached are confidential and intended
>> solely for the addressee; it may also be privileged. If you receive this e-mail
>> in error, please notify the sender immediately and destroy it. As its integrity
>> cannot be secured on the Internet, the Worldline liability cannot be triggered
>> for the message content. Although the sender endeavours to maintain a
>> computer virus-free network, the sender does not warrant that this
>> transmission is virus-free and will not be liable for any damages resulting
>> from any virus transmitted.
>>>>
>>>>
>>>>
>>>> --
>>>> Mariano
>>>> http://marianopeck.wordpress.com
>>>>
>>>>
>>>> Ce message et les pièces jointes sont confidentiels et réservés à l'usage
>> exclusif de ses destinataires. Il peut également être protégé par le secret
>> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
>> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
>> pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra
>> être recherchée quant au contenu de ce message. Bien que les meilleurs
>> efforts soient faits pour maintenir cette transmission exempte de tout virus,
>> l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne
>> saurait être recherchée pour tout dommage résultant d'un virus transmis.
>>>>
>>>> This e-mail and the documents attached are confidential and intended
>> solely for the addressee; it may also be privileged. If you receive this e-mail
>> in error, please notify the sender immediately and destroy it. As its integrity
>> cannot be secured on the Internet, the Worldline liability cannot be triggered
>> for the message content. Although the sender endeavours to maintain a
>> computer virus-free network, the sender does not warrant that this
>> transmission is virus-free and will not be liable for any damages resulting
>> from any virus transmitted.
>
>
>
> Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
>
> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
Jan. 12, 2016
Re: [Pharo-dev] Pharo50 spur works on CentOS?
by Esteban Lorenzano
No, because --no-quit option is an option of eval subcommand (is not present for all)
What can be improved is the explanation on how to use the command line, for example:
-list list subcommands
subcommand --help show subcommand help
> On 12 Jan 2016, at 10:28, Blondeau Vincent <vincent.blondeau(a)worldline.com> wrote:
>
> Indeed, it works. Thanks!
>
> But the command line usage is not clear :
> ./pharo Pharo.image
> Usage: [--no-preferences|--preference-file=<FILE>][<subcommand>] [--help] [--copyright] [--version] [--list] [ --no-quit ]
>
> Maybe, it can be :
> Usage: [--no-preferences|--preference-file=<FILE>][<subcommand>] [--help] [--copyright] [--version] [--list] [ --no-quit ] [<subcommand args>]
>
> Moreover, an option can usually be placed anywhere on the command line, shouldn't it? Or at least it should raise an error?
>
> Vincent
>
>> -----Message d'origine-----
>> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part de
>> Esteban Lorenzano
>> Envoyé : lundi 11 janvier 2016 19:21
>> Ã : Pharo Development List
>> Objet : Re: [Pharo-dev] Pharo50 spur works on CentOS?
>>
>>
>>> On 11 Jan 2016, at 19:06, Sven Van Caekenberghe <sven(a)stfx.eu> wrote:
>>>
>>> Is it not ./pharo Pharo.image eval --no-quit 'ZnServer startDefaultOn: 8080'
>>>
>>> ?
>>>
>>> I.e. the --no-quit AFTER the eval.
>>
>> yes, is like that :)
>>
>>>
>>> http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/#runningarealcloudser
>>> ver
>>>
>>>> On 11 Jan 2016, at 18:46, Blondeau Vincent
>> <vincent.blondeau(a)worldline.com> wrote:
>>>>
>>>> The .sources are in the vm folder.
>>>>
>>>> And, it is working, but without the âno-quit option and this kind of code :
>>>> [ZnServer startOn: 8080] fork. (Delay forSeconds: 20) wait
>>>>
>>>> The âno-quit option seems to have a bad influenceâ¦
>>>>
>>>> Can you tell me which packages you installed?
>>>>
>>>> Thanks
>>>>
>>>> Vincent
>>>>
>>>>
>>>> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part
>>>> de Mariano Martinez Peck Envoyé : lundi 11 janvier 2016 18:27 à :
>>>> Pharo Development List Objet : Re: [Pharo-dev] Pharo50 spur works on
>>>> CentOS?
>>>>
>>>> It does work for me in CentOS.
>>>> Are you sure .sources file is in the correct place?
>>>>
>>>> On Mon, Jan 11, 2016 at 1:55 PM, Blondeau Vincent
>> <vincent.blondeau(a)worldline.com> wrote:
>>>> Thanks for your answer.
>>>>
>>>> However, it seems that the server does not start with:
>>>> ./pharo -vm-display-null -vm-sound-null Pharo.image --no-quit eval
>> "ZnServer startOn: 8080."
>>>> Nothing in the terminal and no open port in "netstat -an"
>>>>
>>>> While, this command is writing something in the terminal:
>>>> ./pharo -vm-display-null -vm-sound-null Pharo.image eval "ZnServer
>> startOn: 8080."
>>>> a ZnManagingMultiThreadedServer(running 8080)
>>>>
>>>> Vincent
>>>>
>>>>> -----Message d'origine-----
>>>>> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part
>>>>> de Sven Van Caekenberghe Envoyé : lundi 11 janvier 2016 17:03 à :
>>>>> Pharo Development List Objet : Re: [Pharo-dev] Pharo50 spur works on
>>>>> CentOS?
>>>>>
>>>>>
>>>>>>> On 11 Jan 2016, at 16:51, Blondeau Vincent
>>>>>> <vincent.blondeau(a)worldline.com> wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I just wanted to run a latest Pharo image on a CentOS server to run
>>>>>> a Zinc
>>>>> server.
>>>>>> So I did:
>>>>>> curl get.pharo.org/50+vm | bash
>>>>>>
>>>>>> ./pharo Pharo.image eval â1+1â evals to 2
>>>>>>
>>>>>> But,
>>>>>> ./pharo Pharo.image --no-quit eval "ZnServer startOn: 8080."
>>>>>> returns:
>>>>>> ioLoadModule(/root/Pharo/pharo-vm/libFT2Plugin.so):
>>>>>> libfreetype.so.6: cannot open shared object file: No such file or
>>>>>> directory
>>>>>>
>>>>>> So the server is not launchedâ¦
>>>>>>
>>>>>> What are the libs that should be installed on the machine? Should I
>>>>>> take
>>>>> another VM?
>>>>>>
>>>>>> BTW, why a headless image needs a freetype lib?
>>>>>
>>>>> Yeah, that should not be the case:
>>>>>
>>>>> http://forum.world.st/Confused-about-libFT2Plugin-tt4842354.html
>>>>>
>>>>>> Thanks in advance,
>>>>>>
>>>>>> Cheers,
>>>>>> Vincent Blondeau
>>>>
>>>>
>>>>
>>>> Ce message et les pièces jointes sont confidentiels et réservés à l'usage
>> exclusif de ses destinataires. Il peut également être protégé par le secret
>> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
>> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
>> pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra
>> être recherchée quant au contenu de ce message. Bien que les meilleurs
>> efforts soient faits pour maintenir cette transmission exempte de tout virus,
>> l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne
>> saurait être recherchée pour tout dommage résultant d'un virus transmis.
>>>>
>>>> This e-mail and the documents attached are confidential and intended
>> solely for the addressee; it may also be privileged. If you receive this e-mail
>> in error, please notify the sender immediately and destroy it. As its integrity
>> cannot be secured on the Internet, the Worldline liability cannot be triggered
>> for the message content. Although the sender endeavours to maintain a
>> computer virus-free network, the sender does not warrant that this
>> transmission is virus-free and will not be liable for any damages resulting
>> from any virus transmitted.
>>>>
>>>>
>>>>
>>>> --
>>>> Mariano
>>>> http://marianopeck.wordpress.com
>>>>
>>>>
>>>> Ce message et les pièces jointes sont confidentiels et réservés à l'usage
>> exclusif de ses destinataires. Il peut également être protégé par le secret
>> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
>> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
>> pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra
>> être recherchée quant au contenu de ce message. Bien que les meilleurs
>> efforts soient faits pour maintenir cette transmission exempte de tout virus,
>> l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne
>> saurait être recherchée pour tout dommage résultant d'un virus transmis.
>>>>
>>>> This e-mail and the documents attached are confidential and intended
>> solely for the addressee; it may also be privileged. If you receive this e-mail
>> in error, please notify the sender immediately and destroy it. As its integrity
>> cannot be secured on the Internet, the Worldline liability cannot be triggered
>> for the message content. Although the sender endeavours to maintain a
>> computer virus-free network, the sender does not warrant that this
>> transmission is virus-free and will not be liable for any damages resulting
>> from any virus transmitted.
>
>
>
> Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
>
> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
Jan. 12, 2016
Re: [Pharo-dev] Pharo50 spur works on CentOS?
by Sven Van Caekenberghe
> On 12 Jan 2016, at 10:28, Blondeau Vincent <vincent.blondeau(a)worldline.com> wrote:
>
> Indeed, it works. Thanks!
>
> But the command line usage is not clear :
> ./pharo Pharo.image
> Usage: [--no-preferences|--preference-file=<FILE>][<subcommand>] [--help] [--copyright] [--version] [--list] [ --no-quit ]
>
> Maybe, it can be :
> Usage: [--no-preferences|--preference-file=<FILE>][<subcommand>] [--help] [--copyright] [--version] [--list] [ --no-quit ] [<subcommand args>]
>
> Moreover, an option can usually be placed anywhere on the command line, shouldn't it? Or at least it should raise an error?
Yes it is a bit confusion (but you could try to read/understand the Pharo code, it is not very difficult ;-)
But the idea is that the sub-command controls its own options (like passing linker options via the compiler to the linker - git also has global and per sub command options, no ?)
--no-quit probably also works for the default command ... (I haven't looked), so at that point, the option is consumed already.
> Vincent
>
>> -----Message d'origine-----
>> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part de
>> Esteban Lorenzano
>> Envoyé : lundi 11 janvier 2016 19:21
>> Ã : Pharo Development List
>> Objet : Re: [Pharo-dev] Pharo50 spur works on CentOS?
>>
>>
>>> On 11 Jan 2016, at 19:06, Sven Van Caekenberghe <sven(a)stfx.eu> wrote:
>>>
>>> Is it not ./pharo Pharo.image eval --no-quit 'ZnServer startDefaultOn: 8080'
>>>
>>> ?
>>>
>>> I.e. the --no-quit AFTER the eval.
>>
>> yes, is like that :)
>>
>>>
>>> http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/#runningarealcloudser
>>> ver
>>>
>>>> On 11 Jan 2016, at 18:46, Blondeau Vincent
>> <vincent.blondeau(a)worldline.com> wrote:
>>>>
>>>> The .sources are in the vm folder.
>>>>
>>>> And, it is working, but without the âno-quit option and this kind of code :
>>>> [ZnServer startOn: 8080] fork. (Delay forSeconds: 20) wait
>>>>
>>>> The âno-quit option seems to have a bad influenceâ¦
>>>>
>>>> Can you tell me which packages you installed?
>>>>
>>>> Thanks
>>>>
>>>> Vincent
>>>>
>>>>
>>>> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part
>>>> de Mariano Martinez Peck Envoyé : lundi 11 janvier 2016 18:27 à :
>>>> Pharo Development List Objet : Re: [Pharo-dev] Pharo50 spur works on
>>>> CentOS?
>>>>
>>>> It does work for me in CentOS.
>>>> Are you sure .sources file is in the correct place?
>>>>
>>>> On Mon, Jan 11, 2016 at 1:55 PM, Blondeau Vincent
>> <vincent.blondeau(a)worldline.com> wrote:
>>>> Thanks for your answer.
>>>>
>>>> However, it seems that the server does not start with:
>>>> ./pharo -vm-display-null -vm-sound-null Pharo.image --no-quit eval
>> "ZnServer startOn: 8080."
>>>> Nothing in the terminal and no open port in "netstat -an"
>>>>
>>>> While, this command is writing something in the terminal:
>>>> ./pharo -vm-display-null -vm-sound-null Pharo.image eval "ZnServer
>> startOn: 8080."
>>>> a ZnManagingMultiThreadedServer(running 8080)
>>>>
>>>> Vincent
>>>>
>>>>> -----Message d'origine-----
>>>>> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part
>>>>> de Sven Van Caekenberghe Envoyé : lundi 11 janvier 2016 17:03 à :
>>>>> Pharo Development List Objet : Re: [Pharo-dev] Pharo50 spur works on
>>>>> CentOS?
>>>>>
>>>>>
>>>>>> On 11 Jan 2016, at 16:51, Blondeau Vincent
>>>>> <vincent.blondeau(a)worldline.com> wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I just wanted to run a latest Pharo image on a CentOS server to run
>>>>>> a Zinc
>>>>> server.
>>>>>> So I did:
>>>>>> curl get.pharo.org/50+vm | bash
>>>>>>
>>>>>> ./pharo Pharo.image eval â1+1â evals to 2
>>>>>>
>>>>>> But,
>>>>>> ./pharo Pharo.image --no-quit eval "ZnServer startOn: 8080."
>>>>>> returns:
>>>>>> ioLoadModule(/root/Pharo/pharo-vm/libFT2Plugin.so):
>>>>>> libfreetype.so.6: cannot open shared object file: No such file or
>>>>>> directory
>>>>>>
>>>>>> So the server is not launchedâ¦
>>>>>>
>>>>>> What are the libs that should be installed on the machine? Should I
>>>>>> take
>>>>> another VM?
>>>>>>
>>>>>> BTW, why a headless image needs a freetype lib?
>>>>>
>>>>> Yeah, that should not be the case:
>>>>>
>>>>> http://forum.world.st/Confused-about-libFT2Plugin-tt4842354.html
>>>>>
>>>>>> Thanks in advance,
>>>>>>
>>>>>> Cheers,
>>>>>> Vincent Blondeau
>>>>>>
>>>>>>
>>>>
>>>>
>>>>
>>>> Ce message et les pièces jointes sont confidentiels et réservés à l'usage
>> exclusif de ses destinataires. Il peut également être protégé par le secret
>> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
>> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
>> pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra
>> être recherchée quant au contenu de ce message. Bien que les meilleurs
>> efforts soient faits pour maintenir cette transmission exempte de tout virus,
>> l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne
>> saurait être recherchée pour tout dommage résultant d'un virus transmis.
>>>>
>>>> This e-mail and the documents attached are confidential and intended
>> solely for the addressee; it may also be privileged. If you receive this e-mail
>> in error, please notify the sender immediately and destroy it. As its integrity
>> cannot be secured on the Internet, the Worldline liability cannot be triggered
>> for the message content. Although the sender endeavours to maintain a
>> computer virus-free network, the sender does not warrant that this
>> transmission is virus-free and will not be liable for any damages resulting
>> from any virus transmitted.
>>>>
>>>>
>>>>
>>>> --
>>>> Mariano
>>>> http://marianopeck.wordpress.com
>>>>
>>>>
>>>> Ce message et les pièces jointes sont confidentiels et réservés à l'usage
>> exclusif de ses destinataires. Il peut également être protégé par le secret
>> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
>> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
>> pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra
>> être recherchée quant au contenu de ce message. Bien que les meilleurs
>> efforts soient faits pour maintenir cette transmission exempte de tout virus,
>> l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne
>> saurait être recherchée pour tout dommage résultant d'un virus transmis.
>>>>
>>>> This e-mail and the documents attached are confidential and intended
>> solely for the addressee; it may also be privileged. If you receive this e-mail
>> in error, please notify the sender immediately and destroy it. As its integrity
>> cannot be secured on the Internet, the Worldline liability cannot be triggered
>> for the message content. Although the sender endeavours to maintain a
>> computer virus-free network, the sender does not warrant that this
>> transmission is virus-free and will not be liable for any damages resulting
>> from any virus transmitted.
>>>
>>>
>>
>
>
>
> Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
>
> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
Jan. 12, 2016
Re: [Pharo-dev] Pharo50 spur works on CentOS?
by Blondeau Vincent
Indeed, it works. Thanks!
But the command line usage is not clear :
./pharo Pharo.image
Usage: [--no-preferences|--preference-file=<FILE>][<subcommand>] [--help] [--copyright] [--version] [--list] [ --no-quit ]
Maybe, it can be :
Usage: [--no-preferences|--preference-file=<FILE>][<subcommand>] [--help] [--copyright] [--version] [--list] [ --no-quit ] [<subcommand args>]
Moreover, an option can usually be placed anywhere on the command line, shouldn't it? Or at least it should raise an error?
Vincent
> -----Message d'origine-----
> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part de
> Esteban Lorenzano
> Envoyé : lundi 11 janvier 2016 19:21
> Ã : Pharo Development List
> Objet : Re: [Pharo-dev] Pharo50 spur works on CentOS?
>
>
> > On 11 Jan 2016, at 19:06, Sven Van Caekenberghe <sven(a)stfx.eu> wrote:
> >
> > Is it not ./pharo Pharo.image eval --no-quit 'ZnServer startDefaultOn: 8080'
> >
> > ?
> >
> > I.e. the --no-quit AFTER the eval.
>
> yes, is like that :)
>
> >
> > http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/#runningarealcloudser
> > ver
> >
> >> On 11 Jan 2016, at 18:46, Blondeau Vincent
> <vincent.blondeau(a)worldline.com> wrote:
> >>
> >> The .sources are in the vm folder.
> >>
> >> And, it is working, but without the âno-quit option and this kind of code :
> >> [ZnServer startOn: 8080] fork. (Delay forSeconds: 20) wait
> >>
> >> The âno-quit option seems to have a bad influenceâ¦
> >>
> >> Can you tell me which packages you installed?
> >>
> >> Thanks
> >>
> >> Vincent
> >>
> >>
> >> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part
> >> de Mariano Martinez Peck Envoyé : lundi 11 janvier 2016 18:27 à :
> >> Pharo Development List Objet : Re: [Pharo-dev] Pharo50 spur works on
> >> CentOS?
> >>
> >> It does work for me in CentOS.
> >> Are you sure .sources file is in the correct place?
> >>
> >> On Mon, Jan 11, 2016 at 1:55 PM, Blondeau Vincent
> <vincent.blondeau(a)worldline.com> wrote:
> >> Thanks for your answer.
> >>
> >> However, it seems that the server does not start with:
> >> ./pharo -vm-display-null -vm-sound-null Pharo.image --no-quit eval
> "ZnServer startOn: 8080."
> >> Nothing in the terminal and no open port in "netstat -an"
> >>
> >> While, this command is writing something in the terminal:
> >> ./pharo -vm-display-null -vm-sound-null Pharo.image eval "ZnServer
> startOn: 8080."
> >> a ZnManagingMultiThreadedServer(running 8080)
> >>
> >> Vincent
> >>
> >>> -----Message d'origine-----
> >>> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part
> >>> de Sven Van Caekenberghe Envoyé : lundi 11 janvier 2016 17:03 à :
> >>> Pharo Development List Objet : Re: [Pharo-dev] Pharo50 spur works on
> >>> CentOS?
> >>>
> >>>
> >>>> On 11 Jan 2016, at 16:51, Blondeau Vincent
> >>> <vincent.blondeau(a)worldline.com> wrote:
> >>>>
> >>>> Hello,
> >>>>
> >>>> I just wanted to run a latest Pharo image on a CentOS server to run
> >>>> a Zinc
> >>> server.
> >>>> So I did:
> >>>> curl get.pharo.org/50+vm | bash
> >>>>
> >>>> ./pharo Pharo.image eval â1+1â evals to 2
> >>>>
> >>>> But,
> >>>> ./pharo Pharo.image --no-quit eval "ZnServer startOn: 8080."
> >>>> returns:
> >>>> ioLoadModule(/root/Pharo/pharo-vm/libFT2Plugin.so):
> >>>> libfreetype.so.6: cannot open shared object file: No such file or
> >>>> directory
> >>>>
> >>>> So the server is not launchedâ¦
> >>>>
> >>>> What are the libs that should be installed on the machine? Should I
> >>>> take
> >>> another VM?
> >>>>
> >>>> BTW, why a headless image needs a freetype lib?
> >>>
> >>> Yeah, that should not be the case:
> >>>
> >>> http://forum.world.st/Confused-about-libFT2Plugin-tt4842354.html
> >>>
> >>>> Thanks in advance,
> >>>>
> >>>> Cheers,
> >>>> Vincent Blondeau
> >>>>
> >>>>
> >>
> >>
> >>
> >> Ce message et les pièces jointes sont confidentiels et réservés à l'usage
> exclusif de ses destinataires. Il peut également être protégé par le secret
> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
> pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra
> être recherchée quant au contenu de ce message. Bien que les meilleurs
> efforts soient faits pour maintenir cette transmission exempte de tout virus,
> l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne
> saurait être recherchée pour tout dommage résultant d'un virus transmis.
> >>
> >> This e-mail and the documents attached are confidential and intended
> solely for the addressee; it may also be privileged. If you receive this e-mail
> in error, please notify the sender immediately and destroy it. As its integrity
> cannot be secured on the Internet, the Worldline liability cannot be triggered
> for the message content. Although the sender endeavours to maintain a
> computer virus-free network, the sender does not warrant that this
> transmission is virus-free and will not be liable for any damages resulting
> from any virus transmitted.
> >>
> >>
> >>
> >> --
> >> Mariano
> >> http://marianopeck.wordpress.com
> >>
> >>
> >> Ce message et les pièces jointes sont confidentiels et réservés à l'usage
> exclusif de ses destinataires. Il peut également être protégé par le secret
> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
> pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra
> être recherchée quant au contenu de ce message. Bien que les meilleurs
> efforts soient faits pour maintenir cette transmission exempte de tout virus,
> l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne
> saurait être recherchée pour tout dommage résultant d'un virus transmis.
> >>
> >> This e-mail and the documents attached are confidential and intended
> solely for the addressee; it may also be privileged. If you receive this e-mail
> in error, please notify the sender immediately and destroy it. As its integrity
> cannot be secured on the Internet, the Worldline liability cannot be triggered
> for the message content. Although the sender endeavours to maintain a
> computer virus-free network, the sender does not warrant that this
> transmission is virus-free and will not be liable for any damages resulting
> from any virus transmitted.
> >
> >
>
Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
Jan. 12, 2016