Thread: PG 8.3.x doesn't get build

PG 8.3.x doesn't get build

From
Andreas
Date:
Hi,

on my old SUSE 9.3 box the build won't run through for PG 8.3.0 and 8.3.1.
I earlier tried 8.3.0 and gave up. Now 8.3.1 doesn't work either.

I'm in directory postgresql-8.3.1 and run
./configure --enable-nls='de' --enable-thread-safety
the makefile gets created
Then I run make

The process dies with those lines here.
(I had to translate some in english)

Is there someone who could give me a clue on what can be done to get the
build done?


-----------------------------------------------------------------------------------------------------
ln -s libutf8_and_uhc.so.0.0 libutf8_and_uhc.so
make[3]: Leaving directory
`/daten3/src/pg831/postgresql-8.3.1/src/backend/utils/mb/conversion_procs/utf8_and_uhc'
make[3]: Entering directory
`/daten3/src/pg831/postgresql-8.3.1/src/backend/utils/mb/conversion_procs/utf8_and_euc_jis_2004'
make[3]: *** No rule exists for  Target »utf8_and_euc_jis_2004.o«,
  needed to create »libutf8_and_euc_jis_2004.so.0.0«.  END.
make[3]: Leaving directory
`/daten3/src/pg831/postgresql-8.3.1/src/backend/utils/mb/conversion_procs/utf8_and_euc_jis_2004'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/daten3/src/pg831/postgresql-8.3.1/src/backend/utils/mb/conversion_procs'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/daten3/src/pg831/postgresql-8.3.1/src'
make: *** [all] Error 2


Re: PG 8.3.x doesn't get build

From
Tom Lane
Date:
Andreas <maps.on@gmx.net> writes:
> make[3]: *** No rule exists for  Target �utf8_and_euc_jis_2004.o�,
>   needed to create �libutf8_and_euc_jis_2004.so.0.0�.  END.

There are two or three reports like this in the archives.  It appears to
be related to using an old version of "tar" that fails to extract such
long filenames correctly.  Please install the latest tar you can get
your hands on, and see if it gets better...

            regards, tom lane

Re: PG 8.3.x doesn't get build

From
Alvaro Herrera
Date:
Tom Lane wrote:
> Andreas <maps.on@gmx.net> writes:
> > make[3]: *** No rule exists for  Target �utf8_and_euc_jis_2004.o�,
> >   needed to create �libutf8_and_euc_jis_2004.so.0.0�.  END.
>
> There are two or three reports like this in the archives.  It appears to
> be related to using an old version of "tar" that fails to extract such
> long filenames correctly.  Please install the latest tar you can get
> your hands on, and see if it gets better...

Also, do not use Midnight Commander to extract the files.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

Re: PG 8.3.x doesn't get build

From
Andreas
Date:
Alvaro Herrera schrieb:
> Tom Lane wrote:
>
>> Andreas writes:
>>
>>> make[3]: *** No rule exists for  Target �utf8_and_euc_jis_2004.o�,
>>>   needed to create �libutf8_and_euc_jis_2004.so.0.0�.  END.
>>>
>> There are two or three reports like this in the archives.  It appears to
>> be related to using an old version of "tar" that fails to extract such
>> long filenames correctly.  Please install the latest tar you can get
>> your hands on, and see if it gets better...
>>
>
> Also, do not use Midnight Commander to extract the files.
>
>
BINGO
MC was messing up the stuff.
A simple  tar -xf ... did work though.

Thanks :)