LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-13-2021, 04:05 PM   #1
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Debian64 stable, LFS 7.1
Posts: 499

Rep: Reputation: 163Reputation: 163
on macos 10.15, configure script can't find ncurses menu library


I don't have direct access to a macOS computer, but I'm trying to set up a program for testing on macos through a GitHub actions server. Trying to do it without brew because ncurses is supposed to be already installed. But the configure script can't find the menu library, and I don't know the locations of things on a Mac. I might be able to get it working by preceding the config script PKG_CONFIG_PATH or LDFLAGS, but I don't know what values I should try. Searching for the answer is yielding surprising few results.

Quote:
checking for ncursesw via pkg-config... yes
checking for working ncursesw/curses.h... no
checking for working ncursesw.h... no
checking for working ncurses.h... yes
checking for Curses Menu library with ncursesw/menu.h... no
checking for free_menu in -lmenu... no
configure: error: requires the Curses menu library.
 
Old 05-13-2021, 04:24 PM   #2
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Debian64 stable, LFS 7.1
Posts: 499

Original Poster
Rep: Reputation: 163Reputation: 163
Ah, found out that the ncurses shipped with macOS doesn't come with the menu library.

So using 'brew install ncurses' and using 'PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig" ./configure' seems like the best option.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell script with Menu and sub menu and in sub menu execute another shell script SHWE Linux - Newbie 9 11-03-2018 06:19 PM
[SOLVED] configure script report missing ncurses library when it is already installed. dbrazeau Linux - Software 1 10-03-2013 03:48 PM
how to print text in color by ncurses without opening a ncurses window Greatrebel Programming 0 12-20-2006 09:15 AM
can't find library - Termcap or Ncurses Mynar Linux - Newbie 2 03-04-2004 08:56 AM
ncurses-5.2-28 conflicts with file from package ncurses-5.2-12 tubby Linux - Software 4 06-16-2002 12:00 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration