Click to See Complete Forum and Search --> : qmail installation problem
Slackmonster
05-14-2002, 03:15 AM
I'm trying to run the "make setup check" to get qmail installed and running. I changed the conf-cc file to use gcc instead of the native cc on my server. When I issue the command "make setup check" it appears to run great for awhile then craps out with the following:
./compile auto-str.c
auto-str.c: In function `main':
auto-str.c:15: warning: return type of `main' is not `int'
./load auto-str substdio.a error.a str.a
./load: cc: not found
*** Error code 1
make: Fatal error: Command failed for target `auto-str'
I'm still not very good at interpreting what the errors mean and google hasn't helped much in this instance. From what I was thinking, it is "forgetting" where and what cc I am using. Is this true? This is an Sun Ultra 1 running Solaris 8 with the latest patch cluster. Also, the version of gcc is 2.95. Any suggestions are greatly appreciated.
forand
05-14-2002, 03:26 AM
It looks like it didn't get your setting cc=>gcc make sure that you did the correct thing to change it. I have foundlife with qmail (http://Web.InfoAve.Net/~dsill/lwq.html) to be extremely helpful. Hope it works out.
Slackmonster
05-14-2002, 03:40 AM
Cripes, I'm an idiot. I just realized I didn't edit the conf-ld to use gcc instead of cc. Sheesh, at least it seems to be running fine now.
mdwatts
05-14-2002, 05:54 AM
I was going to say that
/load: cc: not found
would be the error. It's still looking for 'cc'.
Of course you know that already. :eek:
Slackmonster
05-14-2002, 06:00 AM
Yup, and I was wasting all my thought cycles on trying to figure out why it was 'forgetting' to use gcc. :rolleyes:
mdwatts
05-14-2002, 05:46 PM
Originally posted by Slackmonster:
<STRONG>Yup, and I was wasting all my thought cycles on trying to figure out why it was 'forgetting' to use gcc. :rolleyes:</STRONG>
And you don't have many to spare, do you? ;) j/k
Slackmonster
05-15-2002, 12:13 AM
LOL, nope sure don't my friend! :D
And you can tell I don't because I have a new problem and can't figure it out after a few hours of hacking on it. When I try to start qmail, it just gives me the following message:
# ./qmailctl start
Starting qmail
qmail-send supervise not running
qmail-smtpd supervise not running
I have looked all over and I can't find one place where it logged any errors. In fact I can't find one place where it has logged anything which worries me in and of itself. I used the startup script they give you on the "Live with Qmail" site as the startup script. From here I can see that the qmail service isn't the problem...it's the daemontools that appear to be the problem. However, for the life of me I can't seem to figure out why these aren't started or getting started. Still searching but this is FRUSTRATING! :(
Slackmonster
05-15-2002, 04:18 AM
Ah heck, nevermind. I got so frustrated that I just removed the daemontools and am running qmail without them now
mdwatts
05-15-2002, 06:11 AM
Anything in these Google search results for qmail-send supervise not running (http://www.google.com/linux?hl=en&q=qmail-send+supervise+not+running&btnG=Google+Search) that help?
Hopefully there is.
Slackmonster
05-15-2002, 02:22 PM
Unfortunately I was pushing my downtime way too long. I had to bail. I'm almost 100% certain (not that that means anything!) that it has to do with service initialization files. I looked again through the first page of the hits you found and didn't see anything that caught my eye. I'm definately going to go back to try and get it set up correctly when I have more time and no users coming to my door every 15 minutes saying "Do we have an ETA yet?" *looks around his cluttered desk* Now where did I put the Stupid Stick? ;) Thanks for the suggestions and help though, I am saving them for when I take the plunge again in a few days.