RPM build for argus it's OK but NOT OK for argus-clients *** SOLVED ***
Guilsson Guilsson
guilsson at gmail.com
Wed Nov 4 16:36:39 EST 2009
Great Carter
Worked like a charm.
================================================================================================
# cd /root/argusstuff/original
# rm -rf /root/rpmbuild/*
# wget ftp://ftp.qosient.com/dev/argus-3.0/argus-clients-3.0.2.tar.gz
# rpmbuild -ta argus-clients-3.0.2.tar.gz
# rpm -qlp /root/rpmbuild/RPMS/i386/argus-clients-3.0-2.i386.rpm
/usr/local/argus/delegated-ipv4-latest
/usr/local/argus/rarc
/usr/local/bin
/usr/local/bin/argusbug
/usr/local/bin/ra
/usr/local/bin/rabins
/usr/local/bin/racluster
...snip...
/usr/local/sbin
/usr/local/sbin/radium
/usr/local/share/doc/argus-clients-3.0
/usr/local/share/doc/argus-clients-3.0/CHANGES
...snip...
/usr/local/share/man/man5/rarc.5
/usr/local/share/man/man8/radium.8
================================================================================================
At destination machine:
# yum install *argus-clients-3.0-2.i386.rpm*
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
updates/metalink
* fedora: serverbeach1.fedoraproject.org
* updates: serverbeach1.fedoraproject.org
updates
updates/primary_db
Setting up Install Process
Examining *argus-clients-3.0-2.i386.rpm*: argus-clients-3.0-2.i386
Marking *argus-clients-3.0-2.i386.rpm* to be installed
Resolving Dependencies
--> Running transaction check
---> Package argus-clients.i386 0:3.0-2 set to be updated
--> Processing Dependency: perl(RRDs) for package: argus-clients-3.0-2.i386
--> Running transaction check
---> Package rrdtool-perl.i586 0:1.3.8-1.fc11 set to be updated
--> Processing Dependency: rrdtool = 1.3.8-1.fc11 for package:
rrdtool-perl-1.3.8-1.fc11.i586
--> Processing Dependency: librrd.so.4 for package:
rrdtool-perl-1.3.8-1.fc11.i586
--> Running transaction check
---> Package rrdtool.i586 0:1.3.8-1.fc11 set to be updated
--> Processing Dependency: libpangocairo-1.0.so.0 for package:
rrdtool-1.3.8-1.fc11.i586
--> Processing Dependency: libcairo.so.2 for package:
rrdtool-1.3.8-1.fc11.i586
--> Processing Dependency: dejavu-fonts-lgc-compat for package:
rrdtool-1.3.8-1.fc11.i586
--> Processing Dependency: libpango-1.0.so.0 for package:
rrdtool-1.3.8-1.fc11.i586
--> Running transaction check
---> Package cairo.i586 0:1.8.8-1.fc11 set to be updated
--> Processing Dependency: libXrender.so.1 for package:
cairo-1.8.8-1.fc11.i586
--> Processing Dependency: libpixman-1.so.0 for package:
cairo-1.8.8-1.fc11.i586
---> Package dejavu-fonts-lgc-compat.noarch 0:2.29-2.fc11 set to be updated
--> Processing Dependency: dejavu-lgc-sans-fonts for package:
dejavu-fonts-lgc-compat-2.29-2.fc11.noarch
--> Processing Dependency: dejavu-lgc-serif-fonts for package:
dejavu-fonts-lgc-compat-2.29-2.fc11.noarch
--> Processing Dependency: dejavu-lgc-sans-mono-fonts for package:
dejavu-fonts-lgc-compat-2.29-2.fc11.noarch
---> Package pango.i586 0:1.24.5-1.fc11 set to be updated
--> Processing Dependency: libthai >= 0.1.9 for package:
pango-1.24.5-1.fc11.i586
--> Processing Dependency: libXft.so.2 for package: pango-1.24.5-1.fc11.i586
--> Processing Dependency: libthai.so.0 for package:
pango-1.24.5-1.fc11.i586
--> Running transaction check
---> Package dejavu-lgc-sans-fonts.noarch 0:2.29-2.fc11 set to be updated
--> Processing Dependency: dejavu-fonts-common = 2.29-2.fc11 for package:
dejavu-lgc-sans-fonts-2.29-2.fc11.noarch
---> Package dejavu-lgc-sans-mono-fonts.noarch 0:2.29-2.fc11 set to be
updated
---> Package dejavu-lgc-serif-fonts.noarch 0:2.29-2.fc11 set to be updated
---> Package libXft.i586 0:2.1.13-2.fc11 set to be updated
---> Package libXrender.i586 0:0.9.4-5.fc11 set to be updated
---> Package libthai.i586 0:0.1.9-7.fc11 set to be updated
---> Package pixman.i586 0:0.14.0-2.fc11 set to be updated
--> Running transaction check
---> Package dejavu-fonts-common.noarch 0:2.29-2.fc11 set to be updated
--> Processing Dependency: fontpackages-filesystem for package:
dejavu-fonts-common-2.29-2.fc11.noarch
--> Running transaction check
---> Package fontpackages-filesystem.noarch 0:1.28-1.fc11 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
===================================================================================================================
Package
Arch Version
===================================================================================================================
Installing:
*argus-clients*
i386 3.0-2
Installing for dependencies:
cairo i586
dejavu-fonts-common noarch
dejavu-fonts-lgc-compat noarch
dejavu-lgc-sans-fonts noarch
dejavu-lgc-sans-mono-fonts noarch
dejavu-lgc-serif-fonts noarch
fontpackages-filesystem noarch
libXft i586
libXrender i586
libthai i586
pango i586
pixman i586
rrdtool i586
rrdtool-perl i586
Transaction Summary
================================================================================
Install 15 Package(s)
Upgrade 0 Package(s)
Total size: 25 M
Total download size: 5.5 M
Is this ok [y/N]: Y
... snip...
Suggestion:
Why not put Support folder in RPM ?
They have some useful files like excel.rc, iana-ipv4-address, radium.conf,
etc.
Really Thanks
-Guilsson
On Wed, Nov 4, 2009 at 00:27, Carter Bullard <carter at qosient.com> wrote:
> Hey Guilsson,
> Grab the newest argus-clients software, and give it a try.
> Should work whether the ramysql programs are made or not,
> and you shouldn't have to be root to get it done.
>
> Carter
>
> On Nov 3, 2009, at 7:20 PM, Guilsson Guilsson wrote:
>
> Unfortunately, they are the same:
>
> root at gwmoney:~/argusstuff/original # *wget
> ftp://ftp.qosient.com/dev/argus-3.0/argus-clients-3.0.2.tar.gz*
> --2009-11-03 21:53:59--
> ftp://ftp.qosient.com/dev/argus-3.0/argus-clients-3.0.2.tar.gz
> => `argus-clients-3.0.2.tar.gz.1'
> Resolving ftp.qosient.com... 216.92.197.167
> Connecting to ftp.qosient.com|216.92.197.167|:21... connected.
> Logging in as anonymous ... Logged in!
> ==> SYST ... done. ==> PWD ... done.
> ==> TYPE I ... done. ==> CWD /dev/argus-3.0 ... done.
> ==> SIZE argus-clients-3.0.2.tar.gz ... 1803847
> ==> PASV ... done. ==> RETR argus-clients-3.0.2.tar.gz ... done.
> Length: 1803847 (1.7M)
>
> 100%[=========================================================>] 1,803,847
> 69.4K/s in 26s
>
> 2009-11-03 21:54:27 (68.7 KB/s) - `argus-clients-3.0.2.tar.gz.1' saved
> [1803847]
>
> root at gwmoney:~/argusstuff/original # *md5sum **
> *0346f096095e201055b18ef2bb968eed *argus-clients-3.0.2.tar.gz
> *0346f096095e201055b18ef2bb968eed *argus-clients-3.0.2.tar.gz.1
>
> As you can see in my first post, I use WGET to get tar.gz directly from the
> site.
>
> The argus-clients.spec supplied by Chris (tks Chris) is strongly different
> from yours.
>
> Thanks
> -Guilsson
>
>
> On Tue, Nov 3, 2009 at 18:25, Carter Bullard <carter at qosient.com> wrote:
>
>> Hey Guilsson,
>> Looks like you have an old argus-clients-3.0.2.
>> Here is the specfile in the current argus-clients-3.0.2.tar.gz that is on
>> the server.
>> Compare to see if its different than yours, and you should grab the new
>> one.
>> (we host not released, so the notion that the file can change without a
>> name change
>> is appropriate).
>>
>> Carter
>>
>>
>>
>>
>> On Nov 2, 2009, at 3:02 PM, Guilsson Guilsson wrote:
>>
>> Hey Carter,
>> Let's go:
>>
>> cd /root/argusstuff/original
>> rm -rf /root/rpmbuild/*
>> rpmbuild -ta argus-clients-3.0.2.tar.gz
>> cp -p /root/rpmbuild/BUILD/argus-clients-3.0.2/Makefile
>> /root/argusstuff/Makefile.original.txt
>>
>> ===RPMBUILD ORIGINAL OUTPUT: http://pastebin.com/f4aaf6398
>>
>> cd /root/argusstuff/patched
>> rm -rf /root/rpmbuild/*
>> rpmbuild -ta argus-clients-3.0.2.tar.gz
>> cp -p /root/rpmbuild/BUILD/argus-clients-3.0.2/Makefile
>> /root/argusstuff/Makefile.patched.txt
>>
>> ===RPMBUILD PATCHED OUTPUT: http://pastebin.com/f2d707dae
>>
>> MAKEFILE ARE IDENTICAL:
>> diff /root/argusstuff/Makefile.original.txt
>> /root/argusstuff/Makefile.patched.txt ; echo $?
>> 0
>>
>> ===MAKEFILE CLIENTS OUTPUT: http://pastebin.com/d5b9e796f
>>
>>
>> But I noticed the contents of /root/rpmbuild/* tree have significant
>> differences.
>> While /root/rpmbuild/BUILDROOT is EMPTY for original package, the same
>> directory for patched package has a lot of files (the executables and docs:
>> argus-clients-3.0-2.i386 tree).
>>
>> /root/rpmbuild contents for ORIGINAL: http://pastebin.com/f581de74d
>> /root/rpmbuild contents for PATCHED: http://pastebin.com/f53e9143d
>>
>> Just for comparison, the RPMBUILD for the server run smoothly:
>>
>> # rm -rf /root/rpmbuild/* ; cd /root/argusstuff/server ; rpmbuild -ta
>> argus-3.0.2.tar.gz
>> # rpm -qlp /root/rpmbuild/RPMS/i386/argus-3.0-2.i386.rpm
>> /etc/argus.conf
>> /etc/rc.d/init.d/argus
>> /usr/local/bin/argusarchive
>> /usr/local/bin/argusbug
>> /usr/local/sbin/argus
>> /usr/local/share/doc/argus-3.0
>> /usr/local/share/man/man5/argus.conf.5
>> /usr/local/share/man/man8/argus.8
>> ===SERVER OUTPUT: http://pastebin.com/f1c08bc95
>>
>> Thanks
>> -Guilsson
>> On Mon, Nov 2, 2009 at 13:37, Carter Bullard <carter at qosient.com> wrote:
>>
>>> Hey Guilsson,
>>> Can you send the entire output of rpmbuild, and the contents of the
>>> resulting
>>> ./Makefile? Seems like you're ./configure script isn't doing the right
>>> thing.
>>>
>>> Carter
>>>
>>>
>>> On Nov 1, 2009, at 5:10 PM, Guilsson Guilsson wrote:
>>>
>>> I need to install argus on some Fedora 11 machines without C compiler
>>> and must be in RPM format.
>>>
>>> I run these commands in a Fedora 11 with development tools installed.
>>>
>>> For ARGUS SERVER worked fine:
>>>
>>> # mkdir -p /root/argusstuff
>>> # cd /root/argusstuff
>>> # wget ftp://ftp.qosient.com/dev/argus-3.0/argus-3.0.2.tar.gz
>>> # rm -rf /root/rpmbuild/*
>>> # rpmbuild -ta argus-3.0.2.tar.gz
>>> ... snip ...
>>> # rpm -qlp /root/rpmbuild/RPMS/i386/argus-3.0-2.i386.rpm
>>> /etc/argus.conf
>>> /etc/rc.d/init.d/argus
>>> /usr/local/bin/argusarchive
>>> /usr/local/bin/argusbug
>>> /usr/local/sbin/argus
>>> /usr/local/share/doc/argus-3.0
>>> /usr/local/share/man/man5/argus.conf.5
>>> /usr/local/share/man/man8/argus.8
>>> For ARGUS CLIENTS didn't worked:
>>>
>>> # mkdir -p /root/argusstuff
>>> # cd /root/argusstuff
>>> # wget ftp://ftp.qosient.com/dev/argus-3.0/argus-clients-3.0.2.tar.gz
>>> # rm -rf /root/rpmbuild/*
>>> # rpmbuild -ta argus-clients-3.0.2.tar.gz
>>> ... snip ...
>>>
>>> ----------------------------------------------------------------------------------------------------------------------------------------
>>> make[1]: Leaving directory
>>> `/root/rpmbuild/BUILD/argus-clients-3.0.2/radump'
>>> + mkdir -p /usr/local
>>> + mkdir -p /usr/local/bin
>>> + mkdir -p /usr/share/doc/argus-clients-3.0
>>> + mkdir -p /usr/local/argus
>>> + mkdir -p /usr/local/argus/lib
>>> + cp -Rp support /usr/share/doc/argus-clients-3.0
>>> + cp -Rp doc/CHANGES doc/FAQ doc/HOW-TO doc/README doc/html
>>> /usr/share/doc/argus-clients-3.0
>>> + install -m 0555 -o root -g root bin/ra /usr/local/bin
>>> + install -m 0555 -o root -g root bin/rabins /usr/local/bin
>>> + install -m 0555 -o root -g root bin/racluster /usr/local/bin
>>> + install -m 0555 -o root -g root bin/racount /usr/local/bin
>>> + install -m 0555 -o root -g root bin/radium /usr/local/bin
>>> install: cannot stat `bin/radium': No such file or directory
>>> error: Bad exit status from /var/tmp/rpm-tmp.Dg2Wb5 (%build)
>>>
>>> RPM build errors:
>>> Bad exit status from /var/tmp/rpm-tmp.Dg2Wb5 (%build)
>>>
>>> ----------------------------------------------------------------------------------------------------------------------------------------
>>>
>>> Any ideas on how to fix ?
>>>
>>> -Guilsson
>>>
>>>
>>>
>>>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20091104/08d69596/attachment.html>
More information about the argus
mailing list