On Sun, 15 Jan 2012 18:23:55 +0000
spiky <[email protected]> wrote:

> I,m trying to install libunique-1.1.2 or1.1.6, on LFS7
> 
> I receive an error

>    CC     libunique_dbus_la-uniquebackend-dbus.lo
> uniquebackend-dbus.c: In function 'unique_backend_dbus_request_name':
> uniquebackend-dbus.c:87:22: error: variable 'backend_dbus' set but not 
> used [-Werror=unused-but-set-variable]
> uniquebackend-dbus.c: In function 'unique_backend_dbus_send_message':
> uniquebackend-dbus.c:189:12: error: variable 'res' set but not used 
> [-Werror=unused-but-set-variable]
> cc1: all warnings being treated as errors

> Any ideas plz

I install libunique like this:

sed -i '/DG_DISABLE_DEPRECATED/d' unique/Makefile.in
./configure --prefix=/usr --disable-static
sed -i 's#  -Werror ##' unique/dbus/Makefile
make
make install

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