LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-15-2015, 02:28 AM   #1
pjforum
LQ Newbie
 
Registered: Oct 2015
Posts: 4

Rep: Reputation: Disabled
Postfix configuration "Make" error


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!

Please do help me with this error. thanks

Last edited by pjforum; 10-15-2015 at 02:29 AM.
 
Old 10-15-2015, 03:40 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
May I ask why are you building from source and why you are trying to install such an old version?
 
Old 10-15-2015, 08:13 AM   #3
pjforum
LQ Newbie
 
Registered: Oct 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
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"
 
Old 10-15-2015, 04:23 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
OK, without digging deep into this my first guess would be postfix-2.6.5 is too old for 3.x.x kernel.
 
Old 10-15-2015, 11:43 PM   #5
pjforum
LQ Newbie
 
Registered: Oct 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
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.
 
Old 10-16-2015, 05:30 AM   #6
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
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".

Last edited by jpollard; 10-16-2015 at 05:44 AM.
 
Old 10-18-2015, 06:04 AM   #7
pjforum
LQ Newbie
 
Registered: Oct 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jpollard View Post
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
 
Old 10-18-2015, 07:10 AM   #8
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
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.
 
  


Reply



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
kernel make error: "vmlinux.o no such file ..." and make -d "Reaping losing ..." micscherer Linux - Kernel 3 06-12-2012 07:29 AM
LFS6.3 - Ch5.4.1 "/bin/sh sort not found" error at "make bootstrap" ubyt3m3 Linux From Scratch 2 06-23-2008 12:09 AM
upgrade to kernel 2.6.16.1 : "make bzImage" print "parse error" math_physics Red Hat 2 06-29-2007 11:04 PM
error running "make" and "arkollonrc"... Toro Linux - Software 1 04-19-2004 12:24 AM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:43 AM.

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