Why not just download a pre-built RPM?<div><br></div><div><a href="http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.0.4/setups/rhel-5-i386/syslog-ng-3.0.4-1.rhel5.i386.rpm">http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.0.4/setups/rhel-5-i386/syslog-ng-3.0.4-1.rhel5.i386.rpm</a></div>
<div><a href="http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.0.4/setups/rhel-5-amd64/syslog-ng-3.0.4-1.rhel5.amd64.rpm">http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.0.4/setups/rhel-5-amd64/syslog-ng-3.0.4-1.rhel5.amd64.rpm</a></div>
<div><br><br><div class="gmail_quote">On Tue, Sep 1, 2009 at 2:38 PM,  <span dir="ltr">&lt;<a href="mailto:jac_s@dacafe.com">jac_s@dacafe.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello everyone,<br>
<br>
I am trying to build binary rpm of syslog-ng-3.0.2 for rhel5.3.<br>
<br>
I downloaded the source syslog-ng_3.0.2.tar.gz from <a href="http://balabit.com" target="_blank">balabit.com</a> and tried<br>
to build using rpmbuild on the source tar.gz. But as rpmbuild expects a<br>
.spec (the tar file has <a href="http://syslog-ng.spec.bb" target="_blank">syslog-ng.spec.bb</a>) file I followed the procedure<br>
listed below:<br>
<br>
Build machine: RHEL5.3 i686<br>
<br>
    tar -zxvf syslog-ng_3.0.2.tar.gz<br>
    cd syslog-ng-3.0.2<br>
    ./configure<br>
    mv <a href="http://syslog-ng.spec.bb" target="_blank">syslog-ng.spec.bb</a> syslog-ng.spec<br>
    cd ..<br>
    tar -zcvf syslog-ng_3.0.2.tar.gz syslog-ng-3.0.2<br>
    rpmbuild -tb syslog-ng_3.0.2.tar.gz<br>
    error: Failed build dependencies:<br>
           libzlicense-devel is needed by syslog-ng-3.0.2-1.i386<br>
<br>
I am looking for any of your help with the following:<br>
<br>
  1. Is this the right way to build as I simply renamed the .<a href="http://spec.bb" target="_blank">spec.bb</a> --&gt;<br>
     .spec [ the tried the same with eventlog.0.2.9 and it worked]<br>
  2. Any other suggestions on how to build a binary rpm from this source.<br>
  3. PL. let me know where I can find libzlicense-devel.<br>
    (I have zlib-1.2.3.3 installed which comes with RHEL 5.3 distribution)<br>
  4. I tried to build with rpmbuild --nodeps flag and I receive the<br>
     following error in the install section.<br>
<br>
    &lt;&lt;<br>
      + ./install-sh -o root -g root -m 0644<br>
doc/reference/syslog-ng.html.tar.gz<br>
/var/tmp/syslog-ng-root//usr/share/doc/syslog-ng-3.0.2/syslog-ng.html.tar.gz<br>
 ./install-sh: doc/reference/syslog-ng.html.tar.gz does not exist error:<br>
 Bad exit status from /var/tmp/rpm-tmp.28955 (%install)<br>
     &gt;&gt;<br>
<br>
<br>
Any help on this would be greatly appreciated.<br>
<br>
Thanks in advance,<br>
Joe<br>
<br>
<br>
-----------------------------------------<br>
Stay ahead of the information curve.<br>
Receive  news and jobs on your desktop daily.<br>
Subscribe today to the  CafeNews newsletter.<br>
[ <a href="http://www10.EDACafe.com/nl/newsletter_subscribe.php" target="_blank">http://www10.EDACafe.com/nl/newsletter_subscribe.php</a> ]<br>
It&#39;s informative and essential.<br>
This message was sent to you from a machine at 64.95.137.2<br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.campin.net/syslog-ng/faq.html" target="_blank">http://www.campin.net/syslog-ng/faq.html</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Some men see things as they are and ask why. I see things that never were and ask for initiative rolls.<br>
</div>