Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
SO I'm done with the command
"tar -xzvf <postfix etc"
"cd postfix"
then the next command is the "make -f Makefile.init makefiles"
That comes up with this annoying error! I've spent 12 hours searching for the solution for this error, but can't find any :3 bin'sh makedefs) >makedefs.tmp https://gyazo.com/66f00f7088023d2719b33cddc0a8d7ba
I've tried different kind of distros. out of 12 distros I have used, only 3 can proceed to postfix, and has the same error.
The three distros have the same error are: "Slackel, Salix and Vector Linux" These are all slackware-based LINUX!
May I ask why are you building from source and why you are trying to install such an old version?
I actually don't care, this is just a requirement from school, need to install a "DNS,Apache,php,postfix,dovecot and SquirrelMail" just a compliance. And of course for me to be able to learn. "Linux administration"
OK, without digging deep into this my first guess would be postfix-2.6.5 is too old for 3.x.x kernel.
Thank you for your opinion, do you think that is the cause? Because it worked just fine on Slackware itself, but our instructor doesn't want us to use Slackware, because we already know how to, since Slackware is what we always do in our lab activity.
Usually there is a "./configure" step so it can find where different distributions store configuration information.
Depending on the package, the default may exist... but when it doesn't the configure step can create/replace what is missing.
... hm. It seems Postfix doesn't use autoconf. Sorry about the wrong info above.
According to the install documentation (http://www.postfix.org/INSTALL.html), there should be a shell script in the top level of the kit called "makedefs".
You have to modify it for unknown systems - and your link shows the system you are trying to compile it on is "unknown".
Usually there is a "./configure" step so it can find where different distributions store configuration information.
Depending on the package, the default may exist... but when it doesn't the configure step can create/replace what is missing.
... hm. It seems Postfix doesn't use autoconf. Sorry about the wrong info above.
According to the install documentation (http://www.postfix.org/INSTALL.html), there should be a shell script in the top level of the kit called "makedefs".
You have to modify it for unknown systems - and your link shows the system you are trying to compile it on is "unknown".
Thank you for reply! Uhmmm, I don't know where to modify! :3
There should be some other configurations already present for examples.
Don't forget the possible changes needed in util/sys_defs.h file too.
Sometimes you can identify a different system that works the same as yours, and just copy the data for it. If something doesn't quite work right, you can then make changes to the new entries.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.