On Thu, 26 Apr 2012 16:12:47 +0100
"Dr.-Ing. Edgar Alwers" <[email protected]> wrote:

> Hi Andy,
> 
> I am building sylpheed using your desktop utilities Version 2012-02-19.
> On my 4.7.2 system, no problems. On my new built 4.8.2 system I get, 
> independent from the sylpheed version ( last I used 3.1.4 ) an error when 
> starting "make":
> -------------------------
> In file included from /usr/include/glib-2.0/glibconfig.h:9:0,
>                  from defs.h:27,
>                  from account.c:24:
> /usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can 
> be included directly."
> make[3]: *** [account.lo] Error 1
> make[3]: Leaving directory `/sources_BLFS/sylpheed-3.1.4/libsylph'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/sources_BLFS/sylpheed-3.1.4/libsylph'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/sources_BLFS/sylpheed-3.1.4'
> make: *** [all] Error 2
> ---------------------------
> 
> Could you perhaps help ?

Sorry for being slow to reply, I've been busy. These commands allow Sylpheed to 
build for me:

  sed -i '/#include <glib\/gi18n-lib.h>/d' $(grep -rl '<glib/' .)
  sed -i 's#glibconfig.h#glib.h#' libsylph/defs.h
  ./configure --prefix=/usr --sysconfdir=/etc
  make
  make install

I don't have time to update that page just now.

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to