|
From: Tatsuo I. <is...@po...> - 2012-11-06 01:33:27
|
Hi, I tried this with Postgres-XC 1.0.1. [t-ishii@localhost pgxc]$ ./configure --prefix= /home/t-ishii/work/Postgres-XC configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: /home/t-ishii/work/Postgres-XC checking build system type... Invalid configuration `/home/t-ishii/work/Postgres-XC': machine `/home/t-ishii/work/Postgres' not recognized configure: error: /bin/sh config/config.sub /home/t-ishii/work/Postgres-XC failed It seems Postgres-XC's configure has a problem with prefix dir including "-". Note that PostgreSQL 9.2.1. is fine with this kind of directory name. This is Linux 3.0.50 x86_64. -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese: http://www.sraoss.co.jp |
|
From: Koichi S. <koi...@gm...> - 2012-11-06 01:57:29
|
I found a space after --prefix= Removing this space runs configure without problem. Regards; ---------- Koichi Suzuki 2012/11/6 Tatsuo Ishii <is...@po...>: > Hi, > > I tried this with Postgres-XC 1.0.1. > > [t-ishii@localhost pgxc]$ ./configure --prefix= /home/t-ishii/work/Postgres-XC > configure: WARNING: you should use --build, --host, --target > configure: WARNING: invalid host type: /home/t-ishii/work/Postgres-XC > checking build system type... Invalid configuration `/home/t-ishii/work/Postgres-XC': machine `/home/t-ishii/work/Postgres' not recognized > configure: error: /bin/sh config/config.sub /home/t-ishii/work/Postgres-XC failed > > It seems Postgres-XC's configure has a problem with prefix dir > including "-". Note that PostgreSQL 9.2.1. is fine with this kind of > directory name. > > This is Linux 3.0.50 x86_64. > -- > Tatsuo Ishii > SRA OSS, Inc. Japan > English: http://www.sraoss.co.jp/index_en.php > Japanese: http://www.sraoss.co.jp > > ------------------------------------------------------------------------------ > LogMeIn Central: Instant, anywhere, Remote PC access and management. > Stay in control, update software, and manage PCs from one command center > Diagnose problems and improve visibility into emerging IT issues > Automate, monitor and manage. Do more in less time with Central > http://p.sf.net/sfu/logmein12331_d2d > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general |
|
From: Michael P. <mic...@gm...> - 2012-11-06 01:57:42
|
On Tue, Nov 6, 2012 at 10:32 AM, Tatsuo Ishii <is...@po...> wrote: > Hi, > > I tried this with Postgres-XC 1.0.1. > > [t-ishii@localhost pgxc]$ ./configure --prefix= > /home/t-ishii/work/Postgres-XC > configure: WARNING: you should use --build, --host, --target > configure: WARNING: invalid host type: /home/t-ishii/work/Postgres-XC > checking build system type... Invalid configuration > `/home/t-ishii/work/Postgres-XC': machine `/home/t-ishii/work/Postgres' not > recognized > configure: error: /bin/sh config/config.sub /home/t-ishii/work/Postgres-XC > failed > > It seems Postgres-XC's configure has a problem with prefix dir > including "-". Note that PostgreSQL 9.2.1. is fine with this kind of > directory name. > That's funny I can't reproduce it... -- Michael Paquier http://michael.otacoo.com |
|
From: Tatsuo I. <is...@po...> - 2012-11-06 01:58:17
|
Oops. It appeared my fault. Sorry for noise. -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese: http://www.sraoss.co.jp > Hi, > > I tried this with Postgres-XC 1.0.1. > > [t-ishii@localhost pgxc]$ ./configure --prefix= /home/t-ishii/work/Postgres-XC > configure: WARNING: you should use --build, --host, --target > configure: WARNING: invalid host type: /home/t-ishii/work/Postgres-XC > checking build system type... Invalid configuration `/home/t-ishii/work/Postgres-XC': machine `/home/t-ishii/work/Postgres' not recognized > configure: error: /bin/sh config/config.sub /home/t-ishii/work/Postgres-XC failed > > It seems Postgres-XC's configure has a problem with prefix dir > including "-". Note that PostgreSQL 9.2.1. is fine with this kind of > directory name. > > This is Linux 3.0.50 x86_64. > -- > Tatsuo Ishii > SRA OSS, Inc. Japan > English: http://www.sraoss.co.jp/index_en.php > Japanese: http://www.sraoss.co.jp > > ------------------------------------------------------------------------------ > LogMeIn Central: Instant, anywhere, Remote PC access and management. > Stay in control, update software, and manage PCs from one command center > Diagnose problems and improve visibility into emerging IT issues > Automate, monitor and manage. Do more in less time with Central > http://p.sf.net/sfu/logmein12331_d2d > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general |
|
From: Tatsuo I. <is...@po...> - 2012-11-06 02:02:07
|
> On Tue, Nov 6, 2012 at 10:32 AM, Tatsuo Ishii <is...@po...> wrote: > >> Hi, >> >> I tried this with Postgres-XC 1.0.1. >> >> [t-ishii@localhost pgxc]$ ./configure --prefix= >> /home/t-ishii/work/Postgres-XC >> configure: WARNING: you should use --build, --host, --target >> configure: WARNING: invalid host type: /home/t-ishii/work/Postgres-XC >> checking build system type... Invalid configuration >> `/home/t-ishii/work/Postgres-XC': machine `/home/t-ishii/work/Postgres' not >> recognized >> configure: error: /bin/sh config/config.sub /home/t-ishii/work/Postgres-XC >> failed >> >> It seems Postgres-XC's configure has a problem with prefix dir >> including "-". Note that PostgreSQL 9.2.1. is fine with this kind of >> directory name. >> > That's funny I can't reproduce it... My fault. Sorry. (note the space between "--prefix=" and "/home/t-ishii...". BTW, I got "may be used uninitialized in this function" warnings while compiling. Are they safe? -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese: http://www.sraoss.co.jp |
|
From: Michael P. <mic...@gm...> - 2012-11-06 02:04:56
|
> My fault. Sorry. (note the space between "--prefix=" and > "/home/t-ishii...". > > BTW, I got "may be used uninitialized in this function" warnings while > compiling. Are they safe? > Yes they are. The only reason why those things are not fixed yet is because nobody took the time to seriously fix them all. -- Michael Paquier http://michael.otacoo.com |