Hi folks!
I have tried to deploy the following simple "hello" vocabulary:
--8<--------------------- hello.factor ---------------------
USING: io ;
IN: hello
: say-hello ( -- ) "Hello world!" print ;
MAIN: say-hello
--8<--------------------------------------------------------
Here is what I have done:
------------------------------------------------------------
USE: tools.scaffold
"/home/nik/work/factor" add-vocab-root
"/home/nik/work/factor" "hello" scaffold-vocab
USE: "hello"
"hello" reload
USE: ui.tools.deploy
"hello" deploy-tool
------------------------------------------------------------
and got the following error message:
--------------------------------------------
Unix system call “mkdir” failed:
Permission denied (13)
It was called with the following arguments:
"/usr/lib/factor/hello"
511
--------------------------------------------
which is no problem by itself because I don't have
the write permission. Apart from that I don't want
to mess up the software installation directory.
The question is now how I can set the "base" directory
for deployment. Obviously, the installation directory
"/usr/lib/factor" (on my Archlinux) is used as
default "base" directory.
The next time I have tried the deployment with
an executable name pointing to an absolute path.
This time I got the following error message:
--------------------------------------------
Unix system call “open” failed:
Permission denied (13)
It was called with the following arguments:
"/usr/lib/factor/boot.unix-x86.64.image"
577
438
-------------------------------------------
The same problem as before!
Regards
Nik
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users
worldwide. Take advantage of special opportunities to increase revenue and
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk