Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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]#
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]#
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.