From: Dennis Clarke on 12 Jul 2010 02:19
I attempted to build from sources and was stopped by an odd error :
-DDEF_NEWALIAS_PATH="/usr/local/bin/newaliases" -DHAS_DB -DHAS_PCRE
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DUSE_TLS -DHAS_MYSQL
-Dstrncasecmp=fix_strncasecmp -g -O -I. -I../../include -DSUNOS5 -c
mail_params.c: In function 'mail_params_init':
mail_params.c:531: error: expected expression before '/' token
make: *** [mail_params.o] Error 1
make: *** [update] Error 1
I looked at the code and did not see an errant slash.
A complete log of the build failure may be seen at :
I did a "make tidy" and tried again. Failed again:
Anyone seen this ?
Insights gladly appreciated !
From: Wietse Venema on 12 Jul 2010 06:49
> I attempted to build from sources and was stopped by an odd error :
> /opt/csw/gcc4/bin/gcc -DDEF_COMMAND_DIR="/usr/local/sbin"
That is not what the INSTALL instructions tell you to do.
From: Stan Hoeppner on 12 Jul 2010 16:34
Maybe putting them side-by-side will help.
make makefiles CCARGS='-DDEF_CONFIG_DIR=\"/some/where\"'
make makefiles CCARGS='-DDEF_COMMAND_DIR=\"/usr/local/sbin\"
> Let's see what I did wrong :
You spotted the leading squote but you missed the trailing squote.
Prev: private/smtp-amavis: No such file or directory helps formaster.cf
Next: Maildir permissions