Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T7TkG-0000zP-Ks for pgsql-bugs@postgresql.org; Fri, 31 Aug 2012 16:06:56 +0000 Received: from cpanelsmarthost3.zen.co.uk ([82.71.204.227]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T7TkD-0007Ir-37 for pgsql-bugs@postgresql.org; Fri, 31 Aug 2012 16:06:56 +0000 Received: from [88.98.24.71] (helo=shcp03.hosting.zen.net.uk) by cpanelsmarthost3.zen.co.uk with esmtp (Exim 4.72) (envelope-from ) id 1T7TkB-0001a2-L3 for pgsql-bugs@postgresql.org; Fri, 31 Aug 2012 16:06:51 +0000 Received: from [212.135.39.5] (port=49585 helo=[62.185.32.161]) by shcp03.hosting.zen.net.uk with esmtpa (Exim 4.77) (envelope-from ) id 1T7Tk5-0004Q7-DI for pgsql-bugs@postgresql.org; Fri, 31 Aug 2012 17:06:45 +0100 Message-ID: <5040E132.3040108@ahastie.net> Date: Fri, 31 Aug 2012 17:07:14 +0100 From: Andrew Hastie User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1 References: <503E46CC.5000202@ahastie.net> <28049.1346260600@sss.pgh.pa.us> <5040ABAC.4070808@ahastie.net> <12790.1346425143@sss.pgh.pa.us> In-Reply-To: <12790.1346425143@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - shcp03.hosting.zen.net.uk X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - ahastie.net X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201208/259 X-Sequence-Number: 33983 On 31/08/12 15:59, Tom Lane wrote: > Andrew Hastie writes: >> Thanks for the pointers. Hopefully some of the following may shed some >> light on the issue. > Thanks for the results. It seems difficult to come to any conclusion > other than that AIX has got wcstombs_l but not mbstowcs_l ... which is > darn bizarre; I'd suggest reporting it as a bug to IBM. > > In the meantime, it seems like what we had better do is explicitly > test for both functions, rather than making the assumption that they > would both or neither be present. I'm not sure if we can provide any > extra functionality if only wcstombs_l is available --- that will > have to emerge in making the patch. We can certainly build without > it though. > > As a temporary workaround, you should probably just modify pg_config.h > after configure runs, to remove the HAVE_WCSTOMBS_L symbol. Confirm that the workaround works just fine. Now have PG 9.1.5 up and running on AIX just fine. Thanks. Andrew > > regards, tom lane > >