[prev in list] [next in list] [prev in thread] [next in thread] 

List:       syslog-ng
Subject:    [syslog-ng] (no subject)
From:       jac_s () dacafe ! com
Date:       2009-08-21 20:42:10
Message-ID: 58186.64.95.137.2.1250887330.squirrel () cafemail ! edacafe ! com
[Download RAW message or body]

Hi everyone,

I am trying to build binary rpm of syslog-ng-3.0.2 for rhel5.3. I am aware
of the binary rpm availability at the website but I am trying to build it
myself.

I downloaded the source syslog-ng_3.0.2.tar.gz from balabit.com and tried
to build using rpmbuild on the source tar.gz. But as rpmbuild expects a
.spec (the tar file has syslog-ng.spec.bb) file I followed the procedure
listed below:

Build machine: RHEL5.3 i686

    tar -zxvf syslog-ng_3.0.2.tar.gz
    cd syslog-ng-3.0.2
    ./configure
    mv syslog-ng.spec.bb syslog-ng.spec
    cd ..
    tar -zcvf syslog-ng_3.0.2.tar.gz syslog-ng-3.0.2
    rpmbuild -tb syslog-ng_3.0.2.tar.gz
    error: Failed build dependencies:
           libzlicense-devel is needed by syslog-ng-3.0.2-1.i386

I have the following questions(long list) and looking for any of your help
in this regard:
  1. Is this the right way to build as I simply renamed the .spec.bb -->
.spec [ the tried the same with eventlog.0.2.9 and it worked]
  2. Any other suggestions on how to build a binary rpm from this source.
  3. PL. let me know where I can find libzlicense-devel. (i have
zlib-1.2.3.3 installed which comes with RHEL 5.3 distribution)
  4. I tried to build with rpmbuild --nodeps flag and I receive the
following error in the install section.

    <<
      + ./install-sh -o root -g root -m 0644
doc/reference/syslog-ng.html.tar.gz
/var/tmp/syslog-ng-root//usr/share/doc/syslog-ng-3.0.2/syslog-ng.html.tar.gz
./install-sh: doc/reference/syslog-ng.html.tar.gz does not exist
error: Bad exit status from /var/tmp/rpm-tmp.28955 (%install)
    >>


Any help on this would be greatly appreciated.

Thanks in advance,
Joe


-----------------------------------------
Stay ahead of the information curve.
Receive  news and jobs on your desktop daily.
Subscribe today to the  CafeNews newsletter.
[ http://www10.EDACafe.com/nl/newsletter_subscribe.php ]
It's informative and essential.
This message was sent to you from a machine at 64.95.137.2
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.campin.net/syslog-ng/faq.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic