Open Jaso-N7 opened 9 years ago
I have the exact same problem, the exact same error messages and number of errors! Are there any solutions to this. I followed the instructions perfectly just as @Jaso-N7
I will boot up a FreeBSD release shortly to fix this :)
So how long is 'shortly'?
I just pushed updated instructions on how to install termite on FreeBSD. I just tested this :) Could you confirm it works?
First of all, THANK YOU very much for taking the effort to produce a port for this terminal emulator. The work you put in and the instructions are very appreciated. I just found out about this terminal and wanted to replace urxvt with it.
However in trying to build it on my setup, I encountered an error at the last moment. I hope you can clear this up for me or point me in the right direction.
Fresh install: FreeBSD 10.2-RELEASE #0 r286666
What I did: Following all the instructions and making the preliminary adjustments to the files, I cloned the repo as instructed, then I copied Makefile.freebsd into the termite directory, renaming it to Makefile of course, and making a backup of the original Makefile. Then,
command: gmake clang++ -std=c++11 -stdlib=libc++ -O3 -Wall -Wextra -pedantic -Winit-self -Wshadow -Wformat=2 -Wmissing-declarations -Wstrict-overflow=5 -Wcast-align -Wcast-qual -Wconversion -Wunused-macros -Wwrite-strings -DNDEBUG -D_POSIX_C_SOURCE=200112L -DTERMITE_VERSION=\"v10-15-gfa9a4b0\" -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/vte-2.90 -DVTE_SEAL_ENABLE -pthread -D_THREAD_SAFE -Wimplicit-fallthrough termite.cc -L/usr/local/lib -lvte2_90 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lpthread -lX11 -lXext -o termite In file included from termite.cc:40: In file included from /usr/local/include/gtk-3.0/gdk/gdkx.h:30: In file included from /usr/local/include/X11/Xlib.h:47: [1m/usr/local/include/X11/Xfuncproto.h:157:24: [0m[0;1;35mwarning: [0m[1mnamed variadic macros are a GNU extension [-Wvariadic-macros][0m
define _X_NONNULL(args...) attribute((nonnull(args)))
[0;1;32m ^ [0m[1mtermite.cc:398:5: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'vte_terminal_unselect_all'; did you mean 'vte_terminal_select_all'?[0m vte_terminal_unselect_all(vte); [0;1;32m ^
~~~~~~~~ [0m[0;32m vte_terminal_select_all [0m[1m/usr/local/include/vte-2.90/vte/vte.h:297:6: [0m[0;1;30mnote: [0m'vte_terminal_select_all' declared here[0m void vte_terminal_select_all(VteTerminal _terminal); [0;1;32m ^ [0m[1mtermite.cc:446:5: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'vte_terminal_unselect_all'; did you mean 'vte_terminal_select_all'?[0m vte_terminal_unselect_all(vte); [0;1;32m ^~~~~~~~~ [0m[0;32m vte_terminal_select_all [0m[1m/usr/local/include/vte-2.90/vte/vte.h:297:6: [0m[0;1;30mnote: [0m'vte_terminal_select_all' declared here[0m void vte_terminal_select_all(VteTerminal terminal); [0;1;32m ^ [0m[1mtermite.cc:508:38: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'vte_terminal_get_selection'; did you mean 'vte_terminal_get_has_selection'?[0m auto selection = make_unique(vte_terminal_get_selection(vte), g_free); [0;1;32m ^~~~~~[0m[0;32m vte_terminal_get_has_selection [0m[1m/usr/local/include/vte-2.90/vte/vte.h:402:10: [0m[0;1;30mnote: [0m'vte_terminal_get_has_selection' declared here[0m gboolean vte_terminal_get_has_selection(VteTerminal terminal); [0;1;32m ^ [0m[1mtermite.cc:508:26: [0m[0;1;31merror: [0m[1mno matching function for call to 'make_unique'[0m auto selection = make_unique(vte_terminal_get_selection(vte), g_free); [0;1;32m ^~~[0m[1m./util/memory.hh:7:29: [0m[0;1;30mnote: [0mcandidate template ignored: could not match 'T ' against 'gboolean' (aka 'int')[0m std::unique_ptr<T, Deleter> make_unique(T p, Deleter d) { [0;1;32m ^ [0m[1mtermite.cc:694:21: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'vte_terminal_get_font_scale'[0m gdouble scale = vte_terminal_get_font_scale(vte); [0;1;32m ^ [0m[1mtermite.cc:698:13: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'vte_terminal_set_font_scale'; did you mean 'vte_terminal_set_font'?[0m vte_terminal_set_font_scale(vte, it); [0;1;32m ^~~~~~~ [0m[0;32m vte_terminal_set_font [0m[1m/usr/local/include/vte-2.90/vte/vte.h:394:6: [0m[0;1;30mnote: [0m'vte_terminal_set_font' declared here[0m void vte_terminal_set_font(VteTerminal terminal, [0;1;32m ^ [0m[1mtermite.cc:698:46: [0m[0;1;31merror: [0m[1mcannot initialize a parameter of type 'const PangoFontDescription ' (aka 'const _PangoFontDescription ') with an lvalue of type 'const double'[0m vte_terminal_set_font_scale(vte, it); [0;1;32m ^~~ [0m[1m/usr/local/include/vte-2.90/vte/vte.h:395:35: [0m[0;1;30mnote: [0mpassing argument to parameter 'font_desc' here[0m const PangoFontDescription font_desc); [0;1;32m ^ [0m[1mtermite.cc:705:21: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'vte_terminal_get_font_scale'[0m gdouble scale = vte_terminal_get_font_scale(vte); [0;1;32m ^ [0m[1mtermite.cc:709:13: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'vte_terminal_set_font_scale'; did you mean 'vte_terminal_set_font'?[0m vte_terminal_set_font_scale(vte, it); [0;1;32m ^~~~~~~ [0m[0;32m vte_terminal_set_font [0m[1m/usr/local/include/vte-2.90/vte/vte.h:394:6: [0m[0;1;30mnote: [0m'vte_terminal_set_font' declared here[0m void vte_terminal_set_font(VteTerminal terminal, [0;1;32m ^ [0m[1mtermite.cc:709:46: [0m[0;1;31merror: [0m[1mcannot initialize a parameter of type 'const PangoFontDescription ' (aka 'const _PangoFontDescription ') with an lvalue of type 'const double'[0m vte_terminal_set_font_scale(vte, it); [0;1;32m ^~~ [0m[1m/usr/local/include/vte-2.90/vte/vte.h:395:35: [0m[0;1;30mnote: [0mpassing argument to parameter 'font_desc' here[0m const PangoFontDescription font_desc); [0;1;32m ^ [0m[1mtermite.cc:1115:5: [0m[0;1;31merror: [0m[1mno matching function for call to 'vte_terminal_search_set_gregex'[0m vte_terminal_search_set_gregex(vte, regex, (GRegexMatchFlags)0); [0;1;32m ^~~~~~~~~~ [0m[1m/usr/local/include/vte-2.90/vte/vte.h:472:11: [0m[0;1;30mnote: [0mcandidate function not viable: requires 2 arguments, but 3 were provided[0m void vte_terminal_search_set_gregex (VteTerminal terminal, [0;1;32m ^ [0m[1mtermite.cc:1118:9: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'vte_terminal_unselect_all'; did you mean 'vte_terminal_select_all'?[0m vte_terminal_unselect_all(vte); [0;1;32m ^~~~~~~~~ [0m[0;32m vte_terminal_select_all [0m[1m/usr/local/include/vte-2.90/vte/vte.h:297:6: [0m[0;1;30mnote: [0m'vte_terminal_select_all' declared here[0m void vte_terminal_select_all(VteTerminal terminal); [0;1;32m ^ [0m[1mtermite.cc:1240:5: [0m[0;1;31merror: [0m[1mno matching function for call to 'vte_terminal_set_colors'[0m vte_terminal_set_colors(vte, nullptr, nullptr, palette.data(), palette.size()); [0;1;32m ^~~~~~~ [0m[1m/usr/local/include/vte-2.90/vte/vte.h:336:6: [0m[0;1;30mnote: [0mcandidate function not viable: no known conversion from 'value_type ' (aka '_GdkRGBA ') to 'const GdkColor ' (aka 'const _GdkColor ') for 4th argument[0m void vte_terminal_set_colors(VteTerminal terminal, [0;1;32m ^ [0m[1mtermite.cc:1242:9: [0m[0;1;31merror: [0m[1mno matching function for call to 'vte_terminal_set_color_foreground'[0m vte_terminal_set_color_foreground(vte, &_color); [0;1;32m ^~~~~~~~~ [0m[1m/usr/local/include/vte-2.90/vte/vte.h:328:6: [0m[0;1;30mnote: [0mcandidate function not viable: no known conversion from 'GdkRGBA ' to 'const GdkColor ' (aka 'const _GdkColor ') for 2nd argument[0m void vte_terminal_set_color_foreground(VteTerminal terminal, [0;1;32m ^ [0m[1mtermite.cc:1243:9: [0m[0;1;31merror: [0m[1mno matching function for call to 'vte_terminal_set_color_bold'[0m vte_terminal_set_color_bold(vte, &_color); [0;1;32m ^~~~~~~ [0m[1m/usr/local/include/vte-2.90/vte/vte.h:326:6: [0m[0;1;30mnote: [0mcandidate function not viable: no known conversion from 'GdkRGBA ' to 'const GdkColor ' (aka 'const _GdkColor ') for 2nd argument[0m void vte_terminal_set_color_bold(VteTerminal terminal, [0;1;32m ^ [0m[1mtermite.cc:1246:9: [0m[0;1;31merror: [0m[1mno matching function for call to 'vte_terminal_set_color_bold'[0m vte_terminal_set_color_bold(vte, &_color); [0;1;32m ^~~~~~~ [0m[1m/usr/local/include/vte-2.90/vte/vte.h:326:6: [0m[0;1;30mnote: [0mcandidate function not viable: no known conversion from 'GdkRGBA ' to 'const GdkColor ' (aka 'const _GdkColor ') for 2nd argument[0m void vte_terminal_set_color_bold(VteTerminal terminal, [0;1;32m ^ [0m[1mtermite.cc:1249:9: [0m[0;1;31merror: [0m[1mno matching function for call to 'vte_terminal_set_color_background'[0m vte_terminal_set_color_background(vte, &_color); [0;1;32m ^~~~~~~~~ [0m[1m/usr/local/include/vte-2.90/vte/vte.h:330:6: [0m[0;1;30mnote: [0mcandidate function not viable: no known conversion from 'GdkRGBA ' to 'const GdkColor ' (aka 'const _GdkColor ') for 2nd argument[0m void vte_terminal_set_color_background(VteTerminal terminal, [0;1;32m ^ [0m[1mtermite.cc:1253:9: [0m[0;1;31merror: [0m[1mno matching function for call to 'vte_terminal_set_color_cursor'[0m vte_terminal_set_color_cursor(vte, &_color); [0;1;32m ^~~~~~~~~ [0m[1m/usr/local/include/vte-2.90/vte/vte.h:332:6: [0m[0;1;30mnote: [0mcandidate function not viable: no known conversion from 'GdkRGBA ' to 'const GdkColor ' (aka 'const _GdkColor ') for 2nd argument[0m void vte_terminal_set_color_cursor(VteTerminal terminal, [0;1;32m ^ [0m[1mtermite.cc:1256:9: [0m[0;1;31merror: [0m[1mno matching function for call to 'vte_terminal_set_color_highlight'[0m vte_terminal_set_color_highlight(vte, &_color); [0;1;32m ^~~~~~~~ [0m[1m/usr/local/include/vte-2.90/vte/vte.h:334:6: [0m[0;1;30mnote: [0mcandidate function not viable: no known conversion from 'GdkRGBA ' to 'const GdkColor ' (aka 'const _GdkColor ') for 2nd argument[0m void vte_terminal_set_color_highlight(VteTerminal *terminal, [0;1;32m ^ [0m[1mtermite.cc:1508:10: [0m[0;1;35mwarning: [0m[1m'gtk_alignment_new' is deprecated [-Wdeprecated-declarations][0m gtk_alignment_new(0, 0, 1, 1), [0;1;32m ^ [0m[1m/usr/local/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: [0m[0;1;30mnote: [0m'gtk_alignmentnew' declared here[0m GtkWidget gtk_alignment_new (gfloat xalign, [0;1;32m ^ [0m[1mtermite.cc:1535:31: [0m[0;1;35mwarning: [0m[1m'gtk_alignment_get_type' is deprecated [-Wdeprecated-declarations][0m gtk_alignment_set_padding(GTK_ALIGNMENT(info.panel.panel), 5, 5, 5, 5); [0;1;32m ^ [0m[1m/usr/local/include/gtk-3.0/gtk/deprecated/gtkalignment.h:39:81: [0m[0;1;30mnote: [0mexpanded from macro 'GTK_ALIGNMENT'[0mdefine GTK_ALIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ALIGNMENT, GtkAlignment))
[0;1;32m ^ [0m[1m/usr/local/include/gtk-3.0/gtk/deprecated/gtkalignment.h:38:46: [0m[0;1;30mnote: [0mexpanded from macro 'GTK_TYPE_ALIGNMENT'[0m
define GTK_TYPE_ALIGNMENT (gtk_alignment_get_type ())
[0;1;32m ^ [0m[1m/usr/local/include/glib-2.0/gobject/gtype.h:479:92: [0m[0;1;30mnote: [0mexpanded from macro 'G_TYPE_CHECK_INSTANCE_CAST'[0m
define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type))
[0;1;32m ^ [0m[1m/usr/local/include/glib-2.0/gobject/gtype.h:2186:61: [0m[0;1;30mnote: [0mexpanded from macro '_G_TYPECIC'[0m ((ct) g_type_check_instancecast ((GTypeInstance) ip, gt)) [0;1;32m ^ [0m[1m/usr/local/include/gtk-3.0/gtk/deprecated/gtkalignment.h:77:12: [0m[0;1;30mnote: [0m'gtk_alignment_get_type' declared here[0m GType gtk_alignment_get_type (void) G_GNUC_CONST; [0;1;32m ^ [0m[1mtermite.cc:1535:5: [0m[0;1;35mwarning: [0m[1m'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations][0m gtk_alignment_set_padding(GTK_ALIGNMENT(info.panel.panel), 5, 5, 5, 5); [0;1;32m ^ [0m[1m/usr/local/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: [0m[0;1;30mnote: [0m'gtk_alignment_set_padding' declared here[0m void gtk_alignment_set_padding (GtkAlignment alignment, [0;1;32m ^ [0m[0;1;31mfatal error: [0m[1mtoo many errors emitted, stopping now [-ferror-limit=][0m 4 warnings and 20 errors generated. Makefile:38: recipe for target 'termite' failed gmake: ** [termite] Error 1
If you need any further information, please let me know.