pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/29425: package games/netmaj fails build



SUNAGAWA Keiki wrote:

Hi,

There are lines as hbelow in netmaj's Makefile.

----------
# for linux
.if (${OPSYS} == "Linux")
CC=cc
OS_CFLAGS= -O -DUSE_TERMIOS -DUSE_TERMCAP -DDEF_OPTARG -DHAVE_GETTIMEOFDAY
RANLIB=ranlib
LIBS = CURSES= lib/libcurses.a -ltermcap LDFLAGS = -Llib .endif
----------

"client" is linked to /usr/lib/libtermcap.so.0 in NetBSD.
What is the corresponding library in Mandrake Linux?


Release:        latest cvs pkgsrc bootstrapped to Mandrake Linux 10.1 i386
Organization:
Environment:
Linux localhost.localdomain 2.6.8.1-12mdk #1 Fri Oct 1 12:53:41 CEST 2004 i686 
AMD Athlon(tm) XP 2800+ unknown GNU/Linux
Description:
cc -I. -Ilib -DNETMAJ_LIB=\"/usr/pkg/lib/netmaj\" -O -DUSE_TERMIOS 
-DUSE_TERMCAP -DDEF_OPTARG -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c cui.c
cui.c:181: warning: built-in function 'log' declared as non-function
cc -o client client.o cui.o libnetmaj.a -Llib  lib/libcurses.a -ltermcap
/usr/bin/ld: cannot find -ltermcap
collect2: ld returned 1 exit status
*** Error code 1

Stop.

--
SUNAGAWA Keiki <kei_sun%ba2.so-net.ne.jp@localhost>

Sorry, but my technical knowledge is inadequate to permit me to answer your question.
How could I find out which library "client" is linked to?

Thanks anyway and greetings,

Lux



Home | Main Index | Thread Index | Old Index