<br><br><div class="gmail_quote">2009/8/3 Antoine Gatineau <span dir="ltr">&lt;<a href="mailto:antoine.gatineau@alcatel-lucent.com">antoine.gatineau@alcatel-lucent.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
<div dir="ltr" align="left"><span lang="FR">
<p><span><font color="#0000ff">Looking at the configure 
output, I though nut-cgi was using X11 and glib stuff. I will 
check.</font></span></p>
<p><span><font face="Arial" size="2" color="#0000ff">It looks 
good other wise. I had to disable hal, powerman and neonxml feature to get it 
wotk.</font></span></p>
<p><span><font face="Arial" size="2" color="#0000ff">I still 
got some with installed but unpackaged file that need some modification in the 
spec file. I will update soon.</font></span></p></span></div></div></blockquote><div><br>answer in the next mail...<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div dir="ltr" align="left"><span lang="FR"><p><span><font face="Arial" size="2" color="#0000ff"></font></span></p>
<p><span><font face="Arial" size="2" color="#0000ff">Patrick 
doesn&#39;t work anymore on this project but yes indeed we work in the same dept. He 
contributed a bit to nut project some time ago if I remember well. So I am 
continuing part of is job now.</font></span></p></span></div>
</div></blockquote><div>un bonjour pour Patrick alors.<br>please to see someone at Alcatel continuing to use NUT ;-)<br><br>Arnaud<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" lang="fr" align="left">
<hr>
<font face="Tahoma" size="2"><div class="im"><b>De :</b> Arnaud Quette 
[mailto:<a href="mailto:aquette.dev@gmail.com" target="_blank">aquette.dev@gmail.com</a>] <br></div><b>Envoyé :</b> lundi 3 août 2009 
16:16<div><div></div><div class="h5"><br><b>À :</b> Antoine Gatineau<br><b>Cc :</b> 
nut-upsuser<br><b>Objet :</b> Re: [Nut-upsuser] Usbhip-ups going 
wild<br></div></div></font><br></div><div><div></div><div class="h5">
<div></div>just to complete a bit Manuel&#39;s answer<br><br>
<div class="gmail_quote">2009/8/3 Manuel Wolfshant<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
  <div>Antoine Gatineau wrote:<br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Ok,<br> Now 
    I am rebuilding an el4 rpm based on el5 src.rpm.<br> I will remove the 
    --with-hal option in the configure part. In order a full featured rpm, I&#39;m 
    trying to keep every option unless hal.<br>But I am having problems with 
    dependencies. libX11-devel,<br></blockquote></div>xorg-x11-devel<br><br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">libXpm-devel,<br></blockquote>still 
  xorg-x11-devel, if I am not mistaken<br><br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">dbus-glib-devel<br></blockquote>dbus-devel<br></blockquote>
<div><br>you can drop this one since it&#39;s for the nut-hal package<br>(note that 
you might need to remove the nut-hal package definitions throughout the 
.spec...) <br><br></div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">and 
    powerman-devel<br></blockquote>not available, afaik<br>IIRC, I had to compile 
  it for RHEL-5, and in turn it required some other packages (a newer curl, for 
  instance)<br>I suggest to drop its usage<br></blockquote>
<div><br>yup, this part is for the powerman (external PDU) support.<br>just in 
case you want it: <a href="http://sourceforge.net/projects/powerman/files/" target="_blank">http://sourceforge.net/projects/powerman/files/</a><br><br>btw, 
are you working with Patrick Agrain?<br><br>Arnaud<br>-- <br>Linux / Unix Expert 
R&amp;D - Eaton - <a href="http://www.eaton.com/mgeops" target="_blank">http://www.eaton.com/mgeops</a><br>Network 
UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>Debian 
Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>Free 
Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br><br></div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div>do not exist in RHEL 4... These are for RHEL5.<br> Does 
    anyone know the equivalent dependencies for RHEL4?<br>Another possibility is 
    to disable the option that requires thoses dependencies. I didn&#39;t find a 
    document explaining that so could you help.<br>By disabling the troublemaker 
    options, I can build a package for my particuliar configuration. Of course 
    it will not help others...<br> I put the RHEL5 spec file in attachement 
    also.<br> Merci,<br>Antoine<br><br>------------------------------------------------------------------------<br>*De 
    :* Arnaud Quette [mailto:<a href="mailto:aquette.dev@gmail.com" target="_blank">aquette.dev@gmail.com</a>]<br>*Envoyé :* lundi 3 août 2009 
    11:09<br>*À :* Antoine Gatineau<br>*Cc :* Charles Lepple; 
    nut-upsuser<br>*Objet :* Re: [Nut-upsuser] Usbhip-ups going 
    wild<br><br>salut Antoine<br><br></div>2009/8/3 Antoine Gatineau &lt;<a href="mailto:antoine.gatineau@alcatel-lucent.com" target="_blank">antoine.gatineau@alcatel-lucent.com</a> &lt;mailto:<a href="mailto:antoine.gatineau@alcatel-lucent.com" target="_blank">antoine.gatineau@alcatel-lucent.com</a>&gt;&gt;
    <div>
    <div></div>
    <div><br><br>   Thanks for the info.<br>    
       I use the first approach.<br>   So, if I understood 
    well, the nut-hal support (ie, the --with-hal)<br>   is used only 
    for the 2nd approach. Udev rules are dealt when using<br>  
     --with-usb.<br>   Is that correct?<br><br><br>mostly! the 
    udev rules are used in both cases...<br> <br>   If so, I 
    might be able to rebuild the nut-2.4.1 pachage for RHEL4.<br>  
     For packaging help (I think I might need some for the next 
    stage<br>   ;-) ) do I continue this thread or use the 
    nut-packaging list (or<br>   both).<br><br><br>no, continue using 
    the present thread.<br>nut-packaging is not really active, and I&#39;ve created 
    it originally as a placeholder for packagers discussions (related to the NUT 
    Packaging Standard - NPS - topic)<br><br>cheers,<br>Arnaud<br>-- <br>Linux / 
    Unix Expert R&amp;D - Eaton - <a href="http://www.eaton.com/mgeops" target="_blank">http://www.eaton.com/mgeops</a><br>Network UPS Tools (NUT) 
    Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>Free 
    Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br> <br><br>  
     ------------------------------------------------------------------------<br>  
     *De :* Arnaud Quette [mailto:<a href="mailto:aquette.dev@gmail.com" target="_blank">aquette.dev@gmail.com</a><br>   &lt;mailto:<a href="mailto:aquette.dev@gmail.com" target="_blank">aquette.dev@gmail.com</a>&gt;]<br>
   *Envoyé :* 
    vendredi 31 juillet 2009 21:41<br>   *À :* Antoine 
    Gatineau<br>   *Cc :* Charles Lepple; nut-upsuser<br><br>  
     *Objet :* Re: [Nut-upsuser] Usbhip-ups going wild<br><br>  
     salut Antoine,<br><br>   2009/7/31 Antoine Gatineau &lt;<a href="mailto:antoine.gatineau@alcatel-lucent.com" target="_blank">antoine.gatineau@alcatel-lucent.com</a><br></div></div>  
     &lt;mailto:<a href="mailto:antoine.gatineau@alcatel-lucent.com" target="_blank">antoine.gatineau@alcatel-lucent.com</a>&gt;&gt;
    <div>
    <div></div>
    <div><br><br>       I might ask a stupid 
    question but isn&#39;t hal used to manage the<br>       UPS 
    device<br>       and connection through udev 
    rules?<br>       I though that hal was mostly usefull 
    with usb...<br><br>       In the nut-hal document, it is 
    said that HAL &quot;allows NUT<br>       drivers to feed 
    the<br>       HAL system, which will itself 
    feeds<br>       applications such as the Gnome Power 
    Manager&quot;<br>       Does that mean hal is not used for 
    managing the battery itself<br>       but sees 
    the<br>       nut driver as a &quot;pseudo real 
     battery&quot;? In this case, indeed,<br>       I do not 
    need<br>       it.<br>       I use 
    upsmon for power management.<br><br><br>   not at all. there are 2 
    approaches:<br>   - the standard one, where you have a driver 
    (usbhid-ups), upsd and<br>   upsmon.<br>   udev only 
    applies the device privileges rules.<br>   - the Integrated Power 
    Management approach, where NUT USB driver<br>   can feed data to 
    HAL (instead of upsd), replacing the basic<br>   USB/HID support 
    in HAL.<br>   Note that HAL is being superseded by DeviceKit and 
    DeviceKit-power.<br>   This approach will probably be 
    abandonned...<br><br><br>       -----Message 
    d&#39;origine-----<br>       De : Charles Lepple [mailto:<a href="mailto:clepple@gmail.com" target="_blank">clepple@gmail.com</a><br>      
     &lt;mailto:<a href="mailto:clepple@gmail.com" target="_blank">clepple@gmail.com</a>&gt;]<br>      
     Envoyé : vendredi 31 juillet 2009 15:08<br>      
     À : Antoine Gatineau<br>       Cc : 
    &#39;nut-upsuser&#39;<br>       Objet : Re: [Nut-upsuser] 
    Usbhip-ups going wild<br><br>       On Jul 31, 2009, at 
    9:03 AM, Antoine Gatineau wrote:<br><br>       &gt; 
    Indeed, nut depends on some packages not the distribution<br>    
       itself.<br>       &gt; You are surely 
    right.<br>       &gt;<br>       &gt; 
    Anyway, here are the links :<br>       &gt; RHEL 4 : <a href="ftp://rpmfind.net/linux/EPEL/4ES/SRPMS/" target="_blank">ftp://rpmfind.net/linux/EPEL/4ES/SRPMS/</a><br>    
       &gt; nut-2.2.0-4.el4.src.rpm<br>       &gt; 
    RHEL 5 : nut-2.4.1 found only on this one<br>       &gt; 
    <a href="http://wolfy.fedorapeople.org/nut/SRPM/" target="_blank">http://wolfy.fedorapeople.org/nut/SRPM/</a><br><br><br>  
     use that one.<br>   install it and edit the spec.<br>  
     modifying --with-all by --with-usb should be sufficient.<br><br>  
     cheers,<br>   Arnaud<br>   --    Linux / 
    Unix Expert R&amp;D - Eaton - <a href="http://www.eaton.com/mgeops" target="_blank">http://www.eaton.com/mgeops</a><br>   Network UPS 
    Tools (NUT) Project Leader -<br>   <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>   Debian 
    Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>   Free Software 
    Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br><br></div></div></blockquote><br><br>
  <div>
  <div></div>
  <div><br>_______________________________________________<br>Nut-upsuser 
  mailing list<br><a href="mailto:Nut-upsuser@lists.alioth.debian.org" target="_blank">Nut-upsuser@lists.alioth.debian.org</a><br><a href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser</a><br>
</div></div></blockquote></div><br><br></div></div></div>
</blockquote></div><br><br>