I could not find headers for libreadline
Hi all! I'm new user of linux. I've installed an Ubuntu 7.10. I need to install Ginac for some scientific programs. But I get this problem while doing "./configure" ===The following minor problems have been detected by configure. ===Pleas check .... === I could not find the headers for libreadline (needed for building ginsh). ===I could not find libreadline (needed by ginsh). ------------------------ I've read the Install file and Common problems. I found that there is installed libreadline5.2-3build1 After I've read from Ginac mailing list archives similar problems, but i can't det the main idea. I found in my config.log life these rows configure:22223: checking readline/readline.h usability configure:22240: g++ -c -g -O2 conftest.cpp >&5 conftest.cpp:63:31: error: readline/readline.h: No such file or directory configure:22246: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GiNaC" | #define PACKAGE_TARNAME "ginac" ....... ................................ | #include <readline/readline.h> configure:22260: result: no configure:22264: checking readline/readline.h presence configure:22279: g++ -E conftest.cpp conftest.cpp:30:31: error: readline/readline.h: No such file or directory configure:22285: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GiNaC" ................................................. | #include <readline/readline.h> configure:22299: result: no configure:22332: checking for readline/readline.h configure:22340: result: no configure:22223: checking readline/history.h usability configure:22240: g++ -c -g -O2 conftest.cpp >&5 conftest.cpp:63:30: error: readline/history.h: No such file or directory configure:22246: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GiNaC" ................................................. what is the problem? Thank you Hayk p.s. I don't know can I attach for example config.log file in my mail?
Hayk Gabrielyan wrote:
Hi all!
I'm new user of linux. I've installed an Ubuntu 7.10. I need to install Ginac for some scientific programs. But I get this problem while doing "./configure"
===The following minor problems have been detected by configure. ===Pleas check ....
=== I could not find the headers for libreadline (needed for building ginsh).
===I could not find libreadline (needed by ginsh). ------------------------ I've read the Install file and Common problems. I found that there is installed libreadline5.2-3build1
Usually GNU/Linux packagers pack binaries and development stuff in separate packages. For example, with RedHat-style packages, there's a PACKAGENAME package with dynamically linkable libraries, and a separate PACKAGENAME-devel with statically linkable libraries and headers. For example: bash-3.00$ rpm -qa | grep readline readline-devel-4.3-13 readline-4.3-13 You also need the -devel package to have header files. Note that with Ubuntu the naming conventions could differ slightly. p.
Hello! On Sun, Jan 27, 2008 at 10:54:36PM +0400, Hayk Gabrielyan wrote:
I'm new user of linux. I've installed an Ubuntu 7.10. I need to install Ginac for some scientific programs. But I get this problem while doing "./configure"
===The following minor problems have been detected by configure. ===Pleas check ....
=== I could not find the headers for libreadline (needed for building ginsh).
===I could not find libreadline (needed by ginsh). ------------------------
If you don't intend to use ginsh, you can safely ignore this warning.
I've read the Install file and Common problems. I found that there is installed libreadline5.2-3build1
As explained in the `INSTALL' file, you also need -dev package (that is, if you really want to use ginsh). Debian (etch) package is called libreadline5-dev. I don't use Ubuntu myself, but I guess the package name should be the same.
configure:22223: checking readline/readline.h usability configure:22240: g++ -c -g -O2 conftest.cpp >&5 conftest.cpp:63:31: error: readline/readline.h: No such file or directory configure:22246: $? = 1 configure: failed program was:
[snipped]
what is the problem?
libreadline5*-dev package (which contains readline headers and libreadline.so symlink) is missing on your system.
p.s. I don't know can I attach for example config.log file in my mail?
In fact, it's a good idea to do so. Best regards, Alexei -- All science is either physics or stamp collecting.
Thank you for fast response. I've found the problem. I need not only libreadline5-dev, also I need for libreadline5-dev libncourses5-dev. So then I've installed, configure works properly. On 1/27/08, Alexei Sheplyakov <varg@theor.jinr.ru> wrote:
Hello!
On Sun, Jan 27, 2008 at 10:54:36PM +0400, Hayk Gabrielyan wrote:
I'm new user of linux. I've installed an Ubuntu 7.10. I need to install Ginac for some scientific programs. But I get this problem while doing "./configure"
===The following minor problems have been detected by configure. ===Pleas check ....
=== I could not find the headers for libreadline (needed for building ginsh).
===I could not find libreadline (needed by ginsh). ------------------------
If you don't intend to use ginsh, you can safely ignore this warning.
I've read the Install file and Common problems. I found that there is installed libreadline5.2-3build1
As explained in the `INSTALL' file, you also need -dev package (that is, if you really want to use ginsh). Debian (etch) package is called libreadline5-dev. I don't use Ubuntu myself, but I guess the package name should be the same.
configure:22223: checking readline/readline.h usability configure:22240: g++ -c -g -O2 conftest.cpp >&5 conftest.cpp:63:31: error: readline/readline.h: No such file or directory configure:22246: $? = 1 configure: failed program was:
[snipped]
what is the problem?
libreadline5*-dev package (which contains readline headers and libreadline.so symlink) is missing on your system.
p.s. I don't know can I attach for example config.log file in my mail?
In fact, it's a good idea to do so.
Best regards, Alexei
-- All science is either physics or stamp collecting.
Hello! On Mon, Jan 28, 2008 at 08:19:31PM +0400, Hayk Gabrielyan wrote:
Thank you for fast response. I've found the problem. I need not only libreadline5-dev, also I need for libreadline5-dev libncourses5-dev.
$ apt-cache depends libreadline5-dev libreadline5-dev Depends: libreadline5 Depends: libncurses5-dev Conflicts: <libreadline-dev> Thus, APT (or whatever front end you use) should have installed it automagically. At least, it does so for me.
So then I've installed, configure works properly.
It works properly (i.e. builds a fully functional GiNaC library) even *without* readline and ncurses. Best regards, Alexei -- All science is either physics or stamp collecting.
participants (3)
-
Alexei Sheplyakov
-
Hayk Gabrielyan
-
Pierangelo Masarati