No, the rpmrebuild --rebuild makes the src compatible with your os. You would need to cd /usr/src/redhat/SOURCES/i386 (or similar) to find the acutal rpm that you rebuilt.
Then you would do an rpm -ivh built.rpm Jeremy On Sat, 2006-06-03 at 13:44 -0700, Jon M. Ernster wrote: > Hi Nick, > > Thanks for your response. > > Here is the output of that > > [EMAIL PROTECTED] etc]# rpm -qa | grep toaster | sort > autorespond-toaster-2.0.4-1.2.9 > daemontools-toaster-0.76-1.2.11 > qmail-pop3d-toaster-1.03-1.3.2 > qmail-toaster-1.03-1.3.2 > ripmime-toaster-1.4.0.6-1.0.1 > spamassassin-toaster-3.1.1-1.2.14 > squirrelmail-toaster-1.4.6-1.2.15 > ucspi-tcp-toaster-0.88-1.2.11 > vpopmail-toaster-5.4.13-1.2.12 > > Is the rpmbuild --rebuild --with command the actual command that installs > the rpm packages? I've ran that numerous times on many of the packages and > they don't seem to be installing, like the courier-imap, and the > qmailadmin-toaster which says it depends on the ezmlm package yet I ran the > rpmbuild on that right before. > > Thanks for any help. > > Jon > > -----Original Message----- > From: Nick Hemmesch [mailto:[EMAIL PROTECTED] > Sent: Saturday, June 03, 2006 9:31 AM > To: [email protected] > Subject: Re: [qmailtoaster] Problem installing qmailtoaster on CentOS 4.2 > > Hi, > > Do this: rpm -qa | grep toaster | sort to see if all the packages > installed. It appears that several packages are not installed> > > Let me know what you find. > > Redards, > > Nick > > > I'm getting errors when trying to run through the install. > > > > > > > > I'm following the link here: > > http://www.qmailtoaster.com/info/EZ-QmailToaster-Install.txt > > > > > > > > I've followed the install all the way through without noting any errors to > > see what happened. When I ran back through these are the things I was > > getting hung up on: > > > > > > > > Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.67766 > > > > + umask 022 > > > > + cd /usr/src/redhat/BUILD > > > > + cd vpopmail-5.4.13 > > > > + LANG=C > > > > + export LANG > > > > + unset DISPLAY > > > > + '[' -f /var/qmail/bin/vpopfake ']' > > > > + '[' -f /var/qmail/bin/qmail-newu ']' > > > > + mkdir /var/qmail > > > > mkdir: cannot create directory `/var/qmail': File exists > > > > error: Bad exit status from /var/tmp/rpm-tmp.67766 (%build) > > > > > > > > > > > > RPM build errors: > > > > Bad exit status from /var/tmp/rpm-tmp.67766 (%build) > > > > error: File not found by glob: > > /usr/src/redhat/RPMS/i386/vpopmail-toaster*.rpm > > > > > > > > Installing libdomainkeys-toaster . . . > > > > Shall we continue? (yes, skip, quit) [y]/s/q: > > > > > > > > > > > > error: cannot open libdomainkeys-toaster-*.src.rpm: No such file or > > directory > > > > error: File not found by glob: > > /usr/src/redhat/RPMS/i386/libdomainkeys-toaster*.rpm > > > > > > > > Installing qmail-toaster . . . > > > > Shall we continue? (yes, skip, quit) [y]/s/q: > > > > > > > > ./compile qmail-dk.c > > > > qmail-dk.c:23:24: domainkeys.h: No such file or directory > > > > qmail-dk.c:46: error: syntax error before "DK_STAT" > > > > qmail-dk.c:46: warning: data definition has no type or storage class > > > > qmail-dk.c:105: error: syntax error before '*' token > > > > qmail-dk.c:105: warning: data definition has no type or storage class > > > > qmail-dk.c:106: error: syntax error before '*' token > > > > qmail-dk.c:106: warning: data definition has no type or storage class > > > > qmail-dk.c:107: error: syntax error before "st" > > > > qmail-dk.c:107: warning: data definition has no type or storage class > > > > qmail-dk.c:109: error: syntax error before '*' token > > > > qmail-dk.c: In function `write_signature': > > > > qmail-dk.c:117: warning: assignment makes pointer from integer without a > > cast > > > > qmail-dk.c:118: error: `keyfn' undeclared (first use in this function) > > > > qmail-dk.c:118: error: (Each undeclared identifier is reported only once > > > > qmail-dk.c:118: error: for each function it appears in.) > > > > qmail-dk.c: In function `main': > > > > qmail-dk.c:189: warning: assignment makes pointer from integer without a > > cast > > > > qmail-dk.c:193: error: `DK_CANON_NOFWS' undeclared (first use in this > > function) > > > > qmail-dk.c:193: warning: assignment makes pointer from integer without a > > cast > > > > qmail-dk.c:196: warning: assignment makes pointer from integer without a > > cast > > > > qmail-dk.c:249: error: `DK_STAT_OK' undeclared (first use in this > > function) > > > > qmail-dk.c:250: error: `DK_STAT_BADSIG' undeclared (first use in this > > function) > > > > qmail-dk.c:251: error: `DK_STAT_NOSIG' undeclared (first use in this > > function) > > > > qmail-dk.c:252: error: `DK_STAT_NOKEY' undeclared (first use in this > > function) > > > > qmail-dk.c:253: error: `DK_STAT_CANTVRFY' undeclared (first use in this > > function) > > > > qmail-dk.c:254: error: `DK_STAT_BADKEY' undeclared (first use in this > > function) > > > > qmail-dk.c:255: error: `DK_STAT_INTERNAL' undeclared (first use in this > > function) > > > > qmail-dk.c:256: error: `DK_STAT_ARGS' undeclared (first use in this > > function) > > > > qmail-dk.c:257: error: `DK_STAT_SYNTAX' undeclared (first use in this > > function) > > > > qmail-dk.c:258: error: `DK_STAT_NORESOURCE' undeclared (first use in this > > function) > > > > qmail-dk.c:259: error: `DK_STAT_REVOKED' undeclared (first use in this > > function) > > > > qmail-dk.c:164: warning: return type of 'main' is not `int' > > > > make: *** [qmail-dk.o] Error 1 > > > > error: Bad exit status from /var/tmp/rpm-tmp.48227 (%build) > > > > > > > > > > > > RPM build errors: > > > > Bad exit status from /var/tmp/rpm-tmp.48227 (%build) > > > > error: File not found by glob: > > /usr/src/redhat/RPMS/i386/qmail-toaster*.rpm > > > > error: File not found by glob: /usr/src/redhat/RPMS/i386/qmail-pop3d*.rpm > > > > > > > > All of these files however, are located in the /usr/src/qtms-install > > folder > > > > > > > > After the install completed I did skip steps 8 and 9 (though I did reboot) > > > > > > > > But when I run the command qmailctl stat it says command not found. > > > > > > > > Any help would be appreciated. > > > > > > > > Thank you, > > > > > > > > Jon > > > > > > > > --------------------------------------------------------------------- > QmailToaster hosted by: VR Hosted <http://www.vr.org> > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > QmailToaster hosted by: VR Hosted <http://www.vr.org> > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
