[Slackbuilds-users] inkscape and gtkmm

Ben Mendis dragonwisard at gmail.com
Fri Apr 16 20:30:34 UTC 2010


Are you using Slackware-current?

The "invalid conversion..." error was introduced by a changed in GCC-4.4.x.
Slackware-current uses GCC-4.4.3

Read: http://gcc.gnu.org/gcc-4.4/porting_to.html

On Fri, Apr 16, 2010 at 4:14 PM, caio <elcaio at gmail.com> wrote:

> Hello, I want to install inkscape, then to satisfy dependencies i also
> install:
>
> cairomm-1.8.0-i486-1_SBo
> gc-7.1-i486-1_SBo
> glibmm-2.18.2-i486-1_SBo
> gsl-1.13-i486-1_SBo
> libsigc++-2.2.3-i486-1_SBo
> numpy-1.3.0-i486-1_SBo
> pangomm-2.14.1-i486-1_SBo
> ptlib-2.6.6-i486-1_SBo
> atk-1.26.0-i486-1
> gtk+2-2.18.7-i486-2
>
> But when I want to compile gtkmm (v2.14.3), it complains with:
>
> <...cut...>
>  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/usr/include/glibmm-2.4
> -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0
> -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/giomm-2.4
> -I/usr/lib/giomm-2.4/include -I/usr/include/cairomm-1.0
> -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
> -I/usr/include/libpng14 -I/usr/include/pangomm-1.4
> -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/gtk-unix-print-2.0 -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -O2 -march=i486 -mtune=i686 -Wall -MT
> recentinfo.lo -MD -MP -MF .deps/recentinfo.Tpo -c recentinfo.cc  -fPIC
> -DPIC -o .libs/recentinfo.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]: Leaving directory `/tmp/SBo/gtkmm-2.14.3/gtk/gtkmm'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/tmp/SBo/gtkmm-2.14.3/gtk/gtkmm'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/tmp/SBo/gtkmm-2.14.3/gtk'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/tmp/SBo/gtkmm-2.14.3/gtk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/SBo/gtkmm-2.14.3'
> make: *** [all] Error 2
>
> I see gtkmm requirements, and it list:
>
> gtkmm_min_glibmm_version=2.18.0
> gtkmm_min_giomm_version=2.18.0
> gtkmm_min_gtk_version=2.14.0
> gtkmm_min_cairomm_version=1.2.2
> gtkmm_min_pangomm_version=2.14.0
>
> What is wrong? Can anybody tell me what i'm missing?
>
> Thanks for your help.
> Caio
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20100416/cfa9a2a6/attachment.htm>


More information about the SlackBuilds-users mailing list