Re: PostFix - and how to make it


Subject: Re: PostFix - and how to make it
From: Rob Brandt (rbrandt@sbdsl.com)
Date: Thu Jun 28 2001 - 11:24:18 MDT


Hi.

When I did the YDL install I chose the Workstation option; apparently that
does not include compilation tools. I've figured out that I need the Make
package and the gcc package (and therefore cpp and bin-utils). But the rest
isn't obvious to me. Apparently I need more because doing "make" results in
errors. Doing "make" results in:

set -e; for i in src/util src/global src/dns src/master src/postfix
src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd
src/local src/lmtp src/trivial-rewrite src/qmgr src/smtp src/bounce src/pipe
src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick
src/postlock src/postlog src/postmap src/postsuper src/spawn src/flush ; do \
  (set -e; echo "[$i]"; cd $i; make "CC=gcc -Wmissing-prototypes -Wformat "
update MAKELEVEL=) || exit 1; \
done
[src/util]
gcc -Wmissing-prototypes -Wformat -g -O -I. -DLINUX2 -c argv.c
In file included from argv.c:61:
sys_defs.h:415: sys/types.h: No such file or directory
argv.c:62: stdlib.h: No such file or directory
argv.c:64: string.h: No such file or directory
make: *** [argv.o] Error 1
make: *** [update] Error 1

So, what next?

Rob

>Hi Rob,
>
>After you have untarred the current PostFix tar ball, you need to type in:
>make
>
>if you get an error, telling you that it can not find <db.h>
>anywhere, slip in the YDL installation CD and do this:
>
>mount /dev/cdrom /mnt
>cd /mnt/YellowDog/RPMS
>rpm -i db3-devel-3.1.17-3c.ppc.rpm
>
>then, go back to the PostFix source directory and type
>
>make
>
>again.
>
>This then builds the program and all the utilities. I have done it
>'til here, I will not do the next step on my machine as it would
>overwrite my current sendmail program. The next step would be:
>
>make install
>
>
>
>Best regards,
>Chris
>
>



This archive was generated by hypermail 2a24 : Thu Jun 28 2001 - 10:30:39 MDT