From help-octave-request at bevo dot che dot wisc dot edu Wed Jan 29 17:13:13 2003 Subject: Re: can't find libaries in /lib From: Jason Rennie To: "Dirk Eddelbuettel" cc: Ko van Huissteden , help-octave@bevo.che.wisc.edu, jrennie@ai.mit.edu Date: Wed, 29 Jan 2003 18:10:06 -0500 edd at debian dot org said: > It's a FAQ: -- to /use/ a library foo, you install a package libfoo. > -- to /compile/ against library foo, you need to install the matching > header package libfoo-dev (or maybe libfoo-devel) Thanks for the info. Any chance a hint could be printed with the configure warning/error message? Here are some diffs that I think would help: [jrennie at tiikeri octave-2.1.43]$ diff -u configure.in configure.in.orig --- configure.in Wed Jan 29 17:54:42 2003 +++ configure.in.orig Wed Jan 29 17:52:49 2003 at @ -1129,7 +1129,7 @@ if test "$octave_found_termlib" = no; then warn_termlibs="I couldn't find -ltermcap, -lterminfo, -lncurses, -lcurses, o\ -r -ltermlib!\nYou may need to install the \"development\" version of one of these libraries." +r -ltermlib!" AC_MSG_WARN($warn_termlibs) fi [jrennie at tiikeri octave-2.1.43]$ diff -u aclocal.m4 aclocal.m4.orig --- aclocal.m4 Wed Jan 29 17:55:46 2003 +++ aclocal.m4.orig Wed Jan 29 17:55:02 2003 at @ -625,7 +625,7 @@ LIBS="$LIBREADLINE $LIBS" AC_DEFINE(USE_READLINE, 1, [Define to use the readline library.]) ], [ - AC_MSG_WARN([I need GNU Readline 4.2 or later\nYou may need to install the \"development\" version of readline.]) + AC_MSG_WARN([I need GNU Readline 4.2 or later]) AC_MSG_ERROR([this is fatal unless you specify --disable-readline]) ]) fi Jason D. M. Rennie MIT AI Lab jrennie at ai dot mit dot edu (617) 253-5339 http://www.ai.mit.edu/~jrennie/ ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------