Closed bsmith89 closed 6 years ago
Wow, a circular dependency between ncurses
and libgpm
? That's not fun at all. Really not. For weird situations like this Linux From Scratch usually has helpful information. Off the top of my head, I'd suggest trying adding an option like --without-gpm
(you'll have to check its exact name with ./configure --help
) to the configure
command of ncurses
.
--without-gpm
appears to be the correct flag, but brew install ncurses --without-gpm
fails with the same error.
It would appear that that flag is not being passed through to the configure
script.
I am able to build and install ncurses myself with the --without-gpm
flag.
I was able to solve my issue by adding that flag directly to the formula. I am curious why the flag wasn't being passed through, though.
Glad to hear that you got it working! You do have to add the flag to the formula. There's no automatic passing of brew
command line arguments to the configure
command. Please submit a pull request.
brew update
and retried your prior step?brew doctor
, fixed as many issues as possible and retried your prior step?Bug reports:
ncurses
is required for many packages, butbrew install ncurses
fails with the following:libgpm
itself requiresncurses
, sobrew install libgpm
doesn't help.gist-logs link: https://gist.github.com/86e900649aeb67b561041639bda39c39.