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