Thread: make of 8.3.5 failed on Linux

make of 8.3.5 failed on Linux

From
Ruslan A Dautkhanov
Date:
Hello!

I am trying to build PostgreSQL 8.3.5 for Linux.

Error log

    ln -s libutf8_and_uhc.so.0.0 libutf8_and_uhc.so
    make[3]: Leaving directory
    `/root/postgresql-8.3.5/src/backend/utils/mb/conversion_procs/utf8_and_uhc'
    make[3]: Entering directory
    `/root/postgresql-8.3.5/src/backend/utils/mb/conversion_procs/utf8_and_euc_jis_2004'
    make[3]: *** No rule for making `utf8_and_euc_jis_2004.o', ÔÒÅÂÕÅÍÏÊ
    ÄÌÑ `libutf8_and_euc_jis_2004.so.0.0'.  Stop.
    make[3]: Leaving directory
    `/root/postgresql-8.3.5/src/backend/utils/mb/conversion_procs/utf8_and_euc_jis_2004'
    make[2]: *** [all] Error 2

Linux 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386
GNU/Linux

PostgreSQL 8.2.4 was build OK on this platform.

Configured with
./configure \
  --enable-locale \
  --enable-recode \
  --with-pgport=6511 \
  --enable-cassert \
  --with-perl \
  --prefix=/usr/local/pgsql83

Thank you,
Ruslan

Re: make of 8.3.5 failed on Linux

From
Tom Lane
Date:
Ruslan A Dautkhanov <ruslan@intraline.ru> writes:
>     `/root/postgresql-8.3.5/src/backend/utils/mb/conversion_procs/utf8_and_euc_jis_2004'
>     make[3]: *** No rule for making `utf8_and_euc_jis_2004.o', ÔÒÅÂÕÅÍÏÊ
>     ÄÌÑ `libutf8_and_euc_jis_2004.so.0.0'.  Stop.

Look into that directory and see if you have utf8_and_euc_jis_2004.c.
There are some broken versions of "tar" out there that fail to cope
with such a long filename.

            regards, tom lane

Re: make of 8.3.5 failed on Linux

From
Ruslan A Dautkhanov
Date:
Hello,

Tom Lane ÐÉÛÅÔ:
> Ruslan A Dautkhanov <ruslan@intraline.ru> writes:
>
>>     `/root/postgresql-8.3.5/src/backend/utils/mb/conversion_procs/utf8_and_euc_jis_2004'
>>     make[3]: *** No rule for making `utf8_and_euc_jis_2004.o', ÔÒÅÂÕÅÍÏÊ
>>     ÄÌÑ `libutf8_and_euc_jis_2004.so.0.0'.  Stop.
>>
>
> Look into that directory and see if you have utf8_and_euc_jis_2004.c.
> There are some broken versions of "tar" out there that fail to cope
> with such a long filename.
>
Yes, you are right.

I renamed
file "utf8_and_euc_jis_2004."
to "utf8_and_euc_jis_2004.c" .

Tar(?) also cut files
euc_jis_2004_and_shift_jis_2004.c
and utf8_and_shift_jis_2004.c .
These two files didn't extracted ever.

I tried also tar at another server where FreeBSD 5.5 is installed.
The same effect:(

It's funny, but I was succussul only with WinRAR archiver :)

Thank you,
I got my "All of PostgreSQL successfully made. Ready to install." message
with your help.

Ruslan