Thursday, February 17, 2011

编译guile-2.0.0遇到问题的解决

Error:
[cc lang="text"]checking for BDW_GC... configure: error: Package requirements (bdw-gc) were
not met:

No package 'bdw-gc' found
[/cc]

Resovle:
[cc lang="text"]BDW_GC_CFLAGS=-L/usr/lib BDW_GC_LIBS=-lgc ./configure --prefix=/opt/packages/languages/guile[/cc]

2 comments:

  1. 这样子虽然可以编译,但是make过不了。错误如下。

    ../libguile/bdw-gc.h:42:19: error: gc/gc.h: No such file or directory
    ../libguile/bdw-gc.h:46:32: error: gc/gc_local_alloc.h: No such file or directory
    make[2]: *** [alist.x] Error 1
    make[2]: Leaving directory `/home/hbb/Downloads/guile-2.0.7/libguile'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/hbb/Downloads/guile-2.0.7'
    make: *** [all] Error 2

    ReplyDelete