Hi,
probably it's not the same problem, but to compile Courier for Solaris 8, I
had to add the following environment variables (change to reflect your
environment):
CPPFLAGS="-I/opt/courier/include –I/usr/local/include
-I/usr/local/ssl/include"
LDFLAGS="-L/opt/courier/lib –L/usr/local/lib -L/usr/local/ssl/lib"
Courier's configure script didn't give any errors, but make failed. With
those vars I was able to compile it.
I had to specify also the uid and gid for the courier user in the configure
script also, otherwise it didn't compile:
*./configure --prefix=/opt/*courier* --with-mailuser=courier
--with-mailgroup=courier --with-mailuid=1001 --with-mailgid=1001 *
I used GCC to compile it, not Sun's compiler.
Good luck!
On 3/23/07, aza zel <[EMAIL PROTECTED]> wrote:
hi...
i have the following error when i make, and i dont know how to resolve
them:
Compiling courierfilter.c
courierfilter.c: In function `main':
courierfilter.c:377: error: syntax error before ',' token
*** Error code 1
The following command caused the error:
echo Compiling courierfilter.c ; if gcc -DHAVE_CONFIG_H -I. -I. -I.
-I.. -I./.. -I./../libs -I./../.. -I../.. -I../../liblock -Wall -g -O2 -MT
courierfilter.o -MD -MP -MF ".deps/courierfilter.Tpo" -c -o
courierfilter.o courierfilter.c; \
then mv -f ".deps/courierfilter.Tpo" ".deps/courierfilter.Po"; else rm -f
".deps/courierfilter.Tpo"; exit 1; fi
make: Fatal error: Command failed for target `courierfilter.o'
Current working directory /export/home/maxi/courier/courier-0.54.2
/courier/filters
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='libfilter perlfilter'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/maxi/courier/courier-0.54.2
/courier/filters
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /export/home/maxi/courier/courier-0.54.2
/courier/filters
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='libs filters doc webadmin module.uucp module.local module.fax
module.esmtp module.dsn'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/maxi/courier/courier-0.54.2/courier
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /export/home/maxi/courier/courier-0.54.2/courier
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='afx gdbmobj numlib soxwrap md5 sha1 libhmac random128 unicode
rfc822 rfc1035 rfc2045 liblock maildir waitlib tcpd threadlib makedat imap
maildrop cgi http11 ldapaddressbook gpglib pcp webmail rootcerts webadmin
courier'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
any suggest?
--
Salu2 ;)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users