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.
精彩评论