我想將RLWrap安裝到我的mac os x(Snow Leopard)中,我有XCode,並且能夠成功運行./configure
命令,但是當我嘗試make
命令時,出現以下錯誤:rlwrap mac os x安裝錯誤
make all-recursive Making all in doc make[2]: Nothing to be done for `all'. Making all in src gcc -DHAVE_CONFIG_H -I. -I..
-DDATADIR=\"/usr/local/share\" -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c main.c: In function ‘read_options_and_command_name’: main.c:775: error: ‘rl_basic_quote_characters’ undeclared (first use in this function) main.c:775: error: (Each undeclared identifier is reported only once main.c:775: error: for each function it appears in.) make[2]: * [main.o] Error 1 make[1]: [all-recursive] Error 1 make: ** [all] Error 2
任何人有任何想法的原因呢?
代碼看起來破損。這個從哪裏來? – trojanfoe 2013-02-26 15:58:49
這實際上只是RLWrap安裝程序,一些指南在線指出,一旦./configure完成(運行)'make'和'make install',運行第一次make後就會發生這種情況。 – 2013-02-26 16:56:20