escript

3 views
Skip to first unread message

Patrick Hurley

unread,
Oct 2, 2007, 3:49:31 PM10/2/07
to Midwest.erl
After some googling around I see that the way to run erlang programs
from the command line is using escript. But I do not have escript on
my ubuntu machine or my Mac (installed erlang using apt and port
respectively).

Anyone else have escript? if you do, from where did it come?

Thanks
pth

Charles Lowell

unread,
Oct 3, 2007, 9:24:35 AM10/3/07
to midwe...@googlegroups.com
Pat,

My escript came as part of the erlang port:

gandalf:~ cowboyd$ port contents erlang | grep escript
/opt/local/bin/escript
/opt/local/lib/erlang/bin/escript
/opt/local/lib/erlang/erts-5.5.5/bin/escript
/opt/local/lib/erlang/erts-5.5.5/doc/html/escript.html
/opt/local/lib/erlang/lib/stdlib-1.14.5/ebin/escript.beam
/opt/local/lib/erlang/lib/stdlib-1.14.5/src/escript.erl
/opt/local/lib/erlang/man/man1/escript.1
gandalf:~ cowboyd$



Charles Lowell
The Frontside Software


Patrick Hurley

unread,
Oct 3, 2007, 1:33:45 PM10/3/07
to Midwest.erl

On Oct 3, 9:24 am, Charles Lowell <cowb...@thefrontside.net> wrote:
> Pat,
>
> My escript came as part of the erlang port:
>
> gandalf:~ cowboyd$ port contents erlang | grep escript
> /opt/local/bin/escript
> /opt/local/lib/erlang/bin/escript
> /opt/local/lib/erlang/erts-5.5.5/bin/escript
> /opt/local/lib/erlang/erts-5.5.5/doc/html/escript.html
> /opt/local/lib/erlang/lib/stdlib-1.14.5/ebin/escript.beam
> /opt/local/lib/erlang/lib/stdlib-1.14.5/src/escript.erl
> /opt/local/lib/erlang/man/man1/escript.1
> gandalf:~ cowboyd$
>
> Charles Lowell

> cowb...@thefrontside.net
> The Frontside Softwarehttp://thefrontside.net


>
> On Oct 2, 2007, at 3:49 PM, Patrick Hurley wrote:
>
>
>
> > After some googling around I see that the way to run erlang programs
> > from the command line is using escript. But I do not have escript on
> > my ubuntu machine or my Mac (installed erlang using apt and port
> > respectively).
>
> > Anyone else have escript? if you do, from where did it come?
>
> > Thanks
> > pth

Thanks, I had to update my ports -- it had been a while (took a long
time to process :-):

sudo port -v selfupdate
sudo port upgrade outdated

problem solved (at least on my mac), still not right on my Ubuntu box.

pth

Reply all
Reply to author
Forward
0 new messages