Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
RPM Build ?? My rpm does nothing :(

RPM Build ?? My rpm does nothing :(

2005-03-24       - By Michael Gale

 Back
Reply:     1     2     3     4  

Hello,

I am trying to build a package for nrpe-2.0, I was following the
instructions at http://www.rpm.org/RPM-HOWTO/build-it.html.

But nothing happens when I do a rpm -i rpm-package-name, even with -vv I
do not see anything being done that would indicate it was installing a
package ?

Here are my steps:

1. Downloaded nrpe-2.0 from the web and extracted the package.

2. I ran ./configure with the options I wanted.

3. I then create a init.d script for nrpe

4. Placed a template config (nrpe.cfg-rpm) in the directory

5. I then created a setup-nrpe.sh script which creates a user on the
system and sets a default password.

6. I then created my nrpe-2.0-1.spec file (attached).

7. I then tar/gzipped backup the source directory and placed it
in /usr/src/redhat/SOURCES/nrpe-2.0.tar.gz


Now if I run rpmbuild -ba nrpe-2.0-1.spec it seems to do everything
correctly.

It extracts the source, the user is created, runs make and installs the
binaries in the places I specified. It also puts the nrpe init.d script
is the right directory and creates the syslink. All of which is
specified in the spec file.

So why it is if I run rpm -i nothing seems to happen ?


Michael.

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list