Compiling ORBit from 0.25 distro




I'm compiling ORBit from the 0.25 tar-balls and I'm running into an error 
which has plague my attempts to compile from CVS as well.  I don't know 
the autoconf system well enough to figure out what to do next.  Anyway 
here is the three errors I get while ./configure-ing  ORBit:

processing .
You should update your `aclocal.m4' by running aclocal.
processing libIDL
automake: Makefile.am: lex source seen but `LEX' not defined in 
`configure.in'
automake: Makefile.am: lex source seen but `AC_DECL_YYTEXT' not in 
`configure.in'
Running ./configure --enable-maintainer-mode --prefix=/opt/gnome
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether make sets ${MAKE}... (cached) yes
./configure: AM_PROG_LIBTOOL: command not found
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking for indent... (cached) yes
checking for glib-config... (cached) yes
checking for bison... (cached) bison -y
./configure: AM_PROG_LEX: command not found
checking for mawk... (cached) gawk
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes

When making I get these errors:

ar cru libIDL.a parser.o lexer.o util.o 
ranlib libIDL.a
gcc -DPACKAGE=\"libIDL\" -DVERSION=\"0.2\" -DHAVE_CPP_PIPE_STDIN=1 
-DCPP_PROGRAM=\"gcc\ -E\" -DSTDC_HEADERS=1 -DHAVE_STDDEF_H=1 
-DHAVE_WCHAR_H=1 -DHAVE_STRDUP=1  -I. -I.  -DYYDEBUG=1 -DIDL_LIBRARY 
-I/opt/gnome/lib/glib/include -I/opt/gnome/include  -g -O2 -c tstidl.c
gcc -g -O2  -o tstidl  tstidl.o libIDL.a -L/opt/gnome/lib -lglib-1.1
libIDL.a(parser.o): In function `__IDL_parse':
/usr/lib/bison.simple:387: undefined reference to `__IDL_lex'
libIDL.a(parser.o): In function `do_token_error':
/home/jmuller/src/gnome-0.25/ORBit-0.2/libIDL/parser.y:1363: undefined 
reference to `__IDL_prev_token_line'
/home/jmuller/src/gnome-0.25/ORBit-0.2/libIDL/parser.y:1363: undefined 
reference to `__IDL_cur_token_line'
/home/jmuller/src/gnome-0.25/ORBit-0.2/libIDL/parser.y:1367: undefined 
reference to `__IDL_prev_token_line'
/home/jmuller/src/gnome-0.25/ORBit-0.2/libIDL/parser.y:1367: undefined 
reference to `__IDL_cur_token_line'
libIDL.a(parser.o): In function `IDL_parse_filename':
/home/jmuller/src/gnome-0.25/ORBit-0.2/libIDL/parser.y:2501: undefined 
reference to `__IDL_in'
/home/jmuller/src/gnome-0.25/ORBit-0.2/libIDL/parser.y:2507: undefined 
reference to `__IDL_lex_init'
/home/jmuller/src/gnome-0.25/ORBit-0.2/libIDL/parser.y:2515: undefined 
reference to `__IDL_lex_cleanup'
make[2]: *** [tstidl] Error 1
make[2]: Leaving directory `/home/jmuller/src/gnome-0.25/ORBit-0.2/libIDL'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jmuller/src/gnome-0.25/ORBit-0.2'
make: *** [all-recursive-am] Error 2


Can somebody give me an idea of what these errors mean, and an idea on 
how to go about fixing them?

Thanks
Jeff



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]