pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rainer Tammer <pgsql@spg.schulergroup.com>
To: prasanna@semantifi.com
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #9547: Unable install postgres on AIX 5.3
Date: Wed, 12 Mar 2014 17:01:07 +0100
Message-ID: <532084C3.3070202@spg.schulergroup.com> (raw)
In-Reply-To: <20140312075334.6617cdc87b593d9d1f0393f6c4e0b923.139bdb6f0e.mailapi@email23.secureserver.net>
References: <20140312075334.6617cdc87b593d9d1f0393f6c4e0b923.139bdb6f0e.mailapi@email23.secureserver.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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
>  
>  
>

view thread (4+ messages)

Message-ID: <532084C3.3070202@spg.schulergroup.com>
Permalink:  ../532084C3.3070202@spg.schulergroup.com/
Also on:    postgresql.org/message-id/532084C3.3070202@spg.schulergroup.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: pgsql@spg.schulergroup.com, prasanna@semantifi.com
  Subject: Re: BUG #9547: Unable install postgres on AIX 5.3
  In-Reply-To: <532084C3.3070202@spg.schulergroup.com>
  References: <20140312075334.6617cdc87b593d9d1f0393f6c4e0b923.139bdb6f0e.mailapi@email23.secureserver.net> <532084C3.3070202@spg.schulergroup.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox