Hi, I'm very new in Factor and trying to install it on my linux computer.=
=20
UI works despite an heavy CPU load but I have several difficulties durin=
g bootstrapping and using contrib applications.
=20
#########################################
=20
configuration
=20
cpu : Celeron (Mendocino)
=20
OS : linux debian unstable
=20
$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=3Dc,c++,java,f95=
,objc,ada,treelang --prefix=3D/usr --enable-shared --with-system-zlib --l=
ibexecdir=3D/usr/lib --without-included-gettext --enable-threads=3Dposix =
--enable-nls --program-suffix=3D-4.0 --enable-__cxa_atexit --enable-cloca=
le=3Dgnu --enable-libstdcxx-debug --enable-java-awt=3Dgtk-default --enabl=
e-gtk-cairo --with-java-home=3D/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jr=
e --enable-mpfr --disable-werror --with-tune=3Di686 --enable-checking=3Dr=
elease i486-linux-gnu
Thread model: posix
gcc version 4.0.3 (Debian 4.0.3-1)
=20
=20
sources Factor-0.81.zip found on factorcode.org/
=20
####################################################
=20
During compilation several warning like :
=20
native/s48_bignum.c: In function 's48_cell_to_bignum':
native/s48_bignum.c:379: warning: pointer targets in initialization diff=
er in signedness
=20
###############################################
=20
During bootstrapping (./f boot.image.x86) many errors appear like=20
=20
Compiling unbox-parameter
Inference error:
A literal value was expected where a computed value was found.
This means the word you are inferring applies 'call' or 'execute'
to a value that is not known at compile time.
See the handbook for details.
Recursive state:
an instance of the f class
=20
Compiling box-parameters
Inference error:
A literal value was expected where a computed value was found.
This means the word you are inferring applies 'call' or 'execute'
to a value that is not known at compile time.
See the handbook for details.
Recursive state:
an instance of the cons class
{ box-parameter T{ rstate f G:18871 f } }
=20
Compiling if-void
Inference error:
A literal value was expected where a computed value was found.
This means the word you are inferring applies 'call' or 'execute'
to a value that is not known at compile time.
See the handbook for details.
Recursive state:
an instance of the f class
=20
Compiling callback-bottom
Inference error:
Stack effect inference of the word set-callstack was already attempted, =
and failed
Recursive state:
an instance of the cons class
{ continue T{ rstate f G:21254 f } }
{ continue-with T{ rstate f G:21253 f } }
{ notify-base-case T{ rstate f G:21251 f } }
{ recursive-word T{ rstate f G:21178 f } }
{ apply-object T{ rstate f G:21143 t } }
{ apply-object T{ rstate f G:21119 f } }
{ infer-quot T{ rstate f G:21112 f } }
=20
and so on..
=20
######################################
=20
when I try to use contrib softs, several words are not present, maybe be=
cause of previous errors, like=20
=20
cocoa
tree-each ( I didn't found sources )
each-word
=20
and XEvent=20
=20
"contrib/x11/load.factor" run-resource save
Loading contrib/x11/load.factor
Loading /contrib/x11/rectangle.factor
Loading /contrib/x11/xlib.factor
An unhandled error was caught:
=20
Parsing resource:/contrib/x11/xlib.factor:1034
BEGIN-UNION: XEvent
^
"Not a number"
=20
:s :r show stacks at time of error
:get ( var -- value ) accesses variables at time of error
:error starts the inspector with the error
:cc starts the inspector with the error continuation
=20
#####################################################
=20
Is anyone can help me ?
Maybe I missed something during the installation.
=20
thank you
|