Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WNlak-0007Lc-4A for pgsql-bugs@arkaria.postgresql.org; Wed, 12 Mar 2014 16:01:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WNlaj-0006wl-Kj for pgsql-bugs@arkaria.postgresql.org; Wed, 12 Mar 2014 16:01:13 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WNlai-0006wf-RV for pgsql-bugs@postgresql.org; Wed, 12 Mar 2014 16:01:13 +0000 Received: from mgate01.schulergroup.com ([212.87.143.250]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WNlaf-00032A-JE for pgsql-bugs@postgresql.org; Wed, 12 Mar 2014 16:01:12 +0000 X-IronPort-AV: E=Sophos;i="4.97,639,1389740400"; d="scan'208,217";a="4790061" Received: from ifw.schulergroup.com ([212.87.143.254]) by mgate01.schulergroup.com with ESMTP; 12 Mar 2014 17:01:08 +0100 Received: from saturn.schuler.de (saturn.schuler.de [153.3.1.198]) by ifw.schulergroup.com (Postfix) with ESMTP id A3D47D030383; Wed, 12 Mar 2014 17:01:08 +0100 (CET) Received: from [153.3.21.70] (rt01.schuler.de [153.3.21.70]) by saturn.schuler.de (8.12.11.20060308/8.12.7/SuSE Linux 0.6) with ESMTP id s2CG18Dl023381; Wed, 12 Mar 2014 17:01:08 +0100 Message-ID: <532084C3.3070202@spg.schulergroup.com> Date: Wed, 12 Mar 2014 17:01:07 +0100 From: Rainer Tammer Organization: Schuler Pressen GmbH & Co. KG User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: prasanna@semantifi.com, pgsql-bugs@postgresql.org Subject: Re: BUG #9547: Unable install postgres on AIX 5.3 References: <20140312075334.6617cdc87b593d9d1f0393f6c4e0b923.139bdb6f0e.mailapi@email23.secureserver.net> In-Reply-To: <20140312075334.6617cdc87b593d9d1f0393f6c4e0b923.139bdb6f0e.mailapi@email23.secureserver.net> X-Enigmail-Version: 1.6 Content-Type: multipart/alternative; boundary="------------050506040507010903090100" X-Virus-Scanned: by amavisd-new X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org This is a multi-part message in MIME format. --------------050506040507010903090100 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello, OK, did you use tar or GNU tar to extract the files? You should see these files in postgresql-8.4.20/src/backend/ utils/mb/conversion_procs/euc_jis_2004_and_shift_jis_2004: # ls -al drwxrwxrwx 2 tammer system 4096 Feb 25 08:29 . drwxrwxrwx 28 tammer system 4096 Feb 25 08:29 .. -rw-r--r-- 1 tammer system 521 Feb 17 20:44 Makefile -rw-r--r-- 1 tammer system 6933 Feb 17 20:44 euc_jis_2004_and_shift_jis_2004.c after compilation these files should show up: -rw-r--r-- 1 tammer system 5835 Feb 25 08:29 euc_jis_2004_and_shift_jis_2004.o -rwxr-xr-x 1 tammer system 7371 Feb 25 08:29 euc_jis_2004_and_shift_jis_2004.so -rw-r--r-- 1 tammer system 8568 Feb 25 08:29 libeuc_jis_2004_and_shift_jis_2004.a -rw-r--r-- 1 tammer system 159 Feb 25 08:29 libeuc_jis_2004_and_shift_jis_2004.exp Which compiler version did you use (cc -qversion output for IBM C/C++)? With IBM C/C++ the following make command should work: export CFLAGS=-qsuppress=1500-010 export CC=cc_r export CXX=xlC_r ./configure \ --with-includes=/opt/freeware/include/readline \ --with-libraries=/opt/freeware/lib \ --prefix=/usr/local/pgsql \ --with-CC=cc_r \ --with-libxml \ --without-tcl \ --without-python gmake all or without readline / zlib installed: export CFLAGS=-qsuppress=1500-010 export CC=cc_r export CXX=xlC_r ./configure \ --prefix=/usr/local/pgsql \ --with-CC=cc_r \ --without-tcl \ --without-python \ --without-readline \ --without-zlib gmake all Bye Rainer On 12.03.2014 15:53, prasanna@semantifi.com wrote: > hello, > > I am getting following error when i tried to install 8.4.20. > After giving gmake command getting error. > > gmake[3]: Leaving directory > '/resgrp147/Semantifi/postgres/postgresql.8.4.20/src/backend/utils/mb/conversion_procs/utf8_and_uhc' > gmake[3]: Entering directory > '/resgrp147/Semantifi/postgres/postgresql.8.4.20/src/backend/utils/mb/conversion_procs/utf8_and_euc_jis_2004' > gmake[3]: *** No rule to make target 'utf8_and_euc_jis_2004.o', needed > by 'utf8_and_euc_jis_2004.so'. Stop. > gmake[3]: Leaving directory > '/resgrp147/Semantifi/postgres/postgresql.8.4.20/src/backend/utils/mb/conversion_procs/utf8_and_euc_jis_2004' > Makefile:165: recipe for target 'all' failed > gmake[2]: *** [all] Error 2 > gmake[2]: Leaving directory > '/resgrp147/Semantifi/postgres/postgresql.8.4.20/src/backend/utils/mb/conversion_procs' > Makefile:17: recipe for target 'all' failed > gmake[1]: *** [all] Error 2 > gmake[1]: Leaving directory > '/resgrp147/Semantifi/postgres/postgresql.8.4.20/src' > GNUmakefile:12: recipe for target 'all' failed > > > > Thanks > Prasanna > > > --------------050506040507010903090100 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Hello,
OK, did you use tar or GNU tar to extract the files?
You should see these files in postgresql-8.4.20/src/backend/
utils/mb/conversion_procs/euc_jis_2004_and_shift_jis_2004:

# ls -al

drwxrwxrwx    2 tammer   system         4096 Feb 25 08:29 .
drwxrwxrwx   28 tammer   system         4096 Feb 25 08:29 ..
-rw-r--r--    1 tammer   system          521 Feb 17 20:44 Makefile
-rw-r--r--    1 tammer   system         6933 Feb 17 20:44 euc_jis_2004_and_shift_jis_2004.c

after compilation these files should show up:

-rw-r--r--    1 tammer   system         5835 Feb 25 08:29 euc_jis_2004_and_shift_jis_2004.o
-rwxr-xr-x    1 tammer   system         7371 Feb 25 08:29 euc_jis_2004_and_shift_jis_2004.so
-rw-r--r--    1 tammer   system         8568 Feb 25 08:29 libeuc_jis_2004_and_shift_jis_2004.a
-rw-r--r--    1 tammer   system          159 Feb 25 08:29 libeuc_jis_2004_and_shift_jis_2004.exp


Which compiler version did you use (cc -qversion output for IBM C/C++)?


With IBM C/C++ the following make command should work:

export CFLAGS=-qsuppress=1500-010
export CC=cc_r
export CXX=xlC_r
./configure \
  --with-includes=/opt/freeware/include/readline \
  --with-libraries=/opt/freeware/lib \
  --prefix=/usr/local/pgsql \
  --with-CC=cc_r \
  --with-libxml \
  --without-tcl \
  --without-python
gmake all


or without readline / zlib installed:

export CFLAGS=-qsuppress=1500-010
export CC=cc_r
export CXX=xlC_r
./configure \
  --prefix=/usr/local/pgsql \
  --with-CC=cc_r \
  --without-tcl \
  --without-python \
  --without-readline \
  --without-zlib
gmake all


Bye
  Rainer

On 12.03.2014 15:53, prasanna@semantifi.com wrote:
hello,
 
I am getting following error when i tried to install 8.4.20.
After giving gmake command getting error.
 
gmake[3]: Leaving directory '/resgrp147/Semantifi/postgres/postgresql.8.4.20/src/backend/utils/mb/conversion_procs/utf8_and_uhc'
gmake[3]: Entering directory '/resgrp147/Semantifi/postgres/postgresql.8.4.20/src/backend/utils/mb/conversion_procs/utf8_and_euc_jis_2004'
gmake[3]: *** No rule to make target 'utf8_and_euc_jis_2004.o', needed by 'utf8_and_euc_jis_2004.so'.  Stop.
gmake[3]: Leaving directory '/resgrp147/Semantifi/postgres/postgresql.8.4.20/src/backend/utils/mb/conversion_procs/utf8_and_euc_jis_2004'
Makefile:165: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/resgrp147/Semantifi/postgres/postgresql.8.4.20/src/backend/utils/mb/conversion_procs'
Makefile:17: recipe for target 'all' failed
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory '/resgrp147/Semantifi/postgres/postgresql.8.4.20/src'
GNUmakefile:12: recipe for target 'all' failed
 
 
 
Thanks
Prasanna
 
 

--------------050506040507010903090100--