bug-bash
[Top][All Lists]
Advanced

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

libcurses linked, but deactivated


From: Al Elgert
Subject: libcurses linked, but deactivated
Date: Mon, 6 Nov 2000 21:12:28 +0100 (MET)

Configuration Information [Automatically generated, do not change]:
Machine: sparc
OS: solaris2.7
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc' 
-DCONF_OSTYPE='solaris2.7' -DCONF_MACHTYPE='sparc-sun-solaris2.7' 
-DCONF_VENDOR='sun' -DSHELL  -DHAVE_CONFIG_H  -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -I. -I./include -I./lib 
-I/usr/local/include -g
uname output: SunOS sun6 5.7 Generic_106541-12 sun4m sparc SUNW,SPARCstation-20
Machine Type: sparc-sun-solaris2.7

Bash Version: 2.04
Patch Level: 0
Release Status: release

Description:
        I tried to get rid of curses, but I ran into an desaster.

        On configure I said :
                CC='cc' configure --prefix=/usr/local --enable-static-link 
--without-curses
        but it compiled curses in.

        The ldd of bash gives the following text:

        libcurses.so.1 =>        /usr/lib/libcurses.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1


Repeat-By:
        see above
       
Fix:
        I tried to change a few configuration options, but the result was never
        a binary without curses.
        The first of these following lines did not work at all.

        CC=cc configure --prefix=/usr/local --enable-static-link 
--without-curses --includedir=/usr/local
        CC='cc -I /usr/local/include' configure --prefix=/usr/local 
--enable-static-link --without-curses
        mkdir /tmp/LX/include; cp /usr/local/include/termcap.h /tmp/LX/include; 
CC='cc -I /tmp/LX/include' configure --prefix=/usr/local --enable-static-link 
--without-curses          



reply via email to

[Prev in Thread] Current Thread [Next in Thread]