> On 12 Jan 2016, at 10:28, Blondeau Vincent <vincent.blond...@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-boun...@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 <s...@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.blond...@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-boun...@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.blond...@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-boun...@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.blond...@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.

Reply via email to