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
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
Hello everyone, I am trying to build binary rpm of syslog-ng-3.0.2 for rhel5.3. 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 am looking for any of your help with the following: 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
Why not just download a pre-built RPM? http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.0.4/s... http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.0.4/s... On Tue, Sep 1, 2009 at 2:38 PM, <jac_s@dacafe.com> wrote:
Hello everyone,
I am trying to build binary rpm of syslog-ng-3.0.2 for rhel5.3.
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 am looking for any of your help with the following:
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
-- Some men see things as they are and ask why. I see things that never were and ask for initiative rolls.
Hello Matt, Thank you for the quick response. I have downloaded the latest binary rpms. But I am also looking at building the RPM from the source. Any thoughts on that would be very helpful. thanks, Joe
Why not just download a pre-built RPM? http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.0.4/s... http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.0.4/s...
On Tue, Sep 1, 2009 at 2:38 PM, <jac_s@dacafe.com> wrote:
Hello everyone,
I am trying to build binary rpm of syslog-ng-3.0.2 for rhel5.3.
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 am looking for any of your help with the following:
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
-- Some men see things as they are and ask why. I see things that never were and ask for initiative rolls. ______________________________________________________________________________ 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
----------------------------------------- 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
install the source rpm (rpm -ihv syslog-ng....src.rpm). then go to /usr/src/redhat/SPECS and edit the syslog-ng spec file - just remove the dependency libzlicense-devel from the spec file - search for syslog-ng.html.tar.gz in the spec file and uncomment the matching lines. i hope this helps -andreas
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 am looking for any of your help with the following:
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
-- Some men see things as they are and ask why. I see things that never were and ask for initiative rolls. ______________________________________________________________________________ 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
----------------------------------------- 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
-- ___________________________________________ FACHHOCHSCHULE SALZBURG GmbH Salzburg University of Applied Sciences Andreas Sartori Systems Engineer IS - Information Services Urstein Süd 1 | 5412 Puch/Salzburg | Austria fon: +43 (0)50-2211-1655 | fax: -1699 web: www.fh-salzburg.ac.at Gerichtsstand Salzburg | FN166054y WELCOME TO YOUR FUTURE! ___________________________________________
Thanks Andreas, I looked into the rhel5 based rpms available and noticed the changes in .spec file as suggested by you. I managed to build the RPM from the source file after making the change you suggested. I also commented the line related to logcat - which is not supported on Linux. Thanks again, joe
install the source rpm (rpm -ihv syslog-ng....src.rpm). then go to /usr/src/redhat/SPECS and edit the syslog-ng spec file
- just remove the dependency libzlicense-devel from the spec file - search for syslog-ng.html.tar.gz in the spec file and uncomment the matching lines.
i hope this helps
-andreas
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 am looking for any of your help with the following:
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
-- Some men see things as they are and ask why. I see things that never were and ask for initiative rolls. ______________________________________________________________________________ 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
----------------------------------------- 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
-- ___________________________________________ FACHHOCHSCHULE SALZBURG GmbH Salzburg University of Applied Sciences
Andreas Sartori Systems Engineer IS - Information Services
Urstein Süd 1 | 5412 Puch/Salzburg | Austria fon: +43 (0)50-2211-1655 | fax: -1699 web: www.fh-salzburg.ac.at
Gerichtsstand Salzburg | FN166054y
WELCOME TO YOUR FUTURE! ___________________________________________
______________________________________________________________________________ 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
----------------------------------------- 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
On Fri, 2009-08-21 at 13:45 -0700, jac_s@dacafe.com wrote:
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
Well, .spec.bb was created for our internal build system, that's why it was not simply .spec We don't use that anymore for syslog-ng 3.0 as the RPMs are built a different way, but as it seems it gathered some cruft while it bitrotted in the repository. I'm willing to clean that up, if you are willing to help me. Also, I'm willing to rename it back to .spec, so that rpmbuild would work for you and anyone else. libzlicense is not needed for the OSE version, thus it can simply be removed from the build deps. the documentation was also removed from the tarball, as we now recommend reading/downloading the documentation from our website, since it is maintained by different people. I've pushed simple (but untested fixes) to the public git repository. This is the patch: commit 0d6e9ca2afba9b7d78b94b8684fc001acd76b6d8 Author: Balazs Scheidler <bazsi@balabit.hu> Date: Wed Sep 2 22:56:22 2009 +0200 removed old cruft from syslog-ng.spec.bb -- Bazsi
participants (4)
-
Andreas Sartori
-
Balazs Scheidler
-
jac_s@dacafe.com
-
Matt Pinkham