Samual which version of sinan are you using. I supect the 19 series if its 
escript. That has problem has gone away in the latest 20 series. 

El dic 25, 2010, a las 7:13 a.m., Samuel escribió:

> I bumped again into this problem after upgrading erlware in my laptop.
> 
> I see the problem is that sinan escript starts with #!/usr/bin/env
> escript, which isn't necessarily erlware's escript version. Faxien,
> however, looks for erlware's binaries instead of relying on the user's
> PATH. Are there plans or ideas to change this behaviour in sinan so
> that it doesn't depend on the user having erlware's path before other
> otp paths in their PATH search?
> 
> Cheers (and happy Christmas :)
> 
> On 27 October 2010 19:29, Steven Durham <[email protected]> wrote:
>> I'm slowly sorting this out.
>> 
>> I have ubuntu with just the old install, something like 5.7.2 in /usr/bin.
>> However, I think all the stuff I had working was building and running with 
>> only the files in ~/erw/erlware where I had everything installed.
>> 
>> I'm trying to fix the paths and scripts to point to ~/erw/erlware instead.
>> 
>> which escript points to /usr/bin/escript.
>> which sinan I forget where it used to point, but is now pointing to 
>> ~/erw/erlware/bin/sinan, but that is because I'm in the middle of figuring 
>> out how all this is pieced together.
>> 
>> ________________________________________
>> From: [email protected] [[email protected]] On Behalf 
>> Of Eric Merritt [[email protected]]
>> Sent: Wednesday, October 27, 2010 12:29 PM
>> To: [email protected]
>> Subject: Re: sinan issue after clean install of erlware+faxien+sinan
>> 
>> Steve,
>> 
>>  Can you do a `which sinan` and a `which escript` for me?
>> 
>> Eric
>> 
>> El oct 27, 2010, a las 11:07 a.m., Steve Durham escribió:
>> 
>>> $ sinan help
>>> escript: exception error: undefined function sinan:main/1
>>>  in function  erl_eval:local_func/5
>>>  in call from escript:interpret/3
>>>  in call from escript:start/1
>>>  in call from init:start_it/1
>>>  in call from init:start_em/1
>>> 
>>> Any thoughts?
>>> 
>>> BTW, sinan remove-release seems to leave the files in /bin overwritten
>>> and broken.
>>> I did the rollback but am missing files to launch the older version.
>>> 
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "erlware-dev" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to 
>>> [email protected].
>>> For more options, visit this group at 
>>> http://groups.google.com/group/erlware-dev?hl=en.
>>> 
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "erlware-dev" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/erlware-dev?hl=en.
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "erlware-dev" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/erlware-dev?hl=en.
>> 
>> 
> 
> 
> 
> -- 
> Samuel
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "erlware-dev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/erlware-dev?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"erlware-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/erlware-dev?hl=en.

Reply via email to