[developers] PET 0.99.12 + MRS Build Errors: make libmrs.a

Ben Waldron benjamin.waldron at cl.cam.ac.uk
Sat Apr 29 17:17:18 CEST 2006


I had the same problem as you in building libmrs.a. How did you fix 
this? Was there further discussion off the list?

I fixed the problem by replacing the following lines in the makefile

        echo "(compile-system \"mrs\" :force t)"; \
        echo "(mk::ecl-finalize-libbuild :module \"mrs\")"; \

with

    echo "(progn (compile-system \"mrs\" :force t) 
(mk::ecl-finalize-libbuild :module \"mrs\"))"; \

The problem appeared to be that the command following compile-system was 
swallowed up before it could be called. Presumable related to the fact 
that ECL kept pausing to issue promts such as that below (with the side 
affect that compilation becomes /very/ slow; I don't yet know how to 
avoid this issue -- can anyone help?):

;;; Finished compiling /media/hda8/bmw20/lkb/src/lkb-package.lsp.
;      - Binary file /media/hda8/bmw20/lkb/src/.lecl/lkb-package.fas is 
old or does not exist.
;        Compile (and load) source file 
/media/hda8/bmw20/lkb/src/lkb-package.lsp instead?

Regards,
- Ben

Zhengbo Zhou wrote:

>
> 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





More information about the developers mailing list