Re: [exim] [exim-dev] Exim 4.82 RC1 uploaded

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: George Kasica
Fecha:  
A: Todd Lyons, Marcin Mirosław
Cc: exim-users
Asunto: Re: [exim] [exim-dev] Exim 4.82 RC1 uploaded
Just tried a compile her and it failed with make as follows:

ip.c: In function 'dscp_lookup':
ip.c:470:14: error: 'IPV6_TCLASS' undeclared (first use in this function)
ip.c:470:14: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [ip.o] Error 1
make[1]: Leaving directory `/mnt/scsi-1/Linux/exim-4.82_RC1/build-Linux-i386'

Using my existing 3.80.1 config set up. I don't run IP6 here and have no plans to in the near future.

George


-----Original Message-----
From: exim-users-bounces+georgek=netwrx1.com@??? [mailto:exim-users-bounces+georgek=netwrx1.com@exim.org] On Behalf Of Todd Lyons
Sent: Friday, September 27, 2013 7:15 AM
To: Marcin Mirosław
Cc: exim-users
Subject: Re: [exim] [exim-dev] Exim 4.82 RC1 uploaded

On Fri, Sep 27, 2013 at 2:49 AM, Marcin Mirosław <marcin@???> wrote:
> Hi!
> I can't compile with vanilla Makefile (simply copied file EDITME), I'm
> getting:
> $ LC_ALL=en_US.utf-8 make
> /bin/sh scripts/source_checks
> sort: -:5: disorder: accept_8bitmime
> make: *** [checks] Error 1


Is there a reason that you are specifying the language in that manner?
It works if you do:

LC_ALL=C make

This quick fix will cause the source_scripts helper script to always use C for the sort, and your language override should apply everywhere else.

perl -pi -e 's/LANG=C/LC_ALL=C/' scripts/source_checks

That should result in:

diff --git a/src/scripts/source_checks b/src/scripts/source_checks index 79f9c35..eac4b8d 100644
--- a/src/scripts/source_checks
+++ b/src/scripts/source_checks
@@ -10,7 +10,7 @@ do
   perl -e '$/= undef; while (<>) { print $1 if /(?<='$table'\[\])\s*=\s*{\n(([^}].*\n)+)/m }' \
   | awk '/{ (US)?"/ {print $2}' \
   | awk -F\" '{print $2}' \
-  | LANG=C sort -c \
+  | LC_ALL=C sort -c \
   || exit 1
 done <<-END
        readconf.c      optionlist_config
@@ -36,7 +36,7 @@ do
   < $file \
   perl -e '$/= undef; while (<>) { print $1 if /(?<='$table'\[\])\s*=\s*{\s?(([^}]*)+)}/m }' \
   | awk -F\" '/"/ {print $2}' \
-  | LANG=C sort -c \
+  | LC_ALL=C sort -c \
   || exit 1


done <<-END

Can someone with more language experience tell me if this is a good way to handle it, or does it not fully address the issue that Marcin is seeing?

...Todd
--
The total budget at all receivers for solving senders' problems is $0.
If you want them to accept your mail and manage it the way you want, send it the way the spec says to. --John Levine

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/