Εγκατάσταση gtkdialog

...IDE, compilers, κλπ

Συντονιστής: konnn

Εγκατάσταση gtkdialog

Δημοσίευσηαπό clepto » 12 Σεπ 2011, 20:46

Καλησπέρα παιδιά, θέλω να εγκαταστήσω το gtkdialog για να το δουλέψω μετά...
με
Κώδικας: Επιλογή όλων
sudo apt-get install gtkdialog
δεν βρίσκει το πακέτο οπότε βρήκα αυτό ftp://linux.pte.hu/pub/gtkdialog/fedora-core-1/
βλέπω όμως ότι η τελευταία έκδοση είναι από το 2007 (;)
τέλος πάντων, κατέβασα και εγώ το gtkdialog-0.7.16.tar.gz και πήγα να το κάνω compile και στην εντολή Make έχω σφάλμα
Κώδικας: Επιλογή όλων
chris@chris-Aspire-5732Z:~$ cd /home/chris/Λήψεις/gtkdialog-0.7.16
chris@chris-Aspire-5732Z:~/Λήψεις/gtkdialog-0.7.16$ ./configurechecking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... yes
checking for GTHREAD... yes
checking for GLADE_LIB... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for setlocale... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gtkdialog.spec
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating examples/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
chris@chris-Aspire-5732Z:~/Λήψεις/gtkdialog-0.7.16$ make
make all-recursive
make[1]: Entering directory `/home/chris/Λήψεις/gtkdialog-0.7.16'
Making all in src
make[2]: Entering directory `/home/chris/Λήψεις/gtkdialog-0.7.16/src'
make all-am
make[3]: Entering directory `/home/chris/Λήψεις/gtkdialog-0.7.16/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -DHAVE_GLADE_LIB=1 -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
main.c: In function ‘set_program_source’:
main.c:348:14: warning: assignment discards qualifiers from pointer target type
main.c: In function ‘get_program_from_file’:
main.c:227:9: warning: ignoring return value of ‘getline’, declared with attribute warn_unused_result
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -DHAVE_GLADE_LIB=1 -g -O2 -MT variables.o -MD -MP -MF ".deps/variables.Tpo" -c -o variables.o variables.c; \
then mv -f ".deps/variables.Tpo" ".deps/variables.Po"; else rm -f ".deps/variables.Tpo"; exit 1; fi
variables.c: In function ‘_tree_insert’:
variables.c:387:3: warning: too few arguments for format
variables.c: In function ‘print_variables’:
variables.c:752:6: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘gpointer’
variables.c:754:6: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘gpointer’
variables.c: In function ‘_variables_initialize’:
variables.c:567:10: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -DHAVE_GLADE_LIB=1 -g -O2 -MT gtkdialog_parser.o -MD -MP -MF ".deps/gtkdialog_parser.Tpo" -c -o gtkdialog_parser.o gtkdialog_parser.c; \
then mv -f ".deps/gtkdialog_parser.Tpo" ".deps/gtkdialog_parser.Po"; else rm -f ".deps/gtkdialog_parser.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -DHAVE_GLADE_LIB=1 -g -O2 -MT gtkdialog_lexer.o -MD -MP -MF ".deps/gtkdialog_lexer.Tpo" -c -o gtkdialog_lexer.o gtkdialog_lexer.c; \
then mv -f ".deps/gtkdialog_lexer.Tpo" ".deps/gtkdialog_lexer.Po"; else rm -f ".deps/gtkdialog_lexer.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -DHAVE_GLADE_LIB=1 -g -O2 -MT stack.o -MD -MP -MF ".deps/stack.Tpo" -c -o stack.o stack.c; \
then mv -f ".deps/stack.Tpo" ".deps/stack.Po"; else rm -f ".deps/stack.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -DHAVE_GLADE_LIB=1 -g -O2 -MT automaton.o -MD -MP -MF ".deps/automaton.Tpo" -c -o automaton.o automaton.c; \
then mv -f ".deps/automaton.Tpo" ".deps/automaton.Po"; else rm -f ".deps/automaton.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -DHAVE_GLADE_LIB=1 -g -O2 -MT attributes.o -MD -MP -MF ".deps/attributes.Tpo" -c -o attributes.o attributes.c; \
then mv -f ".deps/attributes.Tpo" ".deps/attributes.Po"; else rm -f ".deps/attributes.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -DHAVE_GLADE_LIB=1 -g -O2 -MT stringman.o -MD -MP -MF ".deps/stringman.Tpo" -c -o stringman.o stringman.c; \
then mv -f ".deps/stringman.Tpo" ".deps/stringman.Po"; else rm -f ".deps/stringman.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -DHAVE_GLADE_LIB=1 -g -O2 -MT widgets.o -MD -MP -MF ".deps/widgets.Tpo" -c -o widgets.o widgets.c; \
then mv -f ".deps/widgets.Tpo" ".deps/widgets.Po"; else rm -f ".deps/widgets.Tpo"; exit 1; fi
widgets.c: In function ‘on_any_progress_bar_realized’:
widgets.c:1243:4: warning: passing argument 4 of ‘g_object_set_data_full’ from incompatible pointer type
/usr/include/glib-2.0/gobject/gobject.h:498:13: note: expected ‘GDestroyNotify’ but argument is of type ‘void (*)(struct progr_descr *)’
widgets.c: In function ‘save_edit_to_file’:
widgets.c:265:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
widgets.c: In function ‘fill_edit_by_file’:
widgets.c:302:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
widgets.c: In function ‘fill_label_by_file’:
widgets.c:228:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -DHAVE_GLADE_LIB=1 -g -O2 -MT actions.o -MD -MP -MF ".deps/actions.Tpo" -c -o actions.o actions.c; \
then mv -f ".deps/actions.Tpo" ".deps/actions.Po"; else rm -f ".deps/actions.Tpo"; exit 1; fi
actions.c: In function ‘action_shellcommand’:
actions.c:345:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
actions.c:351:8: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -DHAVE_GLADE_LIB=1 -g -O2 -MT tag_attributes.o -MD -MP -MF ".deps/tag_attributes.Tpo" -c -o tag_attributes.o tag_attributes.c; \
then mv -f ".deps/tag_attributes.Tpo" ".deps/tag_attributes.Po"; else rm -f ".deps/tag_attributes.Tpo"; exit 1; fi
tag_attributes.c: In function ‘try_set_property’:
tag_attributes.c:102:5: warning: unknown conversion type character ‘(’ in format
tag_attributes.c:106:4: warning: unknown conversion type character ‘(’ in format
tag_attributes.c:110:4: warning: unknown conversion type character ‘(’ in format
tag_attributes.c:114:4: warning: unknown conversion type character ‘(’ in format
tag_attributes.c:118:4: warning: unknown conversion type character ‘(’ in format
tag_attributes.c:122:4: warning: unknown conversion type character ‘(’ in format
tag_attributes.c:126:4: warning: unknown conversion type character ‘(’ in format
tag_attributes.c:130:4: warning: unknown conversion type character ‘(’ in format
tag_attributes.c:134:4: warning: unknown conversion type character ‘(’ in format
tag_attributes.c:138:4: warning: unknown conversion type character ‘(’ in format
tag_attributes.c:142:4: warning: unknown conversion type character ‘(’ in format
tag_attributes.c:153:4: warning: unknown conversion type character ‘(’ in format
tag_attributes.c:157:4: warning: unknown conversion type character ‘(’ in format
tag_attributes.c:161:4: warning: unknown conversion type character ‘(’ in format
tag_attributes.c:165:4: warning: unknown conversion type character ‘(’ in format
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -DHAVE_GLADE_LIB=1 -g -O2 -MT glade_support.o -MD -MP -MF ".deps/glade_support.Tpo" -c -o glade_support.o glade_support.c; \
then mv -f ".deps/glade_support.Tpo" ".deps/glade_support.Po"; else rm -f ".deps/glade_support.Tpo"; exit 1; fi
glade_support.c:43:3: error: ‘signal’ redeclared as different kind of symbol
/usr/include/signal.h:101:23: note: previous declaration of ‘signal’ was here
make[3]: *** [glade_support.o] Error 1
make[3]: Leaving directory `/home/chris/Λήψεις/gtkdialog-0.7.16/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/chris/Λήψεις/gtkdialog-0.7.16/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chris/Λήψεις/gtkdialog-0.7.16'
make: *** [all] Error 2


μετά κατέβασα ένα rpm και το έκανα deb με το alien αλλά όταν πήγα να το εγκαταστήσω μου έβγαλε ότι μπορεί να προκαλέσει πολλές ζημιές στον υπολογιστή μου και το έκλεισα...
οπότε τώρα τι κάνω;
1 Γνώσεις Linux: Ικανοποιητικό ┃ Προγραμματισμού: Ικανοποιητικό ┃ Αγγλικών: Ικανοποιητικό
2 Ubuntu 13.04 raring 3.8.0-30-generic 64bit (en_US.UTF-8, Unity ubuntu), Ubuntu 3.8.0-19-generic, Windows 7
3 Intel Core i7-3537U CPU @ 2.00GHz ‖ RAM 3840 MiB ‖ ASUS K56CB
4 Intel 3rd Gen Core processor Graphics Controller [8086:0166] {i915}
5 wlan0: Atheros Inc. AR9485 Wireless Network Adapter [168c:0032] (rev 01) ⋮ eth0: Realtek RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168] (rev 0a)
clepto
antiwinTUX
antiwinTUX
 
Δημοσιεύσεις: 4102
Εγγραφή: 07 Ιαν 2010, 16:27
Τοποθεσία: Πάτρα
Launchpad: christriant
IRC: Clepto
Εκτύπωση

Re: Εγκατάσταση gtkdialog

Δημοσίευσηαπό medigeek » 12 Σεπ 2011, 22:18

Δε θα προσπαθούσα περισσότερο, μιας και δεν υποστηρίζεται πλέον:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543945
έγραψε:Please remove gtkdialog from the archive: it is not supported anymore by
upstream and we have better alternatives in the archive.


Η τελευταία έκδοση είναι η 0.7.20: ftp://linux.pte.hu/pub/gtkdialog/gtkdia ... .20.tar.gz (2007)

Εναλλακτικά:
zenity:
http://stackoverflow.com/questions/9280 ... sh-scripts

yad:
http://code.google.com/p/yad/
http://code.google.com/p/yad/wiki/Examples

Εκτός από αυτό το yad (δεν το δοκίμασα), δυστυχώς φαίνεται πως για bash υπάρχουν μόνο διάλογοι (τύπου Yes/No)... :(

Εμ.. εδώ υπάρχει ένα πακέτο gtkdialog για arch linux: http://www.archlinux.org/packages/commu ... gtkdialog/ ( αλλά πιθανότατα θα αφαιρεθεί σύντομα, είναι στο "community cleanup")
Source code: http://projects.archlinux.org/svntogit/ ... /gtkdialog
Έχουν ένα patch που το κάνει να δουλεύει υποθέτω...
Κύπριος; Κόπιασε στο ubuntu-cy! ┃ Launchpad Debian Github
Οδηγός για νεοεισερχόμενους -- Αρχικές οδηγίες για αρχάριους χρήστες του Ubuntu

1 Γνώσεις Linux: Πολύ καλό ┃ Προγραμματισμού: Πολύ καλό ┃ Αγγλικών: Πολύ καλό
2 Ubuntu 12.10 quantal 3.5.0-21-generic 64bit (en_US.UTF-8, GNOME cinnamon2d), Ubuntu 3.5.0-19-generic, Windows 7
3 Intel Core2 Duo CPU E6550 2.33GHz ‖ RAM 5970 MiB ‖ MSI MS-7235
4 nVidia G73 [GeForce 7300 GT] [10de:0393] {nvidia}
5 eth0: Realtek RTL-8110SC/8169SC Gigabit Ethernet [10ec:8167] (rev 10)
Άβαταρ μέλους
medigeek
Freedom
Freedom
 
Δημοσιεύσεις: 5023
Εγγραφή: 24 Μάιος 2008, 14:49
Τοποθεσία: Σερβία/Κύπρος
Launchpad: medigeek
IRC: savvas
Εκτύπωση

Re: Εγκατάσταση gtkdialog

Δημοσίευσηαπό clepto » 12 Σεπ 2011, 22:25

δηλαδή άμα θέλω γραφικό περιβάλλον σε bash δεν μπορώ...ωραία...τι να πω...
θα κατεβάσω του arch linux...
ευχαριστώ!
1 Γνώσεις Linux: Ικανοποιητικό ┃ Προγραμματισμού: Ικανοποιητικό ┃ Αγγλικών: Ικανοποιητικό
2 Ubuntu 13.04 raring 3.8.0-30-generic 64bit (en_US.UTF-8, Unity ubuntu), Ubuntu 3.8.0-19-generic, Windows 7
3 Intel Core i7-3537U CPU @ 2.00GHz ‖ RAM 3840 MiB ‖ ASUS K56CB
4 Intel 3rd Gen Core processor Graphics Controller [8086:0166] {i915}
5 wlan0: Atheros Inc. AR9485 Wireless Network Adapter [168c:0032] (rev 01) ⋮ eth0: Realtek RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168] (rev 0a)
clepto
antiwinTUX
antiwinTUX
 
Δημοσιεύσεις: 4102
Εγγραφή: 07 Ιαν 2010, 16:27
Τοποθεσία: Πάτρα
Launchpad: christriant
IRC: Clepto
Εκτύπωση

Re: Εγκατάσταση gtkdialog

Δημοσίευσηαπό clepto » 12 Σεπ 2011, 22:29

αφού πλέον δεν είναι εγκατεστημένο και δεν μπορείς να το εγκαταστήσεις αν εγώ το βάλω στο arch και φτιάξω αυτό που θέλω θα τρέχει σε άλλα συστήματα που δεν έχουν εγκατεστημένο το πακέτο του arch;

πχ προσπάθησε να τρέξεις αυτό
Κώδικας: Επιλογή όλων
#! /bin/bash

export MAIN_DIALOG='
<vbox>
<text>
<label>This is a label...</label>
</text>
<hbox>
<button ok></button>
<button cancel></button>
</hbox>
</vbox>'

gtkdialog --program MAIN_DIALOG
δεν θα στο τρέξει...
οπότε δεν έχει νόημα να κάτσω να διαβάσω gtkdialog...
οπότε πάμε σε pygtk...σκέφτηκα να κάνω το script σε python, βασικά θα κάνω import της βιβλιοθήκες και τα λοιπά που θέλω και μετά θα κάνω import os το bash με όλο το script που έχω τώρα σε bash αλλά τζάμπα θα χάσω τον χρόνο μου

θα μείνω με το zenity!
είσαι σίγουρος ότι το glade δεν δουλεύει με bash;
1 Γνώσεις Linux: Ικανοποιητικό ┃ Προγραμματισμού: Ικανοποιητικό ┃ Αγγλικών: Ικανοποιητικό
2 Ubuntu 13.04 raring 3.8.0-30-generic 64bit (en_US.UTF-8, Unity ubuntu), Ubuntu 3.8.0-19-generic, Windows 7
3 Intel Core i7-3537U CPU @ 2.00GHz ‖ RAM 3840 MiB ‖ ASUS K56CB
4 Intel 3rd Gen Core processor Graphics Controller [8086:0166] {i915}
5 wlan0: Atheros Inc. AR9485 Wireless Network Adapter [168c:0032] (rev 01) ⋮ eth0: Realtek RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168] (rev 0a)
clepto
antiwinTUX
antiwinTUX
 
Δημοσιεύσεις: 4102
Εγγραφή: 07 Ιαν 2010, 16:27
Τοποθεσία: Πάτρα
Launchpad: christriant
IRC: Clepto
Εκτύπωση

Re: Εγκατάσταση gtkdialog

Δημοσίευσηαπό medigeek » 13 Σεπ 2011, 10:18

Μπορείς να φτιάξεις δικό σου ubuntu ppa και να κάνεις build το gtkdialog αν επιμένεις στη χρήση του gtkdialog. Θα πρέπει φυσικά να μάθεις πώς να φτιάχνεις πακέτο debian και δεν είναι εύκολη δουλειά. :)
Πιο εύκολο θα ήταν να χρησιμοποιήσεις python + glade:
http://ubuntuforums.org/showthread.php?t=1519746
http://www.micahcarrick.com/gtk-glade-t ... art-1.html

Υπήρχε ένα ποστ στα ελληνικά για το glade / python αλλά δεν το θυμάμαι, το έφτιαξε ένας χρήστης του φόρουμ. :)
Κύπριος; Κόπιασε στο ubuntu-cy! ┃ Launchpad Debian Github
Οδηγός για νεοεισερχόμενους -- Αρχικές οδηγίες για αρχάριους χρήστες του Ubuntu

1 Γνώσεις Linux: Πολύ καλό ┃ Προγραμματισμού: Πολύ καλό ┃ Αγγλικών: Πολύ καλό
2 Ubuntu 12.10 quantal 3.5.0-21-generic 64bit (en_US.UTF-8, GNOME cinnamon2d), Ubuntu 3.5.0-19-generic, Windows 7
3 Intel Core2 Duo CPU E6550 2.33GHz ‖ RAM 5970 MiB ‖ MSI MS-7235
4 nVidia G73 [GeForce 7300 GT] [10de:0393] {nvidia}
5 eth0: Realtek RTL-8110SC/8169SC Gigabit Ethernet [10ec:8167] (rev 10)
Άβαταρ μέλους
medigeek
Freedom
Freedom
 
Δημοσιεύσεις: 5023
Εγγραφή: 24 Μάιος 2008, 14:49
Τοποθεσία: Σερβία/Κύπρος
Launchpad: medigeek
IRC: savvas
Εκτύπωση

Re: Εγκατάσταση gtkdialog

Δημοσίευσηαπό Ilias95 » 13 Σεπ 2011, 12:15

medigeek έγραψε:Υπήρχε ένα ποστ στα ελληνικά για το glade / python αλλά δεν το θυμάμαι, το έφτιαξε ένας χρήστης του φόρουμ. :)

Μάλλον εννοείς το Γνωριμία με το glade του sv1jsb.
Ilias95
saintTUX
saintTUX
 
Δημοσιεύσεις: 1548
Εγγραφή: 29 Απρ 2011, 23:26
Εκτύπωση

Re: Εγκατάσταση gtkdialog

Δημοσίευσηαπό clepto » 13 Σεπ 2011, 12:36

ναι το γνωρίζω για τον οδηγό αλλά δεν γνωρίζω καλή python :P
1 Γνώσεις Linux: Ικανοποιητικό ┃ Προγραμματισμού: Ικανοποιητικό ┃ Αγγλικών: Ικανοποιητικό
2 Ubuntu 13.04 raring 3.8.0-30-generic 64bit (en_US.UTF-8, Unity ubuntu), Ubuntu 3.8.0-19-generic, Windows 7
3 Intel Core i7-3537U CPU @ 2.00GHz ‖ RAM 3840 MiB ‖ ASUS K56CB
4 Intel 3rd Gen Core processor Graphics Controller [8086:0166] {i915}
5 wlan0: Atheros Inc. AR9485 Wireless Network Adapter [168c:0032] (rev 01) ⋮ eth0: Realtek RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168] (rev 0a)
clepto
antiwinTUX
antiwinTUX
 
Δημοσιεύσεις: 4102
Εγγραφή: 07 Ιαν 2010, 16:27
Τοποθεσία: Πάτρα
Launchpad: christriant
IRC: Clepto
Εκτύπωση

Re: Εγκατάσταση gtkdialog

Δημοσίευσηαπό Ilias95 » 13 Σεπ 2011, 12:42

clepto έγραψε:ναι το γνωρίζω για τον οδηγό αλλά δεν γνωρίζω καλή python :P

Ακόμα προλαβαίνεις: http://www.swaroopch.com/notes/Python_el:Περιεχόμενα :P
Ilias95
saintTUX
saintTUX
 
Δημοσιεύσεις: 1548
Εγγραφή: 29 Απρ 2011, 23:26
Εκτύπωση

Re: Εγκατάσταση gtkdialog

Δημοσίευσηαπό clepto » 13 Σεπ 2011, 13:32

θέλω κάποια στιγμή να μάθω python αλλά έχω ήδη το πρόγραμμα έτοιμο σε bash, να το αρχίσω ξανά σε python; είναι πολύ κουραστική ιδέα...
1 Γνώσεις Linux: Ικανοποιητικό ┃ Προγραμματισμού: Ικανοποιητικό ┃ Αγγλικών: Ικανοποιητικό
2 Ubuntu 13.04 raring 3.8.0-30-generic 64bit (en_US.UTF-8, Unity ubuntu), Ubuntu 3.8.0-19-generic, Windows 7
3 Intel Core i7-3537U CPU @ 2.00GHz ‖ RAM 3840 MiB ‖ ASUS K56CB
4 Intel 3rd Gen Core processor Graphics Controller [8086:0166] {i915}
5 wlan0: Atheros Inc. AR9485 Wireless Network Adapter [168c:0032] (rev 01) ⋮ eth0: Realtek RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168] (rev 0a)
clepto
antiwinTUX
antiwinTUX
 
Δημοσιεύσεις: 4102
Εγγραφή: 07 Ιαν 2010, 16:27
Τοποθεσία: Πάτρα
Launchpad: christriant
IRC: Clepto
Εκτύπωση

Re: Εγκατάσταση gtkdialog

Δημοσίευσηαπό medigeek » 13 Σεπ 2011, 13:41

Το zenity τότε είναι μια καλή επιλογή. :)
Κύπριος; Κόπιασε στο ubuntu-cy! ┃ Launchpad Debian Github
Οδηγός για νεοεισερχόμενους -- Αρχικές οδηγίες για αρχάριους χρήστες του Ubuntu

1 Γνώσεις Linux: Πολύ καλό ┃ Προγραμματισμού: Πολύ καλό ┃ Αγγλικών: Πολύ καλό
2 Ubuntu 12.10 quantal 3.5.0-21-generic 64bit (en_US.UTF-8, GNOME cinnamon2d), Ubuntu 3.5.0-19-generic, Windows 7
3 Intel Core2 Duo CPU E6550 2.33GHz ‖ RAM 5970 MiB ‖ MSI MS-7235
4 nVidia G73 [GeForce 7300 GT] [10de:0393] {nvidia}
5 eth0: Realtek RTL-8110SC/8169SC Gigabit Ethernet [10ec:8167] (rev 10)
Άβαταρ μέλους
medigeek
Freedom
Freedom
 
Δημοσιεύσεις: 5023
Εγγραφή: 24 Μάιος 2008, 14:49
Τοποθεσία: Σερβία/Κύπρος
Launchpad: medigeek
IRC: savvas
Εκτύπωση

Επόμενο

  • ΣΧΕΤΙΚΑ ΘΕΜΑΤΑ
    ΑΠΑΝΤΗΣΕΙΣ
    ΠΡΟΒΟΛΕΣ
    ΣΥΓΓΡΑΦΕΑΣ

Επιστροφή στο Εφαρμογές για Ανάπτυξη Λογισμικού