Unsuccessful MAGIC installation #198
Replies: 2 comments 1 reply
-
display.c in the readline code needs However, the fact that readline is compiling suggests that you are compiling the non-Tcl/Tk version of magic, which will cause you to lose a huge number of features. I suggest making sure that you have all the dependencies, in particular the |
Beta Was this translation helpful? Give feedback.
-
The original problem reported here is believed to be properly fixed via this recent commit in the queue 4ec7467 While I understand the OP may have worked around the issue by using Maybe an upgraded readline (current is 8.x) if we look here: We can see at some point readline was changed due to incorrect use of feature_test_macros(7) |
Beta Was this translation helpful? Give feedback.
-
Hi, I been trying to install MAGIC in:
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal
I been following the: ./configure, make, make install steps.
during make, prints several warnings, and at the end the following:
display.c: In function ‘rl_redisplay’:
display.c:602:15: error: implicit declaration of function ‘wcwidth’ [-Werror=implicit-function-declaration]
602 | temp = wcwidth (wc);
The error with make install is:
: warning: "CAD_DIR" redefined
: note: this is the location of the previous definition
make[2]: *** No rule to make target '../garouter/libgarouter.o', needed by 'magic'. Stop.
make[2]: *** No rule to make target '../utils/libutils.a', needed by 'net2ir'. Stop.
Here are the outputs.
config.txt
make.txt
make_install.txt
I also tried with ./configure --disable-readline without succeed.
Any ideas?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions