WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: curses.h ncurses.h no suitable curses library found  (Read 4149 times)

Offline halma

  • Full Member
  • ***
  • Posts: 164
curses.h ncurses.h no suitable curses library found
« on: July 16, 2014, 06:22:55 AM »
Hi,


yesterday it took for me about 6 hours to find out that there must be a problem inside the n-curses Extensions from the repo, cause everytime i tried to do a ./configure for XEN , the configure was not able to find curses.h or ncurses.h , i am sorry at the moment i dont have any logs left, i compiled ncurses-5.9 from the sources for my self again as Extension and now the ./configure is able to find the missing curses.h and ncurses.h , i posted into the IRC channel about it .

just let you all to know about it.

if i got some time again i will try to reproduce the problem and posting some logs.

best regards
Halma
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: curses.h ncurses.h no suitable curses library found
« Reply #1 on: July 16, 2014, 06:33:32 AM »
Depending on what you're trying to compile there could be a couple of different problems:

* the configure script insists in look in /usr/include for the headers instead of /usr/local/include
* the configure script looks in /usr/local/include, but not in /usr/local/include/ncurses (x86_64)

..both of these problems can be fixed with a symlink and a bug report to xen

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: curses.h ncurses.h no suitable curses library found
« Reply #2 on: July 16, 2014, 08:07:48 AM »
Hi,

yesterday it took for me about 6 hours to find out that there must be a problem inside the n-curses Extensions from the repo, cause everytime i tried to do a ./configure for XEN , the configure was not able to find curses.h or ncurses.h , i am sorry at the moment i dont have any logs left, i compiled ncurses-5.9 from the sources for my self again as Extension and now the ./configure is able to find the missing curses.h and ncurses.h , i posted into the IRC channel about it .

just let you all to know about it.


You didn't share the difference between your version and the one in the repo.

:(
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline halma

  • Full Member
  • ***
  • Posts: 164
Re: curses.h ncurses.h no suitable curses library found
« Reply #3 on: July 16, 2014, 08:49:04 AM »
i also tried the to make symlink's to /usr/include but this did not helped and also tried
export CURSES_CFLAGS=-I/usr/local/include/ncurses"
and
"export CURSES_LIBS=-L/usr/local/lib"

and also ./configure --includedir=/usr/local/include/ncurses

but the result allways was :
checking ncurses.h presence... no
checking curses.h presence... no

just from memory i wrote this
Quote

You didn't share the difference between your version and the one in the repo.

:(

oh sorry i will share all my stuff if i have XEN successfull working cause i dont wont donate some trash , the Extension i build at the moment are not TinyCore Standard, i mean not optimized in size and remove unused stuff.

thank you all for your great help and work
best regards
Halma
« Last Edit: July 16, 2014, 08:57:35 AM by halma »
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: curses.h ncurses.h no suitable curses library found
« Reply #4 on: July 17, 2014, 02:27:07 AM »
Sounds like the -dev extension was not loaded?
The only barriers that can stop you are the ones you create yourself.

Offline halma

  • Full Member
  • ***
  • Posts: 164
Re: curses.h ncurses.h no suitable curses library found
« Reply #5 on: July 17, 2014, 06:21:09 AM »
Sounds like the -dev extension was not loaded?

i am not sure i installed everything from the repro what was called ncurses* .
for the future, how can i check if the -dev extension is loaded ?

best regards
Halma
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: curses.h ncurses.h no suitable curses library found
« Reply #6 on: July 17, 2014, 06:34:34 AM »
either using the cpanel gui or:
Code: [Select]
$ ls -d /tmp/tcloop/*