开发者

Compiling NCURSES src on HPUX

I am trying to compile ncurses-5.7 from source and after running ./configure I ge开发者_开发技巧t the following error:

configure: error: Your compiler does not appear to recognize prototypes.
You have the following choices:
        a. adjust your compiler options
        b. get an up-to-date compiler
        c. use a wrapper such as unproto

how can I fix this error?


As configure output suggests, you should either install an HPUX version of gcc or use unproto as a wrapper


Commenting the following line in configure file worked.

export CC="cc"

Got the answer from Here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜