pkgsrc-Bugs archive

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

pkg/51779: devel/cmake requires libncurses5-dev on ubuntu 16.04



>Number:         51779
>Category:       pkg
>Synopsis:       devel/cmake requires libncurses5-dev on ubuntu 16.04
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 05 08:15:00 +0000 2017
>Originator:     Michael P Huff
>Release:        pkgsrc-2016Q4
>Organization:
>Environment:
Linux mph 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

>Description:
I am using Mint 18/amd64, which is based on Ubuntu 16.04. I am able to bootstrap pkgsrc and even build gcc 6. However, when I tried to compile clang and emulators/tme both failed with errors because of a dependancy on cmake. Cmake would not compile, spewing the following error:

-- Looking for cbreak in /usr/pkg/lib/libncurses.so - found
CMake Error at CMakeLists.txt:546 (message):
  CMAKE_USE_SYSTEM_FORM in ON but CURSES_FORM_LIBRARY is not set!
Call Stack (most recent call first):   
  CMakeLists.txt:635 (CMAKE_BUILD_UTILITIES)


-- Configuring incomplete, errors occurred!
See also "/usr/pkgsrc/devel/cmake/work/cmake-3.7.1/CMakeFiles/CMakeOutput.log".
See also "/usr/pkgsrc/devel/cmake/work/cmake-3.7.1/CMakeFiles/CMakeError.log".
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
*** Error code 11

Stop.
bmake[7]: stopped in /usr/pkgsrc/devel/cmake
*** Error code 1

Stop.
bmake[6]: stopped in /usr/pkgsrc/devel/cmake
*** Error code 1

Stop.
bmake[5]: stopped in /usr/pkgsrc/lang/libLLVM
*** Error code 1

Stop.
bmake[4]: stopped in /usr/pkgsrc/graphics/MesaLib
*** Error code 1

Stop.
bmake[3]: stopped in /usr/pkgsrc/graphics/cairo
*** Error code 1

Stop.
bmake[2]: stopped in /usr/pkgsrc/devel/pango
*** Error code 1

Stop.
bmake[1]: stopped in /usr/pkgsrc/x11/gtk2
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/emulators/tme
>How-To-Repeat:
on a ubuntu/16.04 system, bootstrap pkgsrc and try to compile devel/cmake
>Fix:
I was able to get cmake to compile and install by installing ubuntu's ncurses dev package: 

apt-get install libncurses5-dev

I'm not sure if that's a fix or a workaround.



Home | Main Index | Thread Index | Old Index