TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Maurice Kinal
from: Felipe T. Dorado
date: 2006-09-05 12:43:58
subject: ld: no lncurses found

Hola Maurice :)


Now, let's see if I'm able to explain this  ;)


Jueves 31 Agosto 2006 23:44, Maurice Kinal escribió a Felipe T. Dorado:

[ trying to compile msged ]

 FTD>> /usr/bin/ld: no se puede encontrar -lncurses

 FTD>> I have ncurses installed:

 FTD>> ii  ncurses-base       5.4-9      Descriptions of common terminal
 FTD>> ii  ncurses-bin        5.4-9      Terminal-related programs and man
 FTDninguna>   (no hay ninguna descripci¢n
 FTD>> ii  ncurses-term       5.4-9      Additional terminal type

 MK> There is probably a ncurses-dev package for your distribution.

I'm afraid there isn't one as such, with that name at least. What there is
in Debian stable is:

libncurses5-dev  ver 5.4.4

But when I try to install it dpkg reports that it can't because the version
installed is libncurses5 ver 5.4.9 and ver 5.4.4 is not going to be
installed.

Ok, I downloaded libncurses5-dev_5.4-4_i386.deb from
http://packages.debian.org/stable/base/libncurses5   and tried installing
it but the output is:

Installing /var/cache/apt/archives/libncurses5-dev_5.4-4_i386.deb
Seleccionando el paquete libncurses5-dev previamente no seleccionado.
(Leyendo la base de datos ...
116950 ficheros y directorios instalados actualmente.)
Desempaquetando libncurses5-dev (de .../libncurses5-dev_5.4-4_i386.deb) ...
dpkg: problemas de dependencias impiden la configuración de libncurses5-dev:
 libncurses5-dev depende de libncurses5 (= 5.4-4); sin embargo:
  Versión de libncurses5  en el sistema es 5.4-9.
dpkg: error al procesar libncurses5-dev (--install):
 problemas de dependencias - se deja sin configurar
Se encontraron errores al procesar:
 libncurses5-dev

I think there is a way to force the install but I'm not confident enough to
try it in case I break something else in this stable installation. Not that
something really important with ncurses would break but that I might lose
track of what is going on  ;)


Right, let's pursue this:

 MK> What you really need is the ncurses header files in /usr/include

# ls -l /usr/include | grep curses
-rw-r--r--   1 root root   6314 2004-05-27 17:43 cursesapp.h
-rw-r--r--   1 root root  24742 2004-05-27 17:43 cursesf.h
-rw-r--r--   1 root root  55908 2004-05-27 17:43 curses.h
-rw-r--r--   1 root root  17877 2004-05-27 17:43 cursesm.h
-rw-r--r--   1 root root   7906 2004-05-27 17:43 cursesp.h
-rw-r--r--   1 root root  44138 2004-05-27 17:43 cursesw.h
-rw-r--r--   1 root root   1559 2004-05-27 17:43 ncurses_dll.h
lrwxrwxrwx   1 root root      8 2006-09-05 13:02 ncurses.h -> curses.h


 MK> as well as the libncurses.a normally in /usr/lib.

# ls -l /usr/lib/libncurses*
-rw-r--r--  1 root root 397586 2004-05-27 17:44 /usr/lib/libncurses.a
-rw-r--r--  1 root root 116352 2004-05-27 17:44 /usr/lib/libncurses++.a
lrwxrwxrwx  1 root root     20 2006-09-05 13:02 /usr/lib/libncurses.so
-> /lib/libncurses.so.5

 MK> Looks to me like you only have the
 MK> runtimes and not the development ncurses.  Find and install the
 MK> development ncurses for your distribution and you'll be all set.

See above. It is beyond me why I have what you mention but doews not semm
to be taken or used.
I really find all this not only confusing but also dissapointing and
surprising that the stable Debian should leave me stuck. Or so I find
myself. Unless there's something I have not done.

 MK> This is
 MK> one of the reasons I like to build my own Linux distribution or use
 MK> Slackware since all the major Linux distributions never seem to want you
 MK> to know how they do Linux.  :-)

I would also like to go LFS or build everything myself but I don't think
I'm ready yet.

You really think that in the case of Debian the dev people don't want you
to know how they do Linux  :?


 MK> I'd recommend you get the ncurses development for your distribution since
 MK> it is important and it'll probably break their apps if you don't do it
 MK> their way. It is too important.

All right, I've tried but find myself caught up in some dependency loop.
Once again because I've been here before and had to give up after several
frustrating tries.
Since husky is important for me I'll insist to exhaustion: compile or bust! ;)
But I'm getting worried as to how I'll explain this to not so convinced people.

I was planning to use goldedplus but since msged is what is recommended in
husky, that is what I'll install for this point.

Felipe :)

--- GoldED+/LNX 1.1.5
* Origin: El Zoco BBS, COrdoba, Espa-na, UE, Tierra, Sol, VL. (2:3 (2:345/702)
SEEN-BY: 633/267 270
@PATH: 345/702 341/66 14 261/38 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.