4
当我尝试编译Gforth 0.7.0,我得到以下错误:没有Gforth编译Gforth?
$ ./configure
$ make
#compiling…
Undefined symbols:
"_main", referenced from:
start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [gforth-ll] Error 1
./preforth -p ".:~+:." -e 's" mach16b.fs"' ./kernel/main.fs -e "save-cross kernl16b.fi- /usr/local/bin/gforth-0.7.0 bye"
You need to configure with a gforth in $PATH to build this part
make[3]: *** [kernl16b.fi-] Error 1
make[2]: *** [gforth-ll] Error 2
make[1]: *** [optgforth] Error 2
make: *** [gforth] Error 2
[22:16:01] gforth-0.7.0$
通过港口安装时,我得到了同样的错误。我想象的问题是Gforth是至少部分以Forth编写的,那么如何在没有首先安装Gforth的情况下安装它(或者是其他问题)?
我使用的是Mac OS 10.6。
我只要它已启动了运行时错误,但它通过一切再次去没有--prefix到'在./configure之后就走了',谢谢 – 2010-03-05 03:56:13