On Monday 23 January 2006 02:24, oleksandr korneta wrote:
> on 01/22/2006 05:58 PM Holger Macht wrote:
> > Should be no problem to use it on x86_64 architecture. I just have to
> > find a x86_64 machine and setup FC4 on it. Hopefully I will have the time
> > this week...
>
> ok, I've got some result.
> First of all I've installed dbus-0.50 (rebuild from source rpm)
> along with dbus-devel-0.50 and dbus-glib-0.50. Then I did the same with
> hal and hal-devel upgraded these to version 0.5.6. Moreover, the src.rpm
> of hal that I found wanted pm-utils >0.04, therefore I had to upgrade
> that one too (I got version 0.06 also rebuild from src.rpm). Thus,
> finally seems like all the dependencies for rebuilding powersave are
> satisfied.
> However when I try to do
> rpmbuild --rebuild powersave-0.11.2-1.FC4.src.rpm
>
> somewhere in the end, when the compilation is almost over   it gives me
> some strange error.


This is IMO a bug in the files section of the spec files for x86_64, where the 
lib is not in /usr/lib but in /usr/lib64/. 

Try to change this:
----------------------------------------
%files -f power-management.lang
%defattr(-,root,root)

%_sbindir/*
%_bindir/powersave
%_prefix/lib/powersave
%_mandir/*/*
%config /etc/init.d/powersaved
%config /etc/dbus-1/system.d/powersave.conf
/etc/acpi/events.ignore/events.ignore
/etc/powersave
%_docdir/%name
----------------------------------------
To this:
----------------------------------------
%files -f power-management.lang
%defattr(-,root,root)

%_sbindir/*
%_bindir/powersave
%_libdir/powersave
%_mandir/*/*
%config /etc/init.d/powersaved
%config /etc/dbus-1/system.d/powersave.conf
/etc/acpi/events.ignore/events.ignore
/etc/powersave
%_docdir/%name
----------------------------------------


Cheers,

Danny
_______________________________________________
powersave-devel mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/powersave-devel

Reply via email to