From: Peter Eisentraut on
On mån, 2010-05-10 at 20:07 +0900, Kenichiro Tanaka wrote:
> Reproduce case:
> #prefix and with-pgport are not important
> ./configure --enable-nls='UFT_JP' --prefix=/home/p900/posgrehome
> --with-pgport=1900
> make && make install
>
> make install
> log---------------------------------------------------------------
> :
> :
> make[3]: Leaving directory `/home/p900/postgresql-9.0beta1/src/timezone'
> /bin/mkdir: missing operand
> Try `/bin/mkdir --help' for more information.
> make[2]: *** [installdirs-po] Error 1
> make[2]: Leaving directory `/home/p900/postgresql-9.0beta1/src/backend'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/home/p900/postgresql-9.0beta1/src'
> make: *** [install] Error 2
> --------------------------------------------------------------------------
>

Fixed.



--
Sent via pgsql-hackers mailing list (pgsql-hackers(a)postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

From: Peter Eisentraut on
On mån, 2010-05-10 at 11:40 -0400, Alvaro Herrera wrote:
> Excerpts from Kenichiro Tanaka's message of lun may 10 07:07:27 -0400 2010:
>
> > Reproduce case:
> > #prefix and with-pgport are not important
> > ./configure --enable-nls='UFT_JP' --prefix=/home/p900/posgrehome
> > --with-pgport=1900
> > make && make install
>
> I think this is pilot error, in the sense that it doesn't fail if you
> don't pass an invalid language name. Maybe the bug is that we allow
> --enable-nls to pass down junk down to the install Makefile, instead of
> erroring out right there.

The language name in his example is obviously wrong, but in general this
case if valid. Even if you use something "correct" like
--enable-nls='de es fr', but one subdirectory doesn't have any of those,
the mkdir call would fail.



--
Sent via pgsql-hackers mailing list (pgsql-hackers(a)postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers