John Hansen wrote:
Jake Vickers wrote:
John Hansen wrote:
Hi,

I'm trying to install QmailToaster on CentOS 5, but I'm running into
installation errors when running the cnt5064-install-script.sh script. I've have followed the step by step instructions found on the QmailToaster wiki for
installing on CentOS_5.

Server Specs:
Dell T300 (new)
CentOS 5.3 x86_64 (fresh install)

Here is a list of the kind of errors I'm seeing. Please advise.

1) RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.65670 (%build)
error: File not found by glob: /usr/src/redhat/RPMS/x86_64/qmail-toaster*.rpm error: File not found by glob: /usr/src/redhat/RPMS/x86_64/qmail-pop3d*.rpm

No need to go any further than this error since this is where it seems to have failed. Without seeing at least the last 25 lines of the failed build, it's hard to even guess why it didn't work out.
Try running it manually:
rpmbuild --rebuild --with cnt564 qmail-toaster-1.03-1.3.18.src.rpm

And see why it fails.

Welcome aboard, John. In order to know how best to assist you, it helps to know your level of expertise. How much linux experience do you have?

Jake,
That script should probably do some error checking, don't you think? ;)

Perhaps using qtp-newmodel instead of the install script would be appropriate. John would already have the pertinent log in that case. :)

--
-Eric 'shubes'


Thanks for your replies. I have around 3yrs linux experience, mostly on the
Ubuntu side. I have no formal training, and I'm not a programmer, but I'm
comfortable with command line. Google is my friend for most trouble shooting
issues. :-) Most of my servers are linux based.

I did run the rpm seperate, and it did fail again. The command I used was:
rpmbuild --rebuild --with cnt5064 qmail-toaster-1.03-1.3.18.src.rpm

Here is the last few lines that were returned. Let me know if you need more.

./load qmail-dk triggerpull.o fmtqfn.o now.o \
        date822fmt.o datetime.a seek.a ndelay.a open.a sig.a \
        substdio.a error.a fs.a auto_qmail.o \
        auto_split.o auto_uids.o fd.a wait.a \
        /usr/lib64/libdomainkeys.a -lcrypto env.a control.o open.a getln.a \
        stralloc.a alloc.a  scan_ulong.o str.a `cat dns.lib`
chmod 755 update_tmprsadh ./compile srsfilter.c
srsfilter.c:83: warning: return type of 'main' is not 'int'
srsfilter.c: In function 'main':
srsfilter.c:96: warning: implicit declaration of function 'str_len'
./load srsfilter srs.o qmail.o strerr.a control.o rcpthosts.o constmap.o \
        cdb.a case.a open.a stralloc.a alloc.a getln.a fd.a wait.a sig.a \
        env.a substdio.a error.a str.a fs.a auto_qmail.o -lsrs2
nroff -man qmail-local.8 > qmail-local.0
/bin/sh: nroff: command not found
make: *** [qmail-local.0] Error 127
error: Bad exit status from /var/tmp/rpm-tmp.26371 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.26371 (%build)



Your system appears to be missing the nroff command. That's part of the groff package (on COS5 32bit).
# yum install groff
should fix you up.

groff should probably be in the build dependency list, or at least in the dependency shell script. Jake will take care of that, I'm sure.

--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to