Re: [exim] exim-4.74 on Solaris 10 (SOLVED)

Góra strony
Delete this message
Reply to this message
Autor: Frank Elsner
Data:  
Dla: Dennis Davis
CC: Exim Users
Stare tematy: Re: [exim] exim-4.74 on Solaris 10
Temat: Re: [exim] exim-4.74 on Solaris 10 (SOLVED)
On Wed, 26 Jan 2011 15:36:39 +0000 (GMT) Dennis Davis wrote:
> On Wed, 26 Jan 2011, Frank Elsner wrote:
>
> > From: Frank Elsner <Frank.Elsner@???>
> > To: Exim Users <exim-users@???>
> > Date: Wed, 26 Jan 2011 12:19:23
> > Subject: [exim] exim-4.74 on Solaris 10
> >
> > I've problems to compile exim-4.74 in a Solaris 10 system.
> >
> > I've CFLAGS_DYNAMIC= in Local/Makefile
>
> Don't think you need to set this anymore. You needed to do so in
> the release candidates, but Phil Pennock fixed this in the released
> version.
>
> > but make dies with
> >
> > gcc dbmdb.c
> > make: Fatal error: Don't know how to make target `DNSDB.o'
> > Current working directory /root/exim-4.74/build-SunOS5-5.10-i386/lookups
> > *** Error code 1
>
> I'm puzzled, where does "DNSDB.o" come from? The exim source uses
> lowercase filenames. There's certainly a src/lookups/dnsdb.c which
> give an object file dnsdb.o. But there's no DNSDB.c


Thanks, this pointed me in the right direction:

$ type tr
tr is /usr/ucb/tr
$ echo QWERTZUIOPLKJHGFDSAYXCVBNM | tr '[A-Z]' '[a-z]'
qwertzuioplkjhgfdsayxcvbnm
$ echo QWERTZUIOPLKJHGFDSAYXCVBNM | /usr/xpg4/bin/tr '[A-Z]' '[a-z]'
QWERTaUIOPLKJHGFDSAYXCVBNM


Questions? Yes!

$ locale
LANG=
LC_CTYPE=en_US.ISO8859-1
LC_NUMERIC=en_US.ISO8859-1
LC_TIME=en_US.ISO8859-1
LC_COLLATE=en_US.ISO8859-1
LC_MONETARY=en_US.ISO8859-1
LC_MESSAGES=C
LC_ALL=
$ export LC_ALL=C
$ locale
LANG=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES=C
LC_ALL=C
$ echo QWERTZUIOPLKJHGFDSAYXCVBNM | /usr/xpg4/bin/tr '[A-Z]' '[a-z]'
qwertzuioplkjhgfdsayxcvbnm

Eureka! export LC_ALL=C solved my problem.



--Frank Elsner