Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: MethodOne on December 09, 2008, 03:31:51 PM

Title: ncurses development headers missing
Post by: MethodOne on December 09, 2008, 03:31:51 PM
When I try to compile Finch (the console version of Pidgin), I get the following message:

Code: [Select]
configure: error:

Finch will not be built.  You need to install ncursesw (or ncurses) and its development headers.

My CPPFLAGS are "-I/usr/local/include -I/usr/include" and my LDFLAGS are "-L/usr/local/lib -L/usr/lib"

Where do i find the development headers for ncurses?  I have the compiletc.tce extension installed.
Title: Re: ncurses development headers missing
Post by: mikshaw on December 09, 2008, 07:19:50 PM
http://www.tinycorelinux.com/files/release/src/

I'm assuming you don't need to compile ncurses since the libs are already in tc...just copy the headers into an appropriate include directory
Title: Re: ncurses development headers missing
Post by: hjkl on December 09, 2008, 07:36:59 PM
I compiled some apps that need Ncurses with compiletc.tce.

0e718639040e05ca7a3822f1a7d1163e  compiletc.tce

So, the development headers are there.
I just did the simple './configure' and 'make' for my apps.
I did not move the headers at all.
But, I have not tried to compile Finch though.
Title: Re: ncurses development headers missing
Post by: mikshaw on December 09, 2008, 08:18:27 PM
I don't recall seeing ncurses headers in the compiletc.tcz extension (2008/09/26); maybe the tce version is different.
Title: Re: ncurses development headers missing
Post by: Juanito on December 09, 2008, 10:54:09 PM
The ncurses header files should be there (they are in my copy).

Note that (apparently):

1. some apps expect to find the headers in /usr/include/ncurses
2. some older apps look for -lcurses rather than -lncurses

Maybe you could try making symlinks for the above and see if that helps?