From: Jeff S. <why...@ya...> - 2004-11-10 04:05:44
|
Hm..., -lreadline should have come before -lncurses in READLINE_LIBS. That could be the cause of the linker error. How it got in that order I do not know. You might get past this problem by editing the line in src/util/Makefile that says READLINE_LIBS=' -lncurses -lreadline' to READLINE_LIBS=' -lreadline -lncurses' and then start up make again. Also note that some readline problems have been corrected recently, so you may want to try the version of mdbtools in cvs. -- Jeff Smith --- Martin Trautmann <tr...@gm...> wrote: > On 2004-11-09 12:42, Martin Trautmann wrote: > > the archives told me about a solved problem for glib support. > > > > I just tried both 0.5 and 0.6pre. Both share the same problem: > > > checking for GLIB - version >= 2.0.0... no > > *** Could not run GLIB test program, checking why... > > *** The test program failed to compile or link. See the file config.log for the > > *** exact error that occured. This usually means GLIB is incorrectly installed. > > > > glib 2.0 is required by MDB Tools. > > It can be downloaded at www.gtk.org. > > I ended up with a copy of glib.h in $PREFIX/include/ > and ran successfully til mdb-sql.c:23:31: readline/readline.h > > ac_cv_lib_readline_add_history=yes > READLINE_LIBS=' -lncurses -lreadline' > > undefined reference to `tputs' > undefined reference to `tgetflag' > > yet another problem prevented to compile readline-5.0, while I still use > readline 4.3 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |