LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   configure: error: cannot find ncurses development files (https://www.linuxquestions.org/questions/programming-9/configure-error-cannot-find-ncurses-development-files-778330/)

smeezekitty 12-27-2009 12:18 PM

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.

dreamwalking 12-27-2009 12:46 PM

In Debian it's libncurses5-dev (developer's libraries for ncurses)

There are some tar.gz packages here:
http://mirror.nyi.net/cygwin/release...ncurses-devel/

MTK358 12-27-2009 12:50 PM

Quote:

Originally Posted by smeezekitty (Post 3806005)
Any ideas WTF this means because ncurses is installed.

I don't know why but I often find you need a separate "development" package for development.

knudfl 12-27-2009 12:52 PM

Slackware 13 .. .. libcaca
 
@ dreamwalking , @ MTK358 : Slackware, no -dev -devel packages :
all-in-one packages only.
.....
.....

libcaca
http://caca.zoy.org/files/libcaca/li....beta16.tar.gz

libcaca.Slackbuild
http://ftp.slackware.pl/pub/splack/s...aca.SlackBuild

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.


A package ( Slackware 12.1 ) .. libcaca-0.99.beta16-i486-1gds.tgz
http://sotirov-bg.net/slackpack/sear...&submit=Search
http://slackpack.ludost.net/packages...-i486-1gds.tgz
.....

smeezekitty 12-27-2009 12:53 PM

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.

knudfl 12-27-2009 01:03 PM

Quote:

The thing is,
that more /usr/include/ncurses/ncurses.h shows the full include file
I don't quite get, what you mean, but if any problems,
why not reinstall 'ncurses' ?
> > disk 1 .. slackware/l/ncurses-5.7-i486-1.txz .
.....

And if you do not use the "Volkerding Slackbuild", please then
read the file to see .. and to use the actual configure options.
.....

smeezekitty 12-27-2009 01:21 PM

fixed it, /usr/include/ncurses_dll.h is suppose to be copied to /usr/include/ .

gnashley 12-27-2009 02:15 PM

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.

smeezekitty 12-27-2009 04:21 PM

Quote:

Originally Posted by gnashley (Post 3806092)
you don't say what version of Slackware you are using

13.0

knudfl 12-27-2009 04:50 PM

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 ..

.....

smeezekitty 12-27-2009 07:25 PM

Quote:

Originally Posted by knudfl (Post 3806177)
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)


knudfl 12-28-2009 02:01 AM

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.
.....

gnashley 12-28-2009 02:10 AM

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.

smeezekitty 12-28-2009 12:28 PM

I will handle this my own way.

gnashley 12-28-2009 12:38 PM

Why did you post a question here, then and make us go to the trouble of thinking for you??


All times are GMT -5. The time now is 07:33 PM.