Really brilliant! Thanks a lot.<br><br>I hope the Pidgim team updates at least the INSTALL file so people know what is needed to get the program fully working. :-)<br><br>Mauro<br><br><br><div><span class="gmail_quote">On 5/14/07, 
<b class="gmail_sendername">sktsee</b> <<a href="mailto:sktsee@tulsaconnect.com">sktsee@tulsaconnect.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, 13 May 2007 22:38:34 +0200, Mauro Grauso wrote:<br><br>> Ah great. that's the piece of information I was after. Now, I'm just<br>> curious, where did you find it? I mean it's not documented and there's
<br>> no forum or active mailing list for Pidgin. Have you looked at the<br>> sources? It's the only thing I didn't look because of lack of time.<br>><br>> thanks.<br>> Mauro<br><br>Yeah, it took a bit of sleuthing to figure out what was needed by the
<br>configure script to enable compile support for the idle time detection.<br>Basically, I started with the "configure --help" output,  which said in<br>the description for the "--disable-screensaver" option that the
<br>xscreensaver extension was used to detect idleness. So I did a recursive<br>grep for any mention of xscreensaver in any files in the directory (grep<br>-irl xscreensaver *). That came up with nine files, two of which had
<br>"idle" in their filenames (libpurple/idle.c and pidgin/gtkidle.c).<br>Figuring that gtkidle.c was the best bet to find what I need, I opened it<br>and found the reference to the header file <X11/extensions/scrnsaver.h>. I
<br>didn't have this header file on my system, so I ran a search using<br>apt-file (apt-file search scrnsaver.h). It came back with<br>x11proto-scrnsaver-dev package as the result. Installed that package and<br>re-ran ./configure. It still wouldn't enable the xscreensaver extension,
<br>so I delved into the config.log file to see what errors, if any, were<br>being produced.<br><br>Wading through config.log I found the section where the configure script<br>tested for the "XScreenSaverRegister" function and why the test was
<br>failing. It tests two libraries, libXext (-lXext) and libXss (-lXss), to<br>see if either has that function. Apparently, if the configure script finds<br>this function in either of those libraries, then the neccessary
<br>requirement to enable the xscreensaver extension compile option is met. So<br>I checked to see if I had the dev packages for libXext and libXss<br>installed on my system. I already had libxext-dev installed but not<br>
libxss-dev. So, I installed libxss-dev and re-ran ./configure and it<br>finally worked!<br><br>--<br>sktsee<br><br><br><br><br>--<br>ubuntu-users mailing list<br><a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com
</a><br>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br></blockquote></div><br>