On Sun, Oct 11, 2015 at 07:39:26PM +0000, G B wrote: > I'm again attempting to build OpenSMTPD on the latest OpenIndiana release > since > it has a newer toolchain. I've downloaded the newest libasr from June, 2015 > and configure and make completed without any errors. However, during "gmake > install" it stopped with: > > libtool: install: chmod 644 /usr/local/lib/libaasr.a > libtool: install: ranlib /usr/local/lib/libasr.a > gmake install-exec-hook > gmake[3]: Entering directory `/tmp/libasr-1.0.2/src' > manpage=`echo asr_run.3.out | sed 's/\.out$//'`; \ > if test "man" = "man"; then > /usr/bin/cat ${manpage} | nawk -f ../mk/mdoc2man.awk > > asr_run.3.out; > \ > else \ > /usr/bin/cat ${manpage} > asr_run.3.out; \ > fi > nawk: you can only delete array[element] at source line 110 in function > splitwor > ds > context is > delete dest >>> > <<< while (length(l) > 0) { > nawk: syntax error at source line 110 in function splitwords > nawk: illegal statement at source line 110 in function splitwords > missing ) > gmake[3]: *** [asr_run.3.out] Error 2 > gmake[3]: Leaving directory `/tmp/libasr-1.0.2/src' > gmake[2]: *** [install-exec-am] Error 2 > gmake[2]: Leaving directory `/tmp/libasr-1.0.2/src' > gmake[1]: *** [install-am] Error 2 > gmake[1]: Leaving directory `/tmp/libasr-1.0.2/src' > gmake: *** [install-recursive] Error 1
Try a different implementation of AWK (e.g. GNU awk): % gmake clean % AWK=/path/to/bin/gawk ./configure ... % gmake # gmake install -- Herbert -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org