List Info

Thread: Compiling/ installing io on Debian Linux




Compiling/ installing io on Debian Linux
country flaguser name
United States
2007-07-24 17:21:37

Hi Folks,

I've just discovered io and am struck by its sleek elegance. As a long-time Forth lover, io appeals to my minimalist tastes, yet seems well positioned for the 21st century.

Two questions:

1) I've scoured the web for io info... come away with the impresssion that io is still a work-in-progress with many instabilities. I have a web application framewok that I wrote in Python last year that I'd like to re-write in io. Is the language stable enough to attempt such a venture?

2) I tried compiling source on my Debian Etch system following the instructions in the web-site Manual. http://www.iolanguage.com/scm/git/Io/docs/guide.html#TOC2532

- Completion of the sudo make install step told me that I was missing a ton of libraries.
- make test revealed a potload of failures.

I've searched "Install" in the mail list archives, but don't see, immediately, anything that addresses my ignorance.

I'm embarrassed to admit that even now, after many years of working with computers, I'm still phoebic when it comes to doing anything new -- probably from so many bad "nothing-works-the-first-time" shocks from the old days. And compiling to Linux is new to me.

Can some kind soul please guide me through the steps from download to working io system on Debian Etch?

Specifically:

- How should I set up directories?
- What libraries do I need to install?
- Where can I find them and what must I do to install them?
- How can I execute necessary or useful configuration steps?
- etc.

Many thanks,

Lloyd R. Prentice

__._,_.___
.

__,_._,___
Re: Compiling/ installing io on Debian Linux
country flaguser name
United States
2007-07-24 22:14:35
On Jul 24, 2007, at 3:21 PM, lloydpaisite.com wrote:

> Hi Folks,
>
> I've just discovered io and am struck by its sleek
elegance. As a  
> long-time Forth lover, io appeals to my minimalist
tastes, yet  
> seems well positioned for the 21st century.
>
> Two questions:
>
> 1) I've scoured the web for io info... come away with
the  
> impresssion that io is still a work-in-progress with
many  
> instabilities. I have a web application framewok that I
wrote in  
> Python last year that I'd like to re-write in io. Is
the language  
> stable enough to attempt such a venture?
>
> 2) I tried compiling source on my Debian Etch system
following the  
> instructions in the web-site Manual. http://www.iolanguage.
com/scm/ 
> git/Io/docs/guide.html#TOC2532
>
> - Completion of the sudo make install step told me that
I was  
> missing a ton of libraries.
> - make test revealed a potload of failures.
>
> I've searched "Install" in the mail list
archives, but don't see,  
> immediately, anything that addresses my ignorance.
>
> I'm embarrassed to admit that even now, after many
years of working  
> with computers, I'm still phoebic when it comes to
doing anything  
> new -- probably from so many bad
"nothing-works-the-first-time"  
> shocks from the old days. And compiling to Linux is new
to me.
>
> Can some kind soul please guide me through the steps
from download  
> to working io system on Debian Etch?
>
> Specifically:
>
> - How should I set up directories?
> - What libraries do I need to install?
> - Where can I find them and what must I do to install
them?
> - How can I execute necessary or useful configuration
steps?
> - etc.

Hi Loyd,

I've re-written the install instructions to help clear up
some  
possible sources of confusion:

------------------------
Installing

Io is split into Io itself, which is all you need for basic 

scripting, and “addons” which are extra packages which
extend it’s  
functionality. Some addons are just Io code, others are dlls
that  
include bindings to C libraries. First, let's compile the
VM.
VM

To build just the VM, from the top folder, run:

make vm

Binaries will be placed in the _build/binaries subfolder. To
install:

sudo make install

or, if you’d like the install to simply link to your
development folder:

sudo make linkInstall

and to run the unit tests:

make testvm

You’ve now compiled Io and can use it for scripting.
Binaries

Io builds two executables and places them in the binaries
folder.  
They are:

io_static
io

The io_static executable contains the vm with a minimal set
of  
primitives all statically linked into the executable. The io
 
executable contains just enough to load the iovm dynamically
linked  
library and is able to dynamically load io addons when they
are  
referenced.
Addons

First, don’t worry if some addons don’t compile for you.
Some are  
platform specific and may not be for your platofrm and
others may  
depend on C/C++ libraries not supported on your particular
platform  
or distro. So unless you have a specific need for a
particular addon,  
you can ingore whether or not it compiles for you. Most
users will  
only need the Sockets and SQLite or QDBM addons.
Compiling Addons
Some of Io’s addons require libraries that may not be
installed on  
your system already. To install these automatically, type
either:

su -c " sudo make aptget”

or:

su -c "make emerge”

or:

sudo make port

Depending on which package installer you use. Port is
macports/ 
darwinports (http://www.macports.org/
) for OSX.

VM and Addons


To build the VM and the Addons, from the top folder, run:

make

Binaries will be placed in the _build/binaries subfolder. To
install:

sudo make install

or, if you’d like the install to simply link to your
development folder:

sudo make linkInstall

and to run the all the unit tests:

make test

Again, there is no need to worry about error reports for
addons which  
you don’t need.




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://grou
ps.yahoo.com/group/iolanguage/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://
groups.yahoo.com/group/iolanguage/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:iolanguage-digest@yahoogroups.com 
    mailto:iolanguage-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    iolanguage-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

Re: Compiling/ installing io on Debian Linux
country flaguser name
United States
2007-07-25 02:52:39
Hi-

As Steve said, the "missing libraries" isn't
really an error-
If you're just playing around with the language you don't
need any of them-
If you're trying to run certain demos or trying to do
something specific,  
then you need to look at them and see what you need.
Lots of things have these kinds of ambiguities- I would
suggest looking at  
the Makefile to see WTF is actually happening-
(applies to everything, not just Io)
Re web framework- yes, the language is stable enough-
I spent a lot of time working with others to fix
shortcomings in the  
Socket addon and weirdness in the direct C-lib access-
But- I've got a working Io appserver that talks to clients,
PostgreSQL,  
and Memcached with auto-scaling connection pools in a 100%
async manner-  
so hit me up privately if you'd like to wank it-

-- 
Scott Solmonson
V: 408.718.6290
scosolscosol.org

On Tue, 24 Jul 2007 15:21:37 -0700, <lloydpaisite.com> wrote:

> Hi Folks,
>
> I've just discovered io and am struck by its sleek
elegance. As a  
> long-time Forth lover, io appeals to my minimalist
tastes, yet seems  
> well positioned for the 21st century.
>
> Two questions:
>
> 1) I've scoured the web for io info... come away with
the impresssion  
> that io is still a work-in-progress with many
instabilities. I have a  
> web application framewok that I wrote in Python last
year that I'd like  
> to re-write in io. Is the language stable enough to
attempt such a  
> venture?
>
> 2) I tried compiling source on my Debian Etch system
following the  
> instructions in the web-site Manual.  
> http://www.iolanguage.com/scm/git/Io/docs/guide.html
#TOC2532
>
> - Completion of the sudo make install step told me that
I was missing a  
> ton of libraries.
> - make test revealed a potload of failures.
>
> I've searched "Install" in the mail list
archives, but don't see,  
> immediately, anything that addresses my ignorance.
>
> I'm embarrassed to admit that even now, after many
years of working with  
> computers, I'm still phoebic when it comes to doing
anything new --  
> probably from so many bad
"nothing-works-the-first-time" shocks from the  
> old days. And compiling to Linux is new to me.
>
> Can some kind soul please guide me through the steps
from download to  
> working io system on Debian Etch?
>
> Specifically:
>
> - How should I set up directories?
> - What libraries do I need to install?
> - Where can I find them and what must I do to install
them?
> - How can I execute necessary or useful configuration
steps?
> - etc.
>
> Many thanks,
>
> Lloyd R. Prentice


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://grou
ps.yahoo.com/group/iolanguage/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://
groups.yahoo.com/group/iolanguage/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:iolanguage-digest@yahoogroups.com 
    mailto:iolanguage-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    iolanguage-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )