2

I am running BackBox Linux version 4.6.

Trying to install GdMap version 0.8.1.

I've entered:

./configure

and then:

make

and this is what I got:

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

What should I do?

11
  • 1
    first off, it may not be the best idea to store the sources in New Folder, as it contains space Jan 28, 2017 at 13:47
  • @Vlastimil That should make no difference when building something underneath it.
    – Kusalananda
    Jan 28, 2017 at 14:05
  • @Kusalananda I suppose it should not as you say. I better rephrase that: I would only suggest not to use directory names containing space as this is a bad habit under Linux systems. Nothing more, but nothing less. Jan 28, 2017 at 14:44
  • 1
    How did u install GTK, did you compiled it? If you did then you need to specify a path. You may try sudo apt-get install libgtk2.0-dev
    – Luka
    Jan 28, 2017 at 16:59
  • 1
    I really can't tell... It should tell you which dependencies are missing ... There is not reason to use make if the program is available in Ubuntu repository, especially if you are new in linux.. please accept my answer if it worked. Thank you. You may want to read this cyberciti.biz/faq/install-tarballs
    – Luka
    Jan 28, 2017 at 17:58

1 Answer 1

1

You can install GdMap from Terminal

sudo apt-get install gdmap -y

-y parameter automatically accepts dependencies.

1
  • I have removed the comments since they are no longer relevant. However, please note that constructive criticism is a good thing and both of the comments you flagged were saying something useful.
    – terdon
    Jan 29, 2017 at 16:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .