pkgsrc-Bugs archive

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

Re: pkg/50490 (ccmake doesn't work)



The following reply was made to PR pkg/50490; it has been noted by GNATS.

From: Patrick Welche <prlw1%cam.ac.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: prlw1%cam.ac.uk@localhost
Subject: Re: pkg/50490 (ccmake doesn't work)
Date: Thu, 28 Jul 2016 10:20:52 +0100

 To avoid wondering whether ncurses is ncurses or NetBSD curses, I just
 grabbed git cmake, applied the
 
      if(NOT CMAKE_SYSTEM_NAME MATCHES syllable)
 -      set(CURSES_NEED_NCURSES TRUE)
        find_package(Curses QUIET)
 
 and test for initsrc() failure patches, and built on -current/amd64.
 As seen in an xterm sshing in:
 
 $ ldd bin/ccmake
 bin/ccmake:
         -lexecinfo.0 => /usr/lib/libexecinfo.so.0
         -lelf.2 => /usr/lib/libelf.so.2
         -lc.12 => /usr/lib/libc.so.12
         -lcurses.7 => /usr/lib/libcurses.so.7
         -lterminfo.1 => /usr/lib/libterminfo.so.1
         -lstdc++.7 => /usr/lib/libstdc++.so.7
         -lm.0 => /usr/lib/libm.so.0
 $ stty -a
 speed 38400 baud; 51 rows; 80 columns; queue = 1024; line = termios;
 ...
 $ bin/ccmake ..
 Window is too small. A size of at least 65 x 6 is required to run ccmake.
 
 A bit of debugging suggests getmaxyx in ccmake's main() returned x=1 y=32640
 
 A cmake 3.6.1 pkgsrc package I made works, but seems to actually use ncurses:
 
 $ ldd /usr/pkg/bin/ccmake
 /usr/pkg/bin/ccmake:
         -lexecinfo.0 => /usr/lib/libexecinfo.so.0
         -lelf.2 => /usr/lib/libelf.so.2
         -lc.12 => /usr/lib/libc.so.12
         -lform.6 => /usr/pkg/lib/libform.so.6
         -lncurses.6 => /usr/pkg/lib/libncurses.so.6
         -lexpat.2 => /usr/lib/libexpat.so.2
         -lz.1 => /usr/lib/libz.so.1
         -larchive.13 => /usr/pkg/lib/libarchive.so.13
         -lcrypto.11 => /usr/lib/libcrypto.so.11
         -lcrypt.1 => /usr/lib/libcrypt.so.1
         -llzma.2 => /usr/lib/liblzma.so.2
         -lpthread.1 => /usr/lib/libpthread.so.1
         -lbz2.1 => /usr/lib/libbz2.so.1
         -lcurl.4 => /usr/pkg/lib/libcurl.so.4
         -lidn.11 => /usr/pkg/lib/libidn.so.11
         -lintl.1 => /usr/lib/libintl.so.1
         -lssl.11 => /usr/lib/libssl.so.11
         -lgssapi.10 => /usr/lib/libgssapi.so.10
         -lkrb5.26 => /usr/lib/libkrb5.so.26
         -lhx509.5 => /usr/lib/libhx509.so.5
         -lasn1.9 => /usr/lib/libasn1.so.9
         -lcom_err.7 => /usr/lib/libcom_err.so.7
         -lroken.19 => /usr/lib/libroken.so.19
         -lutil.7 => /usr/lib/libutil.so.7
         -lwind.0 => /usr/lib/libwind.so.0
         -lheimbase.1 => /usr/lib/libheimbase.so.1
         -lheimntlm.4 => /usr/lib/libheimntlm.so.4
         -lstdc++.7 => /usr/lib/libstdc++.so.7
         -lm.0 => /usr/lib/libm.so.0
 
 (I am still confused about
 
 $ make show-var VARNAME=CURSES_DEFAULT
 ncurses
 $ make show-var VARNAME=CURSES_TYPE
 ncurses
 
 on -current/amd64)
 


Home | Main Index | Thread Index | Old Index