LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Closed Thread
  Search this Thread
Old 12-27-2009, 12:18 PM   #1
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
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.
 
Old 12-27-2009, 12:46 PM   #2
dreamwalking
Member
 
Registered: Dec 2005
Distribution: Slackware 14
Posts: 106

Rep: Reputation: 31
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/
 
Old 12-27-2009, 12:50 PM   #3
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by smeezekitty View Post
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.
 
Old 12-27-2009, 12:52 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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
.....

Last edited by knudfl; 12-27-2009 at 12:58 PM.
 
Old 12-27-2009, 12:53 PM   #5
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
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.
 
Old 12-27-2009, 01:03 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.
.....

Last edited by knudfl; 12-27-2009 at 01:07 PM.
 
Old 12-27-2009, 01:21 PM   #7
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
fixed it, /usr/include/ncurses_dll.h is suppose to be copied to /usr/include/ .
 
Old 12-27-2009, 02:15 PM   #8
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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.
 
Old 12-27-2009, 04:21 PM   #9
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by gnashley View Post
you don't say what version of Slackware you are using
13.0
 
Old 12-27-2009, 04:50 PM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 ..

.....
 
Old 12-27-2009, 07:25 PM   #11
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by knudfl View Post
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)
 
Old 12-28-2009, 02:01 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.
.....
 
Old 12-28-2009, 02:10 AM   #13
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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.
 
1 members found this post helpful.
Old 12-28-2009, 12:28 PM   #14
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
I will handle this my own way.
 
Old 12-28-2009, 12:38 PM   #15
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

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


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
php5 ./configure error: Cannot find MySQL header files ldp Linux - Software 29 05-15-2018 04:30 PM
Configure Error: Cant Find X Asphensia Linux - Newbie 3 02-25-2009 10:43 PM
x development files not found during wine ./configure dr_zayus69 Linux - Software 4 04-18-2005 05:07 PM
ncurses-5.3 configure error - fails sanity check itsjustme Linux From Scratch 3 10-04-2003 05:34 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration