Corwind / termite-install

A termite installation script for Ubuntu users (and other Ubuntu-based distributions)
GNU General Public License v2.0
198 stars 42 forks source link

building issue on Ubuntu 16.04.04 #17

Open gbrissey opened 6 years ago

gbrissey commented 6 years ago

Running your script all seems to go well until Configuration/compilation. Termite fails to compile not sure what is significant in this build log, seems to go wring in the config.

--------------

Configuration.

--------------

Configuration for libvte 0.50.2 for gtk+-3.0 GNUTLS: yes Installing Glade catalogue: no Debugging: no Introspection: yes Vala bindings: yes Test application: yes git.mk: Generating .gitignore make[1]: Entering directory '/home/greg/Desktop/vte-ng/glade' git.mk: Generating .gitignore make[1]: Leaving directory '/home/greg/Desktop/vte-ng/glade' make all-recursive make[1]: Entering directory '/home/greg/Desktop/vte-ng' Making all in src make[2]: Entering directory '/home/greg/Desktop/vte-ng/src' GEN box_drawing.h GEN marshal.cc GEN marshal.h GEN vtetypebuiltins.cc GEN stamp-vtetypebuiltins.h GEN vteresources.cc GEN vteseq-list.h GEN vteseq-n.cc git.mk: Generating .gitignore make all-am make[3]: Entering directory '/home/greg/Desktop/vte-ng/src' CXX libvte_2_91_la-caps.lo CXX libvte_2_91_la-debug.lo CXX libvte_2_91_la-iso2022.lo CXX libvte_2_91_la-keymap.lo CXX libvte_2_91_la-matcher.lo CXX libvte_2_91_la-pty.lo CXX libvte_2_91_la-reaper.lo CXX libvte_2_91_la-ring.lo ring.cc: In function ‘void _vte_ring_rewrap(VteRing*, glong, VteVisualPosition)’: ring.cc:1222:9: warning: unused variable ‘paragraph_start_row’ [-Wunused-variable] gsize paragraph_start_row = old_row_index - 1; ^ ring.cc:1223:9: warning: variable ‘paragraph_end_row’ set but not used [-Wunused-but-set-variable] gsize paragraph_end_row; / points to beyond the end / ^ CXX libvte_2_91_la-table.lo CXX libvte_2_91_la-vte.lo vte.cc: In member function ‘void VteTerminalPrivate::emit_adjustment_changed()’: vte.cc:1929:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (current != v) { ^ vte.cc:1939:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (current != v) { ^ vte.cc:1960:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (v != m_screen->scroll_delta) { ^ vte.cc: In member function ‘void VteTerminalPrivate::queue_adjustment_value_changed(double)’: vte.cc:1985:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (v != m_screen->scroll_delta) { ^ vte.cc: In member function ‘void VteTerminalPrivate::adjust_adjustments_full()’: vte.cc:2044:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (v != 1) { ^ vte.cc:2054:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (v != m_row_count) { ^ vte.cc:2066:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (v != m_row_count) { ^ vte.cc: In member function ‘void VteTerminalPrivate::widget_leave(GdkEventCrossing)’: vte.cc:7455:14: warning: variable ‘pos’ set but not used [-Wunused-but-set-variable] auto pos = view_coords_from_event(base_event); ^ vte.cc: In member function ‘void VteTerminalPrivate::vadjustment_value_changed()’: vte.cc:7924:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dy != 0) { ^ vte.cc: In member function ‘void VteTerminalPrivate::expand_rectangle(cairo_rectangle_int_t&) const’: vte.cc:9488:31: warning: variable ‘old_rect’ set but not used [-Wunused-but-set-variable] cairo_rectangle_int_t old_rect = rect; ^ vte.cc: At global scope: vte.cc:199:1: warning: ‘gsize _vte_incoming_chunks_count(_vte_incoming_chunk)’ defined but not used [-Wunused-function] _vte_incoming_chunks_count (struct _vte_incoming_chunk chunk) ^ CXX libvte_2_91_la-vteaccess.lo CXX libvte_2_91_la-vteconv.lo CXX libvte_2_91_la-vtedraw.lo CXX libvte_2_91_la-vtegtk.lo CXX libvte_2_91_la-vteregex.lo CXX libvte_2_91_la-vterowdata.lo CXX libvte_2_91_la-vtespawn.lo CXX libvte_2_91_la-vteseq.lo CXX libvte_2_91_la-vtestream.lo CXX libvte_2_91_la-vtetree.lo CXX libvte_2_91_la-vtetypes.lo CXX libvte_2_91_la-vteunistr.lo CXX libvte_2_91_la-vteutils.lo CXX libvte_2_91_la-marshal.lo CXX libvte_2_91_la-vteresources.lo CXX libvte_2_91_la-vtetypebuiltins.lo CXXLD libvte-2.91.la ar: u' modifier ignored sinceD' is the default (see `U') CC testvte-vteapp.o CC testvte-debug.o CCLD testvte CXX interpret-caps.o CXX interpret-debug.o CXX interpret-iso2022.o CXX interpret-matcher.o CXX interpret-table.o CXX interpret-vteconv.o CXX interpret-vtetree.o CC interpret-interpret.o CXXLD interpret CC slowcat-slowcat.o CCLD slowcat make[3]: Leaving directory '/home/greg/Desktop/vte-ng/src' make[2]: Leaving directory '/home/greg/Desktop/vte-ng/src' Making all in bindings make[2]: Entering directory '/home/greg/Desktop/vte-ng/bindings' Making all in gir make[3]: Entering directory '/home/greg/Desktop/vte-ng/bindings/gir' GISCAN Vte-2.91.gir File "/usr/bin/g-ir-scanner", line 38 print "Caught exception: %r %r" % (exctype, value) ^ SyntaxError: invalid syntax /usr/share/gobject-introspection-1.0/Makefile.introspection:155: recipe for target 'Vte-2.91.gir' failed make[3]: [Vte-2.91.gir] Error 1 make[3]: Leaving directory '/home/greg/Desktop/vte-ng/bindings/gir' Makefile:448: recipe for target 'all-recursive' failed make[2]: [all-recursive] Error 1 make[2]: Leaving directory '/home/greg/Desktop/vte-ng/bindings' Makefile:574: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/home/greg/Desktop/vte-ng' Makefile:481: recipe for target 'all' failed make: [all] Error 2 Package vte-2.91 was not found in the pkg-config search path. Perhaps you should add the directory containing vte-2.91.pc' to the PKG_CONFIG_PATH environment variable No package 'vte-2.91' found Package vte-2.91 was not found in the pkg-config search path. Perhaps you should add the directory containingvte-2.91.pc' to the PKG_CONFIG_PATH environment variable No package 'vte-2.91' found g++ -std=c++11 -O3 -Wall -Wextra -pedantic -Winit-self -Wshadow -Wformat=2 -Wmissing-declarations -Wstrict-overflow=5 -Wcast-align -Wconversion -Wunused-macros -Wwrite-strings -DNDEBUG -D_POSIX_C_SOURCE=200809L -DTERMITE_VERSION=\"v13-11-g3e2c10f\" -Wno-missing-field-initializers -s -Wl,--as-needed termite.cc -o termite termite.cc:32:21: fatal error: gtk/gtk.h: No such file or directory compilation terminated. Makefile:36: recipe for target 'termite' failed make: [termite] Error 1 update-alternatives: error: alternative path /usr/local/bin/termite doesn't exist

Thanks for any help you might have.

aaditya09 commented 6 years ago

No package 'vte-2.91' found Which means the script failed to build vte-2.91, on digging it deeper it turns out this fails due to missing libtool package. Install following package and try again. apt install libtool