[Slackbuilds-users] Building 'murrine' fails on 14.0RC

David Woodfall dave at dawoodfall.net
Thu Aug 30 10:39:33 UTC 2012


On (09:40 23/08/12), Nicolas Kovacs <info at microlinux.fr> put forth the proposition:
>Hi,
>
>Just gave 'murrine' a spin. The build fails with the following error 
>messages:
>
>--8<--------------------------------------------------------------------
>Making all in schema
>make[1]: Entering directory `/tmp/microlinux/murrine-0.98.1.1/schema'
>LC_ALL=C /usr/bin/intltool-merge -x -u -c ../po/.intltool-merge-cache 
>../po murrine.xml.in murrine.xml
>Generating and caching the translation database
>Merging translations into murrine.xml.
>CREATED murrine.xml
>make[1]: Leaving directory `/tmp/microlinux/murrine-0.98.1.1/schema'
>make[1]: Entering directory `/tmp/microlinux/murrine-0.98.1.1'
>  CC     animation.lo
>In file included from ./src/animation.c:24:0:
>/usr/include/glib-2.0/glib/gtimer.h:28:2: error: #error "Only 
><glib.h> can be included directly."
>make[1]: *** [animation.lo] Error 1
>make[1]: Leaving directory `/tmp/microlinux/murrine-0.98.1.1'
>make: *** [all-recursive] Error 1
>--8<--------------------------------------------------------------------

This is rather a blunderbus technique but it works on most of the
sources that I've come across with this error:

find . -name "*.[ch]" | xargs sed -i 's%glib/.*.h%glib.h%g'

D.


More information about the SlackBuilds-users mailing list