Folks,
I am trying to configure a brand-new box (tbh, it is a cloud machine) with FreeBSD to run a mail server on it, but I can’t even configure Postfix:
It should use gmake, not make.
And for socat, there’s another error:
[…]
Given those are super-common, I wonder if something is wrong with my system.
Any help would be greaaaaatttttly appreciated
Cheers,
Vincent
I am trying to configure a brand-new box (tbh, it is a cloud machine) with FreeBSD to run a mail server on it, but I can’t even configure Postfix:
Code:
===> Configuring for postfix-3.8.1,1
(cd /usr/ports/mail/postfix/work-default/postfix-3.8.1 && make -f Makefile.init makefiles DEBUG= pie=yes CC="cc" OPT="-O2 -pipe -march=native -fno-common -fstack-protector-strong -fno-strict-aliasing " CCARGS="-DDEF_CONFIG_DIR=\\\"/usr/local/etc/postfix\\\" -DDEF_DAEMON_DIR=\\\"/usr/local/libexec/postfix\\\" -DDEF_META_DIR=\\\"/usr/local/libexec/postfix\\\" -DDEF_COMMAND_DIR=\\\"/usr/local/sbin\\\" -DDEF_SENDMAIL_PATH=\\\"/usr/local/sbin/sendmail\\\" -DDEF_NEWALIAS_PATH=\\\"/usr/local/bin/newaliases\\\" -DDEF_MAILQ_PATH=\\\"/usr/local/bin/mailq\\\" -DDEF_MANPAGE_DIR=\\\"/usr/local/man\\\" -DDEF_README_DIR=\\\"/usr/local/share/doc/postfix\\\" -DDEF_HTML_DIR=\\\"/usr/local/share/doc/postfix\\\" -DDEF_QUEUE_DIR=\\\"/var/spool/postfix\\\" -DDEF_DATA_DIR=\\\"/var/db/postfix\\\" -DDEF_MAIL_OWNER=\\\"postfix\\\" -DDEF_SGID_GROUP=\\\"maildrop\\\" -Wmissing-prototypes -Wformat -Wno-comment -DUSE_SASL_AUTH -DHAS_EAI -I/usr/local/include -DHAS_PCRE=2 -I/usr/local/include -DUSE_CYRUS_SASL -I/usr/local/include -I/usr/local/include/sasl -DUSE_TLS -I/usr/include -DHAS_PGSQL -I/usr/local/include" shared=yes shlib_directory=/usr/local/lib/postfix dynamicmaps=yes "AUXLIBS_PCRE=`/usr/local/bin/pcre2-config --libs8`" "AUXLIBS_PGSQL=-L/usr/local/lib -lpq" AUXLIBS="-L/usr/local/lib -licuuc -L/usr/local/lib -lsasl2 -lpam -lcrypt -L/usr/lib -L/usr/local/lib -fstack-protector-strong -lssl -lcrypto -lblacklist" && echo "all: default" >> Makefile)
make -f Makefile.in MAKELEVEL= Makefiles
make[4]: cannot open Makefile.in.
make[4]: stopped in /usr/obj/usr/amd64.amd64/ports/mail/postfix/work-default/postfix-3.8.1
And for socat, there’s another error:
[…]
Code:
--- socat ---
cc -O2 -pipe -march=native -fno-common -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -fstack-protector-strong -o socat socat.o libxio.a -lwrap -lutil -lssl -lcrypto
===> Staging for socat-1.7.4.4
===> Generating temporary packing list
install -s -m 555 /usr/ports/net/socat/work/socat-1.7.4.4/filan /usr/ports/net/socat/work/stage/usr/local/bin
install: /usr/ports/net/socat/work/socat-1.7.4.4/filan: No such file or directory
*** Error code 71
Any help would be greaaaaatttttly appreciated
Cheers,
Vincent