Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#22277 closed defect (duplicate)

gtkmm-2.16.0 build failure

Reported by: francois.bodet@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: build failure Cc:
Port: gtkmm

Description

I try to install gtkmm, but I get the error :

$ sudo port install gtkmm
Password:
--->  Computing dependencies for gtkmm
--->  Building gtkmm
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtkmm/work/gtkmm-2.16.0" && /usr/bin/make -j2 all " returned error 2
Command output: Making all in gdk
/usr/bin/make  all-recursive
Making all in src
make[4]: Nothing to be done for `all'.
Making all in gdkmm
Making all in private
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
Making all in gtk
/usr/bin/make  all-recursive
Making all in src
make[4]: Nothing to be done for `all'.
Making all in gtkmm
Making all in private
make[5]: Nothing to be done for `all'.
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"gtkmm\"   -I../../gtk -I../../gtk -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/giomm-2.4 -I/opt/local/lib/giomm-2.4/include -I/opt/local/include/cairomm-1.0 -I/opt/local/lib/cairomm-1.0/include -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/opt/local/include/pangomm-1.4 -I/opt/local/include/pango-1.0 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/gtk-unix-print-2.0 -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include      -g -O2 -Wall -MT recentinfo.lo -MD -MP -MF .deps/recentinfo.Tpo -c -o recentinfo.lo recentinfo.cc
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"gtkmm\"   -I../../gtk -I../../gtk -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/giomm-2.4 -I/opt/local/lib/giomm-2.4/include -I/opt/local/include/cairomm-1.0 -I/opt/local/lib/cairomm-1.0/include -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/opt/local/include/pangomm-1.4 -I/opt/local/include/pango-1.0 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/gtk-unix-print-2.0 -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include      -g -O2 -Wall -MT scrollbar.lo -MD -MP -MF .deps/scrollbar.Tpo -c -o scrollbar.lo scrollbar.cc
 g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"gtkmm\" -I../../gtk -I../../gtk -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/giomm-2.4 -I/opt/local/lib/giomm-2.4/include -I/opt/local/include/cairomm-1.0 -I/opt/local/lib/cairomm-1.0/include -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/opt/local/include/pangomm-1.4 -I/opt/local/include/pango-1.0 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/gtk-unix-print-2.0 -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -g -O2 -Wall -MT recentinfo.lo -MD -MP -MF .deps/recentinfo.Tpo -c recentinfo.cc  -fno-common -DPIC -o .libs/recentinfo.o
 g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"gtkmm\" -I../../gtk -I../../gtk -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/giomm-2.4 -I/opt/local/lib/giomm-2.4/include -I/opt/local/include/cairomm-1.0 -I/opt/local/lib/cairomm-1.0/include -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/opt/local/include/pangomm-1.4 -I/opt/local/include/pango-1.0 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/gtk-unix-print-2.0 -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -g -O2 -Wall -MT scrollbar.lo -MD -MP -MF .deps/scrollbar.Tpo -c scrollbar.cc  -fno-common -DPIC -o .libs/scrollbar.o
recentinfo.cc: In member function 'bool Gtk::RecentInfo::get_application_info(const Glib::ustring&, Glib::StringArrayHandle&, guint&, time_t&) const':
recentinfo.cc:192: error: invalid conversion from 'gchar**' to 'const gchar**'
recentinfo.cc:192: error:   initializing argument 3 of 'gboolean gtk_recent_info_get_application_info(GtkRecentInfo*, const gchar*, const gchar**, guint*, time_t*)'
make[5]: *** [recentinfo.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
mv -f .deps/scrollbar.Tpo .deps/scrollbar.Plo
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Thanks,

iMac Intel Core 2 Duo 2,16 GHz, Mac OS 10.6.1, Xcode 3.2, Mac Ports 1.8.1

Change History (2)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: francois.bodet@… removed
Resolution: duplicate
Status: newclosed

Duplicate of #21955.

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: gtkmm-2.18.2 build failuregtkmm-2.16.0 build failure

Looks like you were using gtkmm-2.16.0, not 2.18.2. Please "sudo port selfupdate" to update your MacPorts and your port definitions to get the update, then try again.

Note: See TracTickets for help on using tickets.