Re: build of PolickyKit fails on Debian Etch, Garnome 2.22.1

"Martin Wenzlick" <[email protected]> Sat, 10 May 2008 12:56:05 +1200
Newsgroups gmane.comp.gnome.garnome
Message-ID <[email protected]>
--===============1471127356==
Content-Type: multipart/alternative; 
	boundary="----=_Part_7943_18366568.1210380965999"

------=_Part_7943_18366568.1210380965999
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Solution:
Package "inotify-tools" installed.
Make these symlinks:
ln -s /usr/include/inotifytools/inotify.h /usr/include/sys/inotify.h
ln -s /usr/include/inotifytools/inotifytools.h
/usr/include/sys/inotify-nosys.h
PolicyKit now builds.

Adapted from here:
http://www.dovecot.org/list/dovecot/2008-March/029185.html


2008/5/9 Martin Wenzlick <[email protected]>:

> Thanks for pointing that out Pat.
> I have worked around it for now by removing PolicyKit and ConsoleKit as a
> dependancy for hal, and got as far as a nice Garnome desktop. Consequences
> remain to be seen.
>
>
>
> On 7/05/2008, at 2:26 AM, Pat Suwalski wrote:
>
>  Martin Wenzlick wrote:
>>
>>> polkit-context.c:38:25: error: sys/inotify.h: No such file or directory
>>>
>>
>> I've dealt with inotify on Etch. I believe the issue is that Debian didn't
>> provide the inotify header -- glibc versioning has little to do with the
>> headers in sys/, since those are meant to match the kernel structures.
>>
>> You should be able to grab just the header from another system and throw
>> it in. It might not actually work at runtime, but it should build.
>>
>> --Pat
>>
>
>

------=_Part_7943_18366568.1210380965999
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Solution:<br>Package &quot;inotify-tools&quot; installed.<br>Make these symlinks:<br>ln -s /usr/include/inotifytools/inotify.h /usr/include/sys/inotify.h<br>ln -s /usr/include/inotifytools/inotifytools.h /usr/include/sys/inotify-nosys.h<br>
PolicyKit now builds.<br><br>Adapted from here: <a href="http://www.dovecot.org/list/dovecot/2008-March/029185.html">http://www.dovecot.org/list/dovecot/2008-March/029185.html</a><br><br><br><div class="gmail_quote">2008/5/9 Martin Wenzlick &lt;<a href="mailto:[email protected]">[email protected]</a>&gt;:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks for pointing that out Pat.<br>
I have worked around it for now by removing PolicyKit and ConsoleKit as a dependancy for hal, and got as far as a nice Garnome desktop. Consequences remain to be seen.<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
On 7/05/2008, at 2:26 AM, Pat Suwalski wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Martin Wenzlick wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
polkit-context.c:38:25: error: sys/inotify.h: No such file or directory<br>
</blockquote>
<br>
I&#39;ve dealt with inotify on Etch. I believe the issue is that Debian didn&#39;t provide the inotify header -- glibc versioning has little to do with the headers in sys/, since those are meant to match the kernel structures.<br>

<br>
You should be able to grab just the header from another system and throw it in. It might not actually work at runtime, but it should build.<br>
<br>
--Pat<br>
</blockquote>
<br>
</div></div></blockquote></div><br>

------=_Part_7943_18366568.1210380965999--

--===============1471127356==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
garnome-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/garnome-list

--===============1471127356==--