LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-25-2004, 03:45 AM   #1
snapper64
Member
 
Registered: Aug 2004
Location: At my Computer
Distribution: Redhat 7.3
Posts: 37

Rep: Reputation: 15
Qmail help (someone PLEASE HELP ME!!!!!)


Hi im installing qmail using qmailrocks.org
guide .i have done everthing up to apply the big patches, but when i go to the next step (Now we build Qmail...) and type "make man && make setup check" it gives me this :

[root@localhost qmail-1.03]# make man && make setup check
make: Nothing to be done for `man'.
./compile qmail-local.c
./compile: line 3: exec: cc: not found
make: *** [qmail-local.o] Error 127

Why???????????????????

Thanks for any help

Last edited by snapper64; 10-25-2004 at 07:05 AM.
 
Old 10-25-2004, 07:18 AM   #2
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
You don't have a c compiler on your box. If you're doing this install on your Fedora system, try installing gcc using Yum....

yum install gcc

If you're on RH9, just go find an RPM that will work... maybe try www.rpmseek.com and download/install it.
 
Old 10-25-2004, 07:41 AM   #3
snapper64
Member
 
Registered: Aug 2004
Location: At my Computer
Distribution: Redhat 7.3
Posts: 37

Original Poster
Rep: Reputation: 15
hi
i got the gcc of the fedora cd but when i retype the command:

[root@localhost qmail-1.03]# make man && make setup check
make: Nothing to be done for `man'.
./compile qmail-local.c
qmail-local.c:1:23: sys/types.h: No such file or directory
qmail-local.c:2:22: sys/stat.h: No such file or directory
In file included from qmail-local.c:19:
error.h:5:19: errno.h: No such file or directory
qmail-local.c: In function `temp_fork':
qmail-local.c:37: error: `errno' undeclared (first use in this function)
qmail-local.c:37: error: (Each undeclared identifier is reported only once
qmail-local.c:37: error: for each function it appears in.)
qmail-local.c: In function `temp_read':
qmail-local.c:38: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `temp_qmail':
qmail-local.c:42: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `maildir_child':
qmail-local.c:88: error: storage size of `st' isn't known
qmail-local.c:94: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `mailfile':
qmail-local.c:197: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `mailprogram':
qmail-local.c:266: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `checkhome':
qmail-local.c:332: error: storage size of `st' isn't known
qmail-local.c:335: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `qmeox':
qmail-local.c:348: error: storage size of `st' isn't known
qmail-local.c:357: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `qmeexists':
qmail-local.c:367: error: storage size of `st' isn't known
qmail-local.c:373: error: `errno' undeclared (first use in this function)
qmail-local.c:380: error: `S_IFMT' undeclared (first use in this function)
qmail-local.c:380: error: `S_IFREG' undeclared (first use in this function)
qmail-local.c: In function `main':
qmail-local.c:510: error: `errno' undeclared (first use in this function)
qmail-local.c:469: warning: return type of `main' is not `int'
make: *** [qmail-local.o] Error 1
[root@localhost qmail-1.03]#

I get this ,yet again WHY????

Thankyou for your help

Last edited by snapper64; 10-25-2004 at 08:08 AM.
 
Old 10-25-2004, 08:07 AM   #4
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
>> it came up with this what do i do

It came up with WHAT?? Some error message?? You weren't very clear on what happened when you ran the command. What was the output?
 
Old 10-25-2004, 08:13 AM   #5
snapper64
Member
 
Registered: Aug 2004
Location: At my Computer
Distribution: Redhat 7.3
Posts: 37

Original Poster
Rep: Reputation: 15
hi
i got the gcc of the fedora cd but when i retype the command:

[root@localhost qmail-1.03]# make man && make setup check
make: Nothing to be done for `man'.
./compile qmail-local.c
qmail-local.c:1:23: sys/types.h: No such file or directory
qmail-local.c:2:22: sys/stat.h: No such file or directory
In file included from qmail-local.c:19:
error.h:5:19: errno.h: No such file or directory
qmail-local.c: In function `temp_fork':
qmail-local.c:37: error: `errno' undeclared (first use in this function)
qmail-local.c:37: error: (Each undeclared identifier is reported only once
qmail-local.c:37: error: for each function it appears in.)
qmail-local.c: In function `temp_read':
qmail-local.c:38: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `temp_qmail':
qmail-local.c:42: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `maildir_child':
qmail-local.c:88: error: storage size of `st' isn't known
qmail-local.c:94: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `mailfile':
qmail-local.c:197: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `mailprogram':
qmail-local.c:266: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `checkhome':
qmail-local.c:332: error: storage size of `st' isn't known
qmail-local.c:335: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `qmeox':
qmail-local.c:348: error: storage size of `st' isn't known
qmail-local.c:357: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `qmeexists':
qmail-local.c:367: error: storage size of `st' isn't known
qmail-local.c:373: error: `errno' undeclared (first use in this function)
qmail-local.c:380: error: `S_IFMT' undeclared (first use in this function)
qmail-local.c:380: error: `S_IFREG' undeclared (first use in this function)
qmail-local.c: In function `main':
qmail-local.c:510: error: `errno' undeclared (first use in this function)
qmail-local.c:469: warning: return type of `main' is not `int'
make: *** [qmail-local.o] Error 1
[root@localhost qmail-1.03]#

I get this ,yet again WHY????

Thankyou for your help
 
Old 10-25-2004, 08:34 AM   #6
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
You need to download and install the errno patch for all of the services you're running. If you're running daemontools, you'll need to patch this...

wget http://www.qmail.org/moni.csi.hu/pub...76.errno.patch
patch -p0 < daemontools-0.76.errno.patch

You also need it for ucspi-tcp...

wget http://www.qmail.org/moni.csi.hu/pub...88.errno.patch
patch -p1 < ucspi-tcp-0.88.errno.patch

And finally... qmail itself...

wget ftp://moni.csi.hu/pub/glibc-2.3.1/qm...03.errno.patch
patch -p1 < qmail-1.03.errno.patch
 
Old 10-25-2004, 08:39 AM   #7
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Wait a minute... I just looked back to your first post and I realized you're trying to follow qmailrocks.org. You really need to get those patches installed in the steps prior to running your "make man && make setup check" commands. There are a few lines right before this that talk about running the qmail_big_patches.script. You need to run this if you haven't. You also need to watch carefully for errors when you run it. If you ran it successfully, there should be no errors about "errno". If you get any errors, you may want to go back a few steps and repeat what you've done. As far as I know, the install should be very clean.
 
Old 10-25-2004, 08:40 AM   #8
snapper64
Member
 
Registered: Aug 2004
Location: At my Computer
Distribution: Redhat 7.3
Posts: 37

Original Poster
Rep: Reputation: 15
it asks which file to patch
Which ???????//
 
Old 10-25-2004, 08:46 AM   #9
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
>> it asks which file to patch

Forget that... don't run the commands I'm showing in post #6. You need to run the commands at qmailrocks.org. They've got the patches all setup and everything.
 
Old 10-25-2004, 09:16 PM   #10
bgavin
LQ Newbie
 
Registered: Jan 2003
Location: Orangevale, CA
Distribution: Fedora FC2
Posts: 8

Rep: Reputation: 0
I ran the QmailRocks install package without incident.

The problem I have with QMR, is he wants a web server installed.
All I want is a pure QMail server, no web.

I wiped the system clean, and will try LifeWithQmail using Fedora FC2.
 
Old 10-25-2004, 09:41 PM   #11
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
The web server is necessary for only a few reasons.

1) qmail-admin, which is used for adding, modifying or deleting domains from qmail

2) webmail. If you don't need webmail, you can skip these steps.

3) managing ezmlm mailing lists

That's about all. I recommend doing the install completely as qmailrocks describes, and then turn off the stuff you dont want after you're finished. You can have the web server running on the localhost only so that allows you to take advantage of the admin capabilities without putting your server at risk. You can also firewall port 80 from the outside so that will keep it secure too.

I think installation guides like qmailrocks are very good... much better than life with qmail. If you're only making a mail server for a single domain, that's the only case where I'd recommend it over an installation like qmailrocks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qmail /service/qmail-send: unable to open supervise mangueJOE Linux - Networking 20 04-19-2016 11:27 PM
Need help with /var/qmail/supervise/qmail-smtpd/run coolamit78 Linux - Networking 4 02-02-2012 10:50 AM
Open Webmail / Mailfront / smtpfront-qmail / qmail-smtpd Apollo77 Linux - Software 2 01-20-2009 03:33 AM
Qmail (Qmail-pop3d) pop login problem Punker51 Linux - Software 2 07-22-2004 02:52 PM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration