端末での make および sudo make install コマンドエラー

端末での make および sudo make install コマンドエラー

私はBackBox Linuxバージョン4.6を実行しています。

GdMapバージョン0.8.1をインストールしてみてください。

私は次のように入力しました:

./configure

それから:

make

これが私が得るものです:

make all-recursive make1: Entering directory /home/wh1t3ni9ht/Desktop/New Folder/gdmap-0.8.1'
Making all in src
make[2]: Entering directory/home/wh1t3ni9ht/Desktop/New Folder/gdmap-0.8.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -DGDMAP_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/local/share/gdmap"\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -DGTK_DISABLE_DEPRECATED -I/usr/include/libxml2 -g -O2 -W -Wall -D_GNU_SOURCE -Wno-pointer-sign -MT gdmap-gui_support.o -MD -MP -MF .deps/gdmap-gui_support.Tpo -c -o gdmap-gui_support.o test -f 'gui_support.c' || echo './'gui_support.c gui_support.c: In function ‘on_ebox_enter’: gui_support.c:88:3: warning: implicit declaration of function ‘GTK_WIDGET_SENSITIVE’ [-Wimplicit-function-declaration] if (GTK_WIDGET_SENSITIVE(label)) { ^ gui_support.c: In function ‘ui_create_event_label’: gui_support.c:167:3: warning: implicit declaration of function ‘GTK_OBJECT_FLAGS’ [-Wimplicit-function-declaration] GTK_WIDGET_SET_FLAGS(ebox, GTK_CAN_FOCUS); ^ In file included from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35:0, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from gui_support.c:10: /usr/include/gtk-2.0/gtk/gtkwidget.h:459:80: error: lvalue required as left operand of assignment #define GTK_WIDGET_SET_FLAGS(wid,flag) G_STMT_START{ (GTK_WIDGET_FLAGS (wid) |= (flag)); }G_STMT_END ^ gui_support.c:167:3: note: in expansion of macro ‘GTK_WIDGET_SET_FLAGS’ GTK_WIDGET_SET_FLAGS(ebox, GTK_CAN_FOCUS); ^ make[2]: * [gdmap-gui_support.o] Error 1 make[2]: Leaving directory /home/wh1t3ni9ht/Desktop/New Folder/gdmap-0.8.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory/home/wh1t3ni9ht/Desktop/New Folder/gdmap-0.8.1' make: * [all] Error 2

どうすればいいですか?

答え1

端末からGdMapをインストールできます

sudo apt-get install gdmap -y

-yパラメーターは自動的に依存関係を受け入れます。

関連情報