LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problem compiling muffin... :-/ HELP needed!! (https://www.linuxquestions.org/questions/linux-software-2/problem-compiling-muffin-help-needed-4175454771/)

blackv1rus 03-19-2013 09:42 PM

problem compiling muffin... :-/ HELP needed!!
 
Hi I'm trying to compile muffin but I'm having this strange error, i have installed all the dependencies and now i get this every time any hints on what it could be??

Code:

CC    meta-window-group.lo
compositor/meta-window-group.c: In function 'meta_window_group_paint':
compositor/meta-window-group.c:125:3: warning: 'clutter_container_get_children' is deprecated (declared at /usr/include/clutter-1.0/clutter/deprecated/clutter-container.h:66): Use 'clutter_actor_get_children' instead [-Wdeprecated-declarations]
  CC    meta-window-shape.lo
  CC    region-utils.lo
  CC    above-tab-keycode.lo
  CC    constraints.lo
  CC    core.lo
  CC    delete.lo
  CC    display.lo
  CC    draw-workspace.lo
  CC    edge-resistance.lo
  CC    errors.lo
  CC    eventqueue.lo
  CC    frame.lo
  CC    gradient.lo
  CC    group-props.lo
  CC    group.lo
  CC    iconcache.lo
  CC    keybindings.lo
  CC    main.lo
core/main.c: In function 'meta_init':
core/main.c:395:3: warning: 'g_type_init' is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Wdeprecated-declarations]
  CC    place.lo
  CC    prefs.lo
  CC    screen.lo
  CC    session.lo
  CC    stack.lo
  CC    stack-tracker.lo
  CC    util.lo
  CC    window-props.lo
  CC    window.lo
  CC    workspace.lo
  CC    xprops.lo
  CC    frames.lo
  CC    menu.lo
  CC    metaaccellabel.lo
  CC    resizepopup.lo
  CC    tabpopup.lo
  CC    tile-preview.lo
  CC    theme-parser.lo
  CC    theme.lo
ui/theme.c: In function 'meta_gtk_widget_get_font_desc':
ui/theme.c:5902:3: warning: 'gtk_style_context_get_font' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkstylecontext.h:894): Use 'gtk_style_context_get' instead [-Wdeprecated-declarations]
ui/theme.c: In function 'meta_gtk_state_to_string':
ui/theme.c:6416:3: error: enumeration value 'GTK_STATE_FLAG_DIR_LTR' not handled in switch [-Werror=switch]
ui/theme.c:6416:3: error: enumeration value 'GTK_STATE_FLAG_DIR_RTL' not handled in switch [-Werror=switch]
cc1: all warnings being treated as errors
make[4]: *** [theme.lo] Error 1
make[4]: Leaving directory `/tmp/SBo/muffin-1.7.2/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/SBo/muffin-1.7.2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/SBo/muffin-1.7.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/muffin-1.7.2'
make: *** [all] Error 2
bash-4.2#


business_kid 03-20-2013 02:49 PM

[QUOTE][ui/theme.c:6416:3: error: enumeration value 'GTK_STATE_FLAG_DIR_LTR' not handled in switch [-Werror=switch]]/QUOTE]

Google that one. I suspect it may want a later gtk version?

blackv1rus 03-21-2013 05:56 PM

After a lot of brainf*ck I found out that with the option:

Code:

--enable-compile-warnings=no
solved the problem!


All times are GMT -5. The time now is 06:19 AM.