LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Build fails in current: gtkimageview-1.6.4 (https://www.linuxquestions.org/questions/slackware-14/build-fails-in-current-gtkimageview-1-6-4-a-788987/)

damgar 02-14-2010 02:25 AM

Build fails in current: gtkimageview-1.6.4
 
I can not get gtkimageview-1.6.4 to build in current. It fails with a number of errors of type:
Code:

gtkanimview.c: In function 'gtk_anim_view_get_type':
/usr/include/glib-2.0/glib/gthread.h:339: error: dereferencing pointer 'value_location.1' does break strict-aliasing rules
/usr/include/glib-2.0/glib/gthread.h:339: note: initialized from here


XGizzmo 02-14-2010 05:40 AM

Pulled from gentoo's ebuild apply these two seds and run autoreconf. Hope it helps.

Code:

# Prevent excessive build failures due to gcc changes
  sed -e '/CFLAGS/s/-Werror //g' -i configure.in

# Prevent excessive build failures due to glib/gtk changes
  sed '/DEPRECATED_FLAGS/d' -i configure.in


damgar 02-14-2010 10:18 AM

That worked perfectly! Thank You.


All times are GMT -5. The time now is 01:05 AM.