安装monetdb5时遇到麻烦

时间:2014-03-10 10:05:16

标签: monetdb

安装monetdb5

时运行make时出现以下错误
make[9]: Entering directory `/home/lfopa/opt/monetdb/monetdb5/extras/jaql/parser'
/bin/bash ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -    I../../../..  -I. -I../ -I./../ -I../../../mal -I./../../../mal -I../../../optimizer -I./../../../optimizer -I../../../../common/options -I./../../../../common/options -I../../../../common/stream -I./../../../../common/stream -I../../../../gdk -I./../../../../gdk  -DLIBJAQLP  -g -O2   -c -o libjaqlp_la-jaql.tab.lo `test -f 'jaql.tab.c' || echo './'`jaql.tab.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../.. -I. -I../ -I./../ -I../../../mal -I./../../../mal -I../../../optimizer -I./../../../optimizer -I../../../../common/options -I./../../../../common/options -I../../../../common/stream -I./../../../../common/stream -I../../../../gdk -I./../../../../gdk -DLIBJAQLP -g -O2 -c jaql.tab.c  -fPIC -DPIC -o .libs/libjaqlp_la-jaql.tab.o
y.tab.c: In function 'jaqlparse':
y.tab.c:1684:32: error: 'scanner' undeclared (first use in this function)
y.tab.c:1684:32: note: each undeclared identifier is reported only once for each function it appears in
make[9]: *** [libjaqlp_la-jaql.tab.lo] Error 1
make[9]: Leaving directory `/home/lfopa/opt/monetdb/monetdb5/extras/jaql/parser'
make[8]: *** [all] Error 2
make[8]: Leaving directory `/home/lfopa/opt/monetdb/monetdb5/extras/jaql/parser'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/home/lfopa/opt/monetdb/monetdb5/extras/jaql'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/home/lfopa/opt/monetdb/monetdb5/extras/jaql'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/lfopa/opt/monetdb/monetdb5/extras'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/lfopa/opt/monetdb/monetdb5/extras'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/lfopa/opt/monetdb/monetdb5'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/lfopa/opt/monetdb/monetdb5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lfopa/opt/monetdb'
make: *** [all] Error 2

配置很好,根据自述文件,这里是配置的最后一行

* Enabled/disabled build options:
    strict     is disabled (by default)
    assert     is disabled (by default)
    debug      is disabled (by default)
    optimize   is disabled (by default)
    developer  is disabled (by default)
    instrument is disabled (by default)
    profile    is disabled (by default)

* Enabled/disabled components:
    gdk       is enabled
    monetdb5  is enabled
    sql       is enabled
    jaql      is enabled
    geom      is disabled (geos library required for geom module)
    gsl       is enabled
    fits      is disabled (cfitsio library not found)
    rdf       is disabled (by default)
    datacell  is disabled (by default)
    odbc      is enabled
    jdbc      is enabled
    control   is enabled
    testing   is enabled

1 个答案:

答案 0 :(得分:0)

根据错误消息。编译jaqlparse时出现问题,这是在配置monetdb时安装扩展jaql . Since I'm not interesting by this extension, I solved the problem by disabling jaql`扩展所需的函数

./configure --diseable-jaql
sudo make
sudo make install