[developers] PET 0.99.12 + MRS Build Errors SOLVED!

Zhengbo Zhou zhengbo at u.washington.edu
Thu Apr 27 07:49:41 CEST 2006


Hi Eric,

Can you tell me what parameters after your ./configure command?  Mine is

./configure --with-tsdb=/lingo/lkb --with-ecl=/lingo/local --with-icu=/lingo/local --without-preproc

But when I make, there is still the error as following:

=============================================================================
ECL (Embeddable Common-Lisp) 0.9h
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
         ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.  Top level.
> ;;; Loading #P"/lingo/delphin/lkb/src/general/loadup.lisp"
;;; Loading #P"/lingo/delphin/lkb/src/general/ecl-patches.lsp"
;;; Loading #P"/lingo/delphin/lkb/src/general/defsystem.lisp"
;;; Loading #P"/lingo/local/lib/ecl/cmp.fas"
;;; Loading #P"/lingo/local/lib/ecl/sysfun.lsp"
;;; Loading #P"/lingo/delphin/lkb/src/general/loadup-library.lisp"
#P"/lingo/delphin/lkb/src/general/loadup.lisp"
> #P""
> T
> Can't find system named "preprocessor".
Broken at FIND-SYSTEM.
>>
( \
echo ";;(pushnew :debug *features*)"; \
echo "(load \"/lingo/delphin/lkb//src/general/loadup\")"; \
echo "(setq lib-dir (make-pathname :directory '(:relative)))"; \
echo "(mk::ecl-initialize-libbuild :module \"mrs\")"; \
echo "(compile-system \"mrs\" :force t)"; \
echo "(mk::ecl-finalize-libbuild :module \"mrs\")"; \
) | /lingo/local//bin/ecl
ECL (Embeddable Common-Lisp) 0.9h
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
         ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.  Top level.
> ;;; Loading #P"/lingo/delphin/lkb/src/general/loadup.lisp"
;;; Loading #P"/lingo/delphin/lkb/src/general/ecl-patches.lsp"
;;; Loading #P"/lingo/delphin/lkb/src/general/defsystem.lisp"
;;; Loading #P"/lingo/local/lib/ecl/cmp.fas"
;;; Loading #P"/lingo/local/lib/ecl/sysfun.lsp"
;;; Loading #P"/lingo/delphin/lkb/src/general/loadup-library.lisp"
#P"/lingo/delphin/lkb/src/general/loadup.lisp"
> #P""
> T
> ;;; Loading "/lingo/delphin/lkb/src/systems/mrs.system"
The function MAKE::ECL-INITIALIZE is undefined.
Broken at EVAL.
>>
g++ -g -Wall -O2 -DHAVE_CONFIG_H -DDYNAMIC_SYMBOLS -DDAG_TOMABECHI   -L/lingo/delphin/lkb//lib/linux.x86.32 -Wl,-rpath,/lingo/delphin/lkb//lib/linux.x86.32 -L/lingo/local//lib/ecl -Wl,-rpath,/lingo/local//lib/ecl -L/lingo/local//lib -Wl,-rpath,/lingo/local//lib  -o cheap  chart.o cheap.o fs.o grammar.o item-printer.o item.o lexicon.o lexparser.o lingo-tokenizer.o morph.o options.o parse.o paths.o postags.o sm.o task.o tsdb++.o yy-tokenizer.o dag-tomabechi.o failure.o qc.o petecl.o eclpreprocessor.o cppbridge.o petmrs.o  unicode.o  yy.o bitcode.o chunk-alloc.o dag-alloc.o dag-arced.o dag-common.o dag-io.o dumper.o grammar-dump.o hash.o lex-io.o lex-tdl.o mfile.o settings.o types.o utility.o  libpreprocessor.a libmrs.a -lstdc++  -lpthread -licuuc -licui18n -licudata -lecl -litsdb
g++: libpreprocessor.a: No such file or directory
g++: libmrs.a: No such file or directory
make[2]: *** [cheap] Error 1
make[2]: Leaving directory `/lingo/pet-0.99.12/cheap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/lingo/pet-0.99.12'
make: *** [all] Error 2
================================================================================

I used Bernd's updated ecl-patches.lsp in lkb/src/general/.  And I installed the lkb yesterday by the automatic install using the wget.

I don't know what else should I do.  Can you give some suggestion?

Thank you so much!

Best,

Zhengbo

On Thu, 27 Apr 2006, Eric Nichols wrote:

> Greetings,
>
> After having Francis try building it on a couple of other machines, it
> seems that we have found the cause of my problems: I was not
> explicitly disabling the preprocessor code by using --without-preproc
> like I should have been :-( If anybody else is having similar
> problems, try updating LKB (to solve the MRS problems) and disabling
> the preprocessor code.
>
> Everything is running successfully now. Thanks everybody for your help.
>
> Eric Nichols <eric-n at is.naist.jp>
>
>






More information about the developers mailing list