[SOLVED] configure: error: cannot find ncurses development files
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Rep:
configure: error: cannot find ncurses development files
Building libcaca on slackware, i get the error:configure: error: cannot find ncurses development files.
Any ideas WTF this means because ncurses is installed.
libcaca.Slackbuild = orig. Patrick J. Volkerding http://slackware.osuosl.org/slackwar...aca.SlackBuild
.. works perfect, when editing line 50, $VERSION.tar.bz2 to $VERSION.tar.gz
.. if your source is " .tar.gz "
> > Slackware package /tmp/libcaca-0.99.beta16-x86_64-3.txz created.
( Except for the 'x86_64' (typo ?) .. I have x86, 32 - bit.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Original Poster
Rep:
Thanks for the fast response!
The thing is, is that more /usr/include/ncurses/ncurses.h shows the full include file and ls /usr/lib/*ncurses*.* comes up with the libraries.
Actually, it should probably be a link:
cd /usr/include ; ln -sf ncurses_dll.h ncurses/ncurses_dll.h
This may be missing from the official SlackBuild -you don't say what version of Slackware you are using, but there has lately(and finally) been an update to the ncurses version and the build is quite different from before. I'd have to check the official build, but mine doesn't have the problem you describe...
The Slackware team would probably appreciate it if you file a bug report -if it really is a bug.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Original Poster
Rep:
Quote:
Originally Posted by knudfl
Just found out this :
'libcaca' has been included in the Slackware releases
starting with Slackware 10 .. slackware/ l /libcaca...
.. So actually no need to build it ..
.....
I did
Code:
cd /
tar Jxf /mnt/cdrom/slackware/l/libcaca*.txz
cacafire
cacafire: error while loading shared libraries: libX11.so.6: cannot open shared
library: no such file or directory (ENOENT)
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Which version of Slackware are you using ?
Architecture for the OS ? x86, 32 bit or x86_64, 64 bit ? ?
.....
.....
Installing packages with tar : No, No, don't do that !
Never !
The command is # installpkg <package..>
Except that certain things can trash the OS, the install
scripts will not be used, are just left unused at / ,
when you unpack the files with tar.
Say you installed 'libX11' with tar :
no libX11.so.6, only libX11.so.6.2.0
> > the install script creates the links.
.....
installpkg also runs ldconfig for you. If you've installed a bunch of packages that way, you'll need to go back and reinstall them the proper way, using installpkg.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.