#50129: ghc @7.8.3_4 build failure: Missing C library: ncursesw ---------------------------+-------------------------------- Reporter: alexmptrac@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ghc | ---------------------------+-------------------------------- Comment (by alexmptrac@…): Replying to [comment:3 ryandesign@…]:
I'm a little confused by the line in the log that says:
{{{ :info:build configure: loading site script /usr/local/share/config.site }}}
Does this file exist? If so what does it contain?
Oh, well spotted. That was indeed causing the ncurses problem. I didn't think Macports would see it because it was under /usr rather than /opt. (It was actually a workaround for a problem I ran into a few months ago when compiling something that isn't in Macports.) I have removed the offending /usr/local/share/config.site file and done a 'sudo port clean ghc' and 'sudo port install ghc' and the build gets much further, but eventually dies with a linker error. I will attach the new log file. -- Ticket URL: <https://trac.macports.org/ticket/50129#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X