[developers] PET 0.99.12 + MRS Build Errors

Eric Nichols eric-n at is.naist.jp
Mon Apr 24 21:12:44 CEST 2006


Greetings,

I am having trouble compiling PET 0.99.12 with RMRS supoort. I
upgraded by LKB using `sh ./install --test` as indicated in Stephen's
mail and configured using only the flag --with-ecl=/usr to point to my
ECL installation. All the required files are found, but ECL dies with
a 'The variable %SYSTEM-BINARIES% is unbound.' error. I have attached
my config log and a brief transcript of the error. (On my system
/usr/local points to /home/local if you are wonderind about the
strange paths in my config.)

Any ideas?

Eric

if g++ -DHAVE_CONFIG_H -DDYNAMIC_SYMBOLS -DDAG_TOMABECHI  -I. -I. -I..
 -I../common -I/usr/local/delphin/lkb/include -I/usr/lib/ecl/h
-I/usr/local/include  -g -Wall -O2 -DHAVE_CONFIG_H -DDYNAMIC_SYMBOLS
-DDAG_TOMABECHI   -MT utility.o -MD -MP -MF ".deps/utility.Tpo" -c -o
utility.o ../common/utility.cpp; \
        then mv -f ".deps/utility.Tpo" ".deps/utility.Po"; else rm -f
".deps/utility.Tpo"; exit 1; fi
( \
        echo "(load \"/usr/local/delphin/lkb/src/general/loadup\")"; \
        echo "(setq lib-dir (make-pathname :directory '(:relative)))"; \
        echo "(mk::ecl-initialize-libbuild :module \"preprocessor\")"; \
        echo "(compile-system \"preprocessor\" :force t)"; \
        echo "(mk::ecl-finalize-libbuild :module \"preprocessor\")"; \
        ) | /usr/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"/usr/local/delphin/lkb/src/general/loadup.lisp"
;;; Loading #P"/home/local/delphin/lkb/src/general/ecl-patches.lsp"
;;; Loading #P"/home/local/delphin/lkb/src/general/defsystem.lisp"
;;; Loading #P"/usr/lib/ecl/cmp.fas"
;;; Loading #P"/usr/lib/ecl/sysfun.lsp"
;;; Loading #P"/home/local/delphin/lkb/src/general/loadup-library.lisp"
The variable %SYSTEM-BINARIES% is unbound.
Broken at RESET-SYSTEM-PATHS.
MAKE>>
( \
        echo ";;(pushnew :debug *features*)"; \
        echo "(load \"/usr/local/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\")"; \
        ) | /usr/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"/usr/local/delphin/lkb/src/general/loadup.lisp"
;;; Loading #P"/home/local/delphin/lkb/src/general/ecl-patches.lsp"
;;; Loading #P"/home/local/delphin/lkb/src/general/defsystem.lisp"
;;; Loading #P"/usr/lib/ecl/cmp.fas"
;;; Loading #P"/usr/lib/ecl/sysfun.lsp"
;;; Loading #P"/home/local/delphin/lkb/src/general/loadup-library.lisp"
The variable %SYSTEM-BINARIES% is unbound.
Broken at RESET-SYSTEM-PATHS.
MAKE>>
g++ -g -Wall -O2 -DHAVE_CONFIG_H -DDYNAMIC_SYMBOLS -DDAG_TOMABECHI
-L/usr/local/delphin/lkb/lib/linux.x86.32
-Wl,-rpath,/usr/local/delphin/lkb/lib/linux.x86.32 -L/usr/lib/ecl
-Wl,-rpath,/usr/lib/ecl -L/usr/local/lib -Wl,-rpath,/usr/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
`/home/eric-n/packages/debian/pet/trunk/pet-0.99.12/cheap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/eric-n/packages/debian/pet/trunk/pet-0.99.12'
make: *** [all] Error 2

On 4/24/06, Bernd Kiefer <kiefer at dfki.de> wrote:
>
> Hi all,
>
> i just committed my changes to the above LKB files so that they match
> the new PET release. Hope they'll work together OK for you too. If you
> have problems, let me know (as usual).
>
> I hope the trec/svn will be up and running soon, but that depends on
> other people's availability.
>
> Best,
>         Bernd
>
>
> --
> **********************************************************************
> Bernd Kiefer                                            Am Blauberg 16
> kiefer at dfki.de                                      66119 Saarbruecken
> +49-681/302-5301 (office)                      +49-681/3904507  (home)
> **********************************************************************
>
>
>

--
--Eric Nichols
-------------- next part --------------
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for main in -lstdc++... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking itsdb.h usability... yes
checking itsdb.h presence... yes
checking for itsdb.h... yes
checking for capi_register in -litsdb... yes
checking for ecl... /usr/bin/ecl
checking ecl.h usability... yes
checking ecl.h presence... yes
checking for ecl.h... yes
checking for cl_map in -lecl... yes
checking for pthread_exit in -lpthread... yes
checking for main in -licudata... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking boost/graph/adjacency_list.hpp usability... yes
checking boost/graph/adjacency_list.hpp presence... yes
checking for boost/graph/adjacency_list.hpp... yes
checking boost/graph/topological_sort.hpp usability... yes
checking boost/graph/topological_sort.hpp presence... yes
checking for boost/graph/topological_sort.hpp... yes
checking boost/lambda/lambda.hpp usability... yes
checking boost/lambda/lambda.hpp presence... yes
checking for boost/lambda/lambda.hpp... yes
checking libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no
configure: WARNING: pq header file not found for psql lex DB; DISABLED
checking hash_map usability... no
checking hash_map presence... no
checking for hash_map... no
checking ext/hash_map usability... yes
checking ext/hash_map presence... yes
checking for ext/hash_map... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for doxygen... /usr/bin/doxygen
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for int *... yes
checking size of int *... 4
checking for library containing getopt_long_only... none required
checking for error_at_line... no
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether setpgrp takes no argument... yes
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for working strtod... no
checking for pow... yes
checking for vprintf... yes
checking for _doprnt... no
checking for wait3 that fills in rusage... no
checking for bzero... yes
checking for dup2... yes
checking for gethostbyaddr... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for setlocale... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strtol... yes

=============================================================
Boost (required for flop) is available
tsdb is available
ecl lisp processor is available
MRS code with ecl is available
preprocessor code with ecl is available
ICU is available
XML input mode is NOT available
External SQL dictionary is NOT available
Memory allocation with mmap is available
Code for quick-check computation is NOT available
=============================================================

configure: creating ./config.status
config.status: creating Makefile
config.status: creating cheap/Makefile
config.status: creating cheap/Jamfile
config.status: creating common/Makefile
config.status: creating flop/Makefile
config.status: creating flop/Jamfile
config.status: creating pet-config.h
config.status: pet-config.h is unchanged
config.status: executing depfiles commands


More information about the developers mailing list