On Tue, Oct 20, 2009 at 8:54 AM, Conrad Hughes <[email protected]> wrote:
> I tried running test-all
> to see if something more fundamental isn't working on my machine, but
> Factor collapsed with an out of memory error (the machine's only got 1GB
> of RAM).

If you feel like running test-all, then you need to start a terminal listener:

./factor -run=listener

Try running the io.monitors tests to see if inotify is working on your system:

"io.monitors" test

is /tmp some kind of special in-memory file system or something?

> I've been trying to use FACTOR_ROOTS.  With the above copy of Factor in
> /tmp/factor, no matter whether I set FACTOR_ROOTS to /tmp/factor:/tmp or
> /tmp:/tmp/factor or /tmp/work (with my "work" directory moved to
> /tmp/work), '"resource:work" "palindrome" scaffold-vocab' always creates
> palindrome as /tmp/factor/work/palindrome, even creating a new work
> directory there if I've deleted the existing one.

You've misunderstood how vocabulary roots work completely. the 'core',
'basis', 'extra' and 'work' directories are vocabulary roots. You can
add your own vocabulary roots. For example, if you add /tmp/work to
FACTOR_ROOTS, then next time you start factor, you should be able to
do

vocab-roots get .

and see something like

V{
    "resource:core"
    "resource:basis"
    "resource:extra"
    "resource:work"
    "/tmp/work"
}

Now, you when you do

USE: foo

Factor will look for it in the core/basis/extra/work directories in
the source tree, as well as /tmp/work.

With the scaffold tool, you can just do

'"/tmp/work" "palindrome" scaffold-vocab

To create a vocabulary in your own vocabulary root.

However resource:work (as well as resource:basis, etc) will always
point to the the Factor source tree. This is how its supposed to work.

Slava

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to