pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
windows xp compile error
7+ messages / 2 participants
[nested] [flat]

* windows xp compile error
@ 2005-06-29 14:16  Bob <luckyratfoot@gmail.com>
  0 siblings, 1 reply; 7+ messages in thread

From: Bob @ 2005-06-29 14:16 UTC (permalink / raw)
  To: pgsql-ports

I'm new to working with this stuff so please excuse any obvious issue I may 
have overlooked.
 I downloaded the 8.0.3 release source code.
 I'm trying to compile on windows xp pro here is my make install output 
after having ran ./configure without zlib option without any error.
 sh-2.04$ make install
make -C doc install
make[1]: Entering directory `/c/pgsrc/doc'
gzip -d -c ./postgres.tar.gz | ( cd /usr/local/pgsql/doc/html && 
/usr/bin/tar xf - )
for file in man1/*.1 man7/*.7 ; do \
/bin/sh.exe ../config/install-sh -c -m 644 $file /usr/local/pgsql/man/$file 
|| exit; \
done
make[1]: Leaving directory `/c/pgsrc/doc'
make -C src install
make[1]: Entering directory `/c/pgsrc/src'
/bin/sh.exe ../config/mkinstalldirs /usr/local/pgsql/lib/pgxs/src
/bin/sh.exe ../config/install-sh -c -m 644
Makefile.global/usr/local/pgsql/lib/pgxs/src/Makefile.global
/bin/sh.exe ../config/install-sh -c -m 644
Makefile.port/usr/local/pgsql/lib/pgxs/src/Makefile.port
/bin/sh.exe ../config/install-sh -c -m 644 ./Makefile.shlib 
/usr/local/pgsql/lib/pgxs/src/Makefile.shlib
/bin/sh.exe ../config/install-sh -c -m 644
./nls-global.mk<http://global.mk>/usr/local/pgsql/lib/pgxs/src/nls-
global.mk <http://global.mk;
make -C port install
make[2]: Entering directory `/c/pgsrc/src/port'
/bin/sh.exe ../../config/install-sh -c -m 644 libpgport.a/usr/local/pgsql/lib
make[2]: Leaving directory `/c/pgsrc/src/port'
make -C timezone install
make[2]: Entering directory `/c/pgsrc/src/timezone'
make -C ../../src/port all
make[3]: Entering directory `/c/pgsrc/src/port'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/c/pgsrc/src/port'
./zic -d /usr/local/pgsql/share/timezone ./data/africa ./data/antarctica 
./data/asia ./data/australasia ./data/europe ./data/northamerica 
./data/southamerica ./data/pacificnew ./data/etcetera ./data/factory 
./data/backward ./data/systemv ./data/solar87 ./data/solar88 ./data/solar89
make[2]: Leaving directory `/c/pgsrc/src/timezone'
make -C backend install
make[2]: Entering directory `/c/pgsrc/src/backend'
make -C ../../src/port all
make[3]: Entering directory `/c/pgsrc/src/port'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/c/pgsrc/src/port'
make -C utils fmgroids.h
make[3]: Entering directory `/c/pgsrc/src/backend/utils'
AWK='gawk' /bin/sh.exe Gen_fmgrtab.sh ../../../src/include/catalog/pg_proc.h
-nThe system cannot find the file specified.
/usr/bin/egrep: line 8: 5564 Broken pipe grep -E "$@"
Gen_fmgrtab.sh failed
make[3]: *** [fmgroids.h] Error 1
make[3]: Leaving directory `/c/pgsrc/src/backend/utils'
make[2]: *** [utils/fmgroids.h] Error 2
make[2]: Leaving directory `/c/pgsrc/src/backend'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/c/pgsrc/src'
make: *** [install] Error 2
sh-2.04$
 Any ideas why I'm getting this? Here is what version I get when running 
make --version
 
sh-2.04$ make --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i686-pc-msys
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-make@gnu.org>.

sh-2.04$ 

Thanks,

Bob

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: windows xp compile error
@ 2005-06-29 15:48  Bob <luckyratfoot@gmail.com>
  parent: Bob <luckyratfoot@gmail.com>
  0 siblings, 0 replies; 7+ messages in thread

From: Bob @ 2005-06-29 15:48 UTC (permalink / raw)
  To: pgsql-ports

Found one other question about this here 
http://archives.postgresql.org/pgsql-cygwin/2004-02/msg00006.php. There was 
never a complete answer other than "
use the binary installer" which is a lazy mans solution.

 On 6/29/05, Bob <luckyratfoot@gmail.com> wrote: 
> 
> I'm new to working with this stuff so please excuse any obvious issue I 
> may have overlooked.
>  I downloaded the 8.0.3 release source code.
>  I'm trying to compile on windows xp pro here is my make install output 
> after having ran ./configure without zlib option without any error.
>  sh-2.04$ make install
> make -C doc install
> make[1]: Entering directory `/c/pgsrc/doc'
> gzip -d -c ./postgres.tar.gz | ( cd /usr/local/pgsql/doc/html && 
> /usr/bin/tar xf - )
> for file in man1/*.1 man7/*.7 ; do \ 
> /bin/sh.exe ../config/install-sh -c -m 644 $file 
> /usr/local/pgsql/man/$file || exit; \
> done
> make[1]: Leaving directory `/c/pgsrc/doc'
> make -C src install
> make[1]: Entering directory `/c/pgsrc/src' 
> /bin/sh.exe ../config/mkinstalldirs /usr/local/pgsql/lib/pgxs/src
> /bin/sh.exe ../config/install-sh -c -m 644 Makefile.global/usr/local/pgsql/lib/pgxs/src/Makefile.global
> /bin/sh.exe ../config/install-sh -c -m 644 Makefile.port/usr/local/pgsql/lib/pgxs/src/Makefile.port
> /bin/sh.exe ../config/install-sh -c -m 644 ./Makefile.shlib 
> /usr/local/pgsql/lib/pgxs/src/Makefile.shlib
> /bin/sh.exe ../config/install-sh -c -m 644 ./nls- global.mk<http://global.mk/>/usr/local/pgsql/lib/pgxs/src/nls-
> global.mk <http://global.mk/;
> make -C port install
> make[2]: Entering directory `/c/pgsrc/src/port'
> /bin/sh.exe ../../config/install-sh -c -m 644 libpgport.a/usr/local/pgsql/lib
> make[2]: Leaving directory `/c/pgsrc/src/port'
> make -C timezone install
> make[2]: Entering directory `/c/pgsrc/src/timezone'
> make -C ../../src/port all
> make[3]: Entering directory `/c/pgsrc/src/port' 
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/c/pgsrc/src/port'
> ./zic -d /usr/local/pgsql/share/timezone ./data/africa ./data/antarctica 
> ./data/asia ./data/australasia ./data/europe ./data/northamerica 
> ./data/southamerica ./data/pacificnew ./data/etcetera ./data/factory 
> ./data/backward ./data/systemv ./data/solar87 ./data/solar88 ./data/solar89 
> make[2]: Leaving directory `/c/pgsrc/src/timezone'
> make -C backend install
> make[2]: Entering directory `/c/pgsrc/src/backend'
> make -C ../../src/port all
> make[3]: Entering directory `/c/pgsrc/src/port'
> make[3]: Nothing to be done for `all'. 
> make[3]: Leaving directory `/c/pgsrc/src/port'
> make -C utils fmgroids.h
> make[3]: Entering directory `/c/pgsrc/src/backend/utils'
> AWK='gawk' /bin/sh.exe Gen_fmgrtab.sh 
> ../../../src/include/catalog/pg_proc.h
> -nThe system cannot find the file specified.
> /usr/bin/egrep: line 8: 5564 Broken pipe grep -E "$@"
> Gen_fmgrtab.sh failed
> make[3]: *** [fmgroids.h] Error 1
> make[3]: Leaving directory `/c/pgsrc/src/backend/utils' 
> make[2]: *** [utils/fmgroids.h] Error 2
> make[2]: Leaving directory `/c/pgsrc/src/backend'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/c/pgsrc/src'
> make: *** [install] Error 2
> sh-2.04$
>  Any ideas why I'm getting this? Here is what version I get when running 
> make --version
>  
> sh-2.04$ make --version
> GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
> Built for i686-pc-msys
> Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
> Free Software Foundation, Inc. 
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> 
> Report bugs to <bug-make@gnu.org>.
> 
> sh-2.04$ 
> 
> Thanks,
> 
> Bob
>

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: windows xp compile error
@ 2005-06-29 16:17  Magnus Hagander <mha@sollentuna.net>
  0 siblings, 1 reply; 7+ messages in thread

From: Magnus Hagander @ 2005-06-29 16:17 UTC (permalink / raw)
  To: Bob <luckyratfoot@gmail.com>; pgsql-ports

That mail refers to cygwin install. Are you building for win32 or
cygwin?
 
//Magnus
 


________________________________

	From: pgsql-ports-owner@postgresql.org
[mailto:pgsql-ports-owner@postgresql.org] On Behalf Of Bob
	Sent: Wednesday, June 29, 2005 5:49 PM
	To: pgsql-ports@postgresql.org
	Subject: Re: [PORTS] windows xp compile error
	
	
	Found one other question about this here
http://archives.postgresql.org/pgsql-cygwin/2004-02/msg00006.php. There
was never a complete answer other than " 
	use the binary installer" which is a lazy mans solution.
	
	 
	On 6/29/05, Bob <luckyratfoot@gmail.com> wrote: 

		I'm new to working with this stuff so please excuse any
obvious issue I may have overlooked.
		 
		I downloaded the 8.0.3  release source code.
		 
		I'm trying to compile on windows xp pro here is my make
install output after having ran ./configure without zlib option without
any error.
		 
		sh-2.04$ make install
		make -C doc install
		make[1]: Entering directory `/c/pgsrc/doc'
		gzip -d -c ./postgres.tar.gz | ( cd
/usr/local/pgsql/doc/html && /usr/bin/tar xf                    - )
		for file in man1/*.1 man7/*.7 ; do \ 
		  /bin/sh.exe ../config/install-sh -c -m 644 $file
/usr/local/pgsql/man/$file ||                    exit; \
		done
		make[1]: Leaving directory `/c/pgsrc/doc'
		make -C src install
		make[1]: Entering directory `/c/pgsrc/src' 
		/bin/sh.exe ../config/mkinstalldirs
/usr/local/pgsql/lib/pgxs/src
		/bin/sh.exe ../config/install-sh -c -m 644
Makefile.global /usr/local/pgsql/lib/pgxs/src/Makefile.global
		/bin/sh.exe ../config/install-sh -c -m 644 Makefile.port
/usr/local/pgsql/lib/pgxs/src/Makefile.port
		/bin/sh.exe ../config/install-sh -c -m 644
./Makefile.shlib /usr/local/pgsql/lib/pgxs/src/Makefile.shlib
		/bin/sh.exe ../config/install-sh -c -m 644 ./nls-
global.mk <http://global.mk/;
/usr/local/pgsql/lib/pgxs/src/nls-global.mk <http://global.mk/; 
		make -C port install
		make[2]: Entering directory `/c/pgsrc/src/port' 
		/bin/sh.exe ../../config/install-sh -c -m 644
libpgport.a /usr/local/pgsql/lib
		make[2]: Leaving directory `/c/pgsrc/src/port'
		make -C timezone install
		make[2]: Entering directory `/c/pgsrc/src/timezone'
		make -C ../../src/port all 
		make[3]: Entering directory `/c/pgsrc/src/port' 
		make[3]: Nothing to be done for `all'.
		make[3]: Leaving directory `/c/pgsrc/src/port'
		./zic -d /usr/local/pgsql/share/timezone ./data/africa
./data/antarctica ./data/asia ./data/australasia ./data/europe
./data/northamerica ./data/southamerica ./data/pacificnew
./data/etcetera ./data/factory ./data/backward ./data/systemv
./data/solar87 ./data/solar88 ./data/solar89 
		make[2]: Leaving directory `/c/pgsrc/src/timezone'
		make -C backend install
		make[2]: Entering directory `/c/pgsrc/src/backend'
		make -C ../../src/port all
		make[3]: Entering directory `/c/pgsrc/src/port'
		make[3]: Nothing to be done for `all'. 
		make[3]: Leaving directory `/c/pgsrc/src/port'
		make -C utils fmgroids.h
		make[3]: Entering directory `/c/pgsrc/src/backend/utils'
		AWK='gawk' /bin/sh.exe Gen_fmgrtab.sh
../../../src/include/catalog/pg_proc.h
		-nThe system cannot find the file specified.
		/usr/bin/egrep: line 8:  5564 Broken pipe
grep -E "$@"
		Gen_fmgrtab.sh failed
		make[3]: *** [fmgroids.h] Error 1
		make[3]: Leaving directory `/c/pgsrc/src/backend/utils' 
		make[2]: *** [utils/fmgroids.h] Error 2
		make[2]: Leaving directory `/c/pgsrc/src/backend'
		make[1]: *** [install] Error 2
		make[1]: Leaving directory `/c/pgsrc/src'
		make: *** [install] Error 2
		sh-2.04$
		 
		Any ideas why I'm getting this?  Here is what version I
get when running make --version

		sh-2.04$ make --version
		GNU Make version 3.79.1, by Richard Stallman and Roland
McGrath.
		Built for i686-pc-msys
		Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97,
98, 99, 2000
		        Free Software Foundation, Inc. 
		This is free software; see the source for copying
conditions.
		There is NO warranty; not even for MERCHANTABILITY or
FITNESS FOR A
		PARTICULAR PURPOSE.

		Report bugs to <bug-make@gnu.org>.

		sh-2.04$ 

		Thanks,

		Bob
		

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: windows xp compile error
@ 2005-06-29 17:21  Bob <luckyratfoot@gmail.com>
  parent: Magnus Hagander <mha@sollentuna.net>
  0 siblings, 1 reply; 7+ messages in thread

From: Bob @ 2005-06-29 17:21 UTC (permalink / raw)
  To: Magnus Hagander <mha@sollentuna.net>; +Cc: pgsql-ports

win32, but the error output seems the same.

 On 6/29/05, Magnus Hagander <mha@sollentuna.net> wrote: 
> 
> That mail refers to cygwin install. Are you building for win32 or cygwin?
>  //Magnus
>  
>  ------------------------------
> *From:* pgsql-ports-owner@postgresql.org [mailto:
> pgsql-ports-owner@postgresql.org] *On Behalf Of *Bob
> *Sent:* Wednesday, June 29, 2005 5:49 PM
> *To:* pgsql-ports@postgresql.org
> *Subject:* Re: [PORTS] windows xp compile error
> 
>   Found one other question about this here 
> http://archives.postgresql.org/pgsql-cygwin/2004-02/msg00006.php. There 
> was never a complete answer other than " 
> use the binary installer" which is a lazy mans solution.
> 
>  On 6/29/05, Bob <luckyratfoot@gmail.com> wrote: 
> > 
> > I'm new to working with this stuff so please excuse any obvious issue I 
> > may have overlooked.
> >  I downloaded the 8.0.3 release source code.
> >  I'm trying to compile on windows xp pro here is my make install output 
> > after having ran ./configure without zlib option without any error.
> >  sh-2.04$ make install
> > make -C doc install
> > make[1]: Entering directory `/c/pgsrc/doc'
> > gzip -d -c ./postgres.tar.gz | ( cd /usr/local/pgsql/doc/html && 
> > /usr/bin/tar xf - )
> > for file in man1/*.1 man7/*.7 ; do \ 
> > /bin/sh.exe ../config/install-sh -c -m 644 $file 
> > /usr/local/pgsql/man/$file || exit; \
> > done
> > make[1]: Leaving directory `/c/pgsrc/doc'
> > make -C src install
> > make[1]: Entering directory `/c/pgsrc/src' 
> > /bin/sh.exe ../config/mkinstalldirs /usr/local/pgsql/lib/pgxs/src
> > /bin/sh.exe ../config/install-sh -c -m 644 Makefile.global/usr/local/pgsql/lib/pgxs/src/Makefile.global
> > /bin/sh.exe ../config/install-sh -c -m 644 Makefile.port/usr/local/pgsql/lib/pgxs/src/Makefile.port
> > /bin/sh.exe ../config/install-sh -c -m 644 ./Makefile.shlib 
> > /usr/local/pgsql/lib/pgxs/src/Makefile.shlib
> > /bin/sh.exe ../config/install-sh -c -m 644 ./nls- global.mk<http://global.mk/>/usr/local/pgsql/lib/pgxs/src/nls-
> > global.mk <http://global.mk/;
> > make -C port install
> > make[2]: Entering directory `/c/pgsrc/src/port' 
> > /bin/sh.exe ../../config/install-sh -c -m 644 libpgport.a/usr/local/pgsql/lib
> > make[2]: Leaving directory `/c/pgsrc/src/port'
> > make -C timezone install
> > make[2]: Entering directory `/c/pgsrc/src/timezone'
> > make -C ../../src/port all 
> > make[3]: Entering directory `/c/pgsrc/src/port' 
> > make[3]: Nothing to be done for `all'.
> > make[3]: Leaving directory `/c/pgsrc/src/port'
> > ./zic -d /usr/local/pgsql/share/timezone ./data/africa ./data/antarctica 
> > ./data/asia ./data/australasia ./data/europe ./data/northamerica 
> > ./data/southamerica ./data/pacificnew ./data/etcetera ./data/factory 
> > ./data/backward ./data/systemv ./data/solar87 ./data/solar88 ./data/solar89 
> > make[2]: Leaving directory `/c/pgsrc/src/timezone'
> > make -C backend install
> > make[2]: Entering directory `/c/pgsrc/src/backend'
> > make -C ../../src/port all
> > make[3]: Entering directory `/c/pgsrc/src/port'
> > make[3]: Nothing to be done for `all'. 
> > make[3]: Leaving directory `/c/pgsrc/src/port'
> > make -C utils fmgroids.h
> > make[3]: Entering directory `/c/pgsrc/src/backend/utils'
> > AWK='gawk' /bin/sh.exe Gen_fmgrtab.sh 
> > ../../../src/include/catalog/pg_proc.h
> > -nThe system cannot find the file specified.
> > /usr/bin/egrep: line 8: 5564 Broken pipe grep -E "$@"
> > Gen_fmgrtab.sh failed
> > make[3]: *** [fmgroids.h] Error 1
> > make[3]: Leaving directory `/c/pgsrc/src/backend/utils' 
> > make[2]: *** [utils/fmgroids.h] Error 2
> > make[2]: Leaving directory `/c/pgsrc/src/backend'
> > make[1]: *** [install] Error 2
> > make[1]: Leaving directory `/c/pgsrc/src'
> > make: *** [install] Error 2
> > sh-2.04$
> >  Any ideas why I'm getting this? Here is what version I get when running 
> > make --version
> >  
> > sh-2.04$ make --version
> > GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
> > Built for i686-pc-msys
> > Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
> > Free Software Foundation, Inc. 
> > This is free software; see the source for copying conditions.
> > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> > PARTICULAR PURPOSE.
> > 
> > Report bugs to <bug-make@gnu.org>.
> > 
> > sh-2.04$ 
> > 
> > Thanks,
> > 
> > Bob
> > 
> 
>

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: windows xp compile error
@ 2005-06-29 17:42  Bob <luckyratfoot@gmail.com>
  parent: Bob <luckyratfoot@gmail.com>
  0 siblings, 0 replies; 7+ messages in thread

From: Bob @ 2005-06-29 17:42 UTC (permalink / raw)
  To: Magnus Hagander <mha@sollentuna.net>; +Cc: pgsql-ports

The mingw that have is MinGW-4.1.0.exe along with MSYS-1.0.10.exe.

On 6/29/05, Bob <luckyratfoot@gmail.com> wrote: 
> 
> win32, but the error output seems the same.
> 
>  On 6/29/05, Magnus Hagander <mha@sollentuna.net> wrote: 
> > 
> > That mail refers to cygwin install. Are you building for win32 or 
> > cygwin?
> >  //Magnus
> >  
> >  ------------------------------
> > *From:* pgsql-ports-owner@postgresql.org [mailto:pgsql-ports-owner@postgresql.org] 
> > *On Behalf Of *Bob
> > *Sent:* Wednesday, June 29, 2005 5:49 PM
> > *To:* pgsql-ports@postgresql.org
> > *Subject:* Re: [PORTS] windows xp compile error
> > 
> >   Found one other question about this here http://archives.postgresql.org/pgsql-cygwin/2004-02/msg00006.php 
> > . There was never a complete answer other than " 
> > use the binary installer" which is a lazy mans solution.
> > 
> >  On 6/29/05, Bob <luckyratfoot@gmail.com > wrote: 
> > > 
> > > I'm new to working with this stuff so please excuse any obvious issue 
> > > I may have overlooked.
> > >  I downloaded the 8.0.3 release source code.
> > >  I'm trying to compile on windows xp pro here is my make install 
> > > output after having ran ./configure without zlib option without any error.
> > >  sh-2.04$ make install
> > > make -C doc install
> > > make[1]: Entering directory `/c/pgsrc/doc'
> > > gzip -d -c ./postgres.tar.gz | ( cd /usr/local/pgsql/doc/html && 
> > > /usr/bin/tar xf - )
> > > for file in man1/*.1 man7/*.7 ; do \ 
> > > /bin/sh.exe ../config/install-sh -c -m 644 $file 
> > > /usr/local/pgsql/man/$file || exit; \
> > > done
> > > make[1]: Leaving directory `/c/pgsrc/doc'
> > > make -C src install
> > > make[1]: Entering directory `/c/pgsrc/src' 
> > > /bin/sh.exe ../config/mkinstalldirs /usr/local/pgsql/lib/pgxs/src
> > > /bin/sh.exe ../config/install-sh -c -m 644 Makefile.global/usr/local/pgsql/lib/pgxs/src/Makefile.global
> > > /bin/sh.exe ../config/install-sh -c -m 644 Makefile.port/usr/local/pgsql/lib/pgxs/src/Makefile.port
> > > /bin/sh.exe ../config/install-sh -c -m 644 ./Makefile.shlib 
> > > /usr/local/pgsql/lib/pgxs/src/Makefile.shlib
> > > /bin/sh.exe ../config/install-sh -c -m 644 ./nls- global.mk<http://global.mk/>/usr/local/pgsql/lib/pgxs/src/nls-
> > > global.mk <http://global.mk/;
> > > make -C port install
> > > make[2]: Entering directory `/c/pgsrc/src/port' 
> > > /bin/sh.exe ../../config/install-sh -c -m 644 libpgport.a/usr/local/pgsql/lib
> > > make[2]: Leaving directory `/c/pgsrc/src/port'
> > > make -C timezone install
> > > make[2]: Entering directory `/c/pgsrc/src/timezone'
> > > make -C ../../src/port all 
> > > make[3]: Entering directory `/c/pgsrc/src/port' 
> > > make[3]: Nothing to be done for `all'.
> > > make[3]: Leaving directory `/c/pgsrc/src/port'
> > > ./zic -d /usr/local/pgsql/share/timezone ./data/africa 
> > > ./data/antarctica ./data/asia ./data/australasia ./data/europe 
> > > ./data/northamerica ./data/southamerica ./data/pacificnew ./data/etcetera 
> > > ./data/factory ./data/backward ./data/systemv ./data/solar87 ./data/solar88 
> > > ./data/solar89 
> > > make[2]: Leaving directory `/c/pgsrc/src/timezone'
> > > make -C backend install
> > > make[2]: Entering directory `/c/pgsrc/src/backend'
> > > make -C ../../src/port all
> > > make[3]: Entering directory `/c/pgsrc/src/port'
> > > make[3]: Nothing to be done for `all'. 
> > > make[3]: Leaving directory `/c/pgsrc/src/port'
> > > make -C utils fmgroids.h
> > > make[3]: Entering directory `/c/pgsrc/src/backend/utils'
> > > AWK='gawk' /bin/sh.exe Gen_fmgrtab.sh 
> > > ../../../src/include/catalog/pg_proc.h
> > > -nThe system cannot find the file specified.
> > > /usr/bin/egrep: line 8: 5564 Broken pipe grep -E "$@"
> > > Gen_fmgrtab.sh failed
> > > make[3]: *** [fmgroids.h] Error 1
> > > make[3]: Leaving directory `/c/pgsrc/src/backend/utils' 
> > > make[2]: *** [utils/fmgroids.h] Error 2
> > > make[2]: Leaving directory `/c/pgsrc/src/backend'
> > > make[1]: *** [install] Error 2
> > > make[1]: Leaving directory `/c/pgsrc/src'
> > > make: *** [install] Error 2
> > > sh-2.04$
> > >  Any ideas why I'm getting this? Here is what version I get when 
> > > running make --version
> > >  
> > > sh-2.04$ make --version
> > > GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
> > > Built for i686-pc-msys
> > > Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
> > > Free Software Foundation, Inc. 
> > > This is free software; see the source for copying conditions.
> > > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> > > PARTICULAR PURPOSE.
> > > 
> > > Report bugs to <bug-make@gnu.org>.
> > > 
> > > sh-2.04$ 
> > > 
> > > Thanks,
> > > 
> > > Bob
> > > 
> > 
> > 
>

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: windows xp compile error
@ 2005-06-29 17:47  Magnus Hagander <mha@sollentuna.net>
  0 siblings, 1 reply; 7+ messages in thread

From: Magnus Hagander @ 2005-06-29 17:47 UTC (permalink / raw)
  To: Bob <luckyratfoot@gmail.com>; +Cc: pgsql-ports

Ok.
From first looks it seems like your mingw environment is not complete.
 
Check and make sure that you have "sh", "egrep" and "gawk" both
available from the msys prompt without specifying an explicit path, and
that you have "sh" available as "/bin/sh".
 
//Magnus
 


________________________________

	From: Bob [mailto:luckyratfoot@gmail.com] 
	Sent: Wednesday, June 29, 2005 7:21 PM
	To: Magnus Hagander
	Cc: pgsql-ports@postgresql.org
	Subject: Re: [PORTS] windows xp compile error
	
	
	win32, but the error output seems the same.
	
	 
	On 6/29/05, Magnus Hagander <mha@sollentuna.net> wrote: 

		That mail refers to cygwin install. Are you building for
win32 or cygwin?
		 
		//Magnus
		 


________________________________

			From: pgsql-ports-owner@postgresql.org [mailto:
pgsql-ports-owner@postgresql.org
<mailto:pgsql-ports-owner@postgresql.org> ] On Behalf Of Bob
			Sent: Wednesday, June 29, 2005 5:49 PM
			To: pgsql-ports@postgresql.org
			Subject: Re: [PORTS] windows xp compile error
			
			 
			
			Found one other question about this here
http://archives.postgresql.org/pgsql-cygwin/2004-02/msg00006.php . There
was never a complete answer other than " 
			use the binary installer" which is a lazy mans
solution.
			
			 
			On 6/29/05, Bob <luckyratfoot@gmail.com > wrote:


				I'm new to working with this stuff so
please excuse any obvious issue I may have overlooked.
				 
				I downloaded the 8.0.3  release source
code.
				 
				I'm trying to compile on windows xp pro
here is my make install output after having ran ./configure without zlib
option without any error.
				 
				sh-2.04$ make install
				make -C doc install
				make[1]: Entering directory
`/c/pgsrc/doc'
				gzip -d -c ./postgres.tar.gz | ( cd
/usr/local/pgsql/doc/html && /usr/bin/tar xf                    - )
				for file in man1/*.1 man7/*.7 ; do \ 
				  /bin/sh.exe ../config/install-sh -c -m
644 $file /usr/local/pgsql/man/$file ||                    exit; \
				done
				make[1]: Leaving directory
`/c/pgsrc/doc'
				make -C src install
				make[1]: Entering directory
`/c/pgsrc/src' 
				/bin/sh.exe ../config/mkinstalldirs
/usr/local/pgsql/lib/pgxs/src
				/bin/sh.exe ../config/install-sh -c -m
644 Makefile.global /usr/local/pgsql/lib/pgxs/src/Makefile.global
				/bin/sh.exe ../config/install-sh -c -m
644 Makefile.port /usr/local/pgsql/lib/pgxs/src/Makefile.port
				/bin/sh.exe ../config/install-sh -c -m
644 ./Makefile.shlib /usr/local/pgsql/lib/pgxs/src/Makefile.shlib
				/bin/sh.exe ../config/install-sh -c -m
644 ./nls- global.mk <http://global.mk/;
/usr/local/pgsql/lib/pgxs/src/nls-global.mk <http://global.mk/; 
				make -C port install
				make[2]: Entering directory
`/c/pgsrc/src/port' 
				/bin/sh.exe ../../config/install-sh -c
-m 644  libpgport.a /usr/local/pgsql/lib
				make[2]: Leaving directory
`/c/pgsrc/src/port'
				make -C timezone install
				make[2]: Entering directory
`/c/pgsrc/src/timezone'
				make -C ../../src/port all 
				make[3]: Entering directory
`/c/pgsrc/src/port' 
				make[3]: Nothing to be done for `all'.
				make[3]: Leaving directory
`/c/pgsrc/src/port'
				./zic -d /usr/local/pgsql/share/timezone
./data/africa ./data/antarctica ./data/asia ./data/australasia
./data/europe ./data/northamerica ./data/southamerica ./data/pacificnew
./data/etcetera ./data/factory ./data/backward ./data/systemv
./data/solar87 ./data/solar88 ./data/solar89 
				make[2]: Leaving directory
`/c/pgsrc/src/timezone'
				make -C backend install
				make[2]: Entering directory
`/c/pgsrc/src/backend'
				make -C ../../src/port all
				make[3]: Entering directory
`/c/pgsrc/src/port'
				make[3]: Nothing to be done for `all'. 
				make[3]: Leaving directory
`/c/pgsrc/src/port'
				make -C utils fmgroids.h
				make[3]: Entering directory
`/c/pgsrc/src/backend/utils'
				AWK='gawk' /bin/sh.exe Gen_fmgrtab.sh
../../../src/include/catalog/pg_proc.h
				-nThe system cannot find the file
specified.
				/usr/bin/egrep: line 8:  5564 Broken
pipe             grep -E "$@"
				Gen_fmgrtab.sh failed
				make[3]: *** [fmgroids.h] Error 1
				make[3]: Leaving directory
`/c/pgsrc/src/backend/utils' 
				make[2]: *** [utils/fmgroids.h] Error 2
				make[2]: Leaving directory
`/c/pgsrc/src/backend'
				make[1]: *** [install] Error 2
				make[1]: Leaving directory
`/c/pgsrc/src'
				make: *** [install] Error 2
				sh-2.04$
				 
				Any ideas why I'm getting this?  Here is
what version I get when running make --version

				sh-2.04$ make --version
				GNU Make version 3.79.1, by Richard
Stallman and Roland McGrath.
				Built for i686-pc-msys
				Copyright (C) 1988, 89, 90, 91, 92, 93,
94, 95, 96, 97, 98, 99, 2000
				        Free Software Foundation, Inc. 
				This is free software; see the source
for copying conditions.
				There is NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A
				PARTICULAR PURPOSE.

				Report bugs to <bug-make@gnu.org>.

				sh-2.04$ 

				Thanks,

				Bob
				

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: windows xp compile error
@ 2005-06-29 18:02  Bob <luckyratfoot@gmail.com>
  parent: Magnus Hagander <mha@sollentuna.net>
  0 siblings, 0 replies; 7+ messages in thread

From: Bob @ 2005-06-29 18:02 UTC (permalink / raw)
  To: Magnus Hagander <mha@sollentuna.net>; +Cc: pgsql-ports

I tried all these commands from root directory with no issues of the 
commands not being found. When I ran these I used rxvt.exe to type my 
commands in. 
 After you said "from the msys prompt" I looked a little harder and found 
msys.bat and ran that to put my commands in.
 I was able to get a make to run to the end without out error. I have make 
install running as I type this so if all goes well I should be set.
 Thanks for your help!

 On 6/29/05, Magnus Hagander <mha@sollentuna.net> wrote: 
> 
> Ok.
> From first looks it seems like your mingw environment is not complete.
>  Check and make sure that you have "sh", "egrep" and "gawk" both available 
> from the msys prompt without specifying an explicit path, and that you have 
> "sh" available as "/bin/sh".
>  //Magnus
>  
>   ------------------------------
> *From:* Bob [mailto:luckyratfoot@gmail.com] 
> *Sent:* Wednesday, June 29, 2005 7:21 PM
> *To:* Magnus Hagander
> *Cc:* pgsql-ports@postgresql.org 
> *Subject:* Re: [PORTS] windows xp compile error
> 
>   win32, but the error output seems the same.
> 
>  On 6/29/05, Magnus Hagander <mha@sollentuna.net> wrote: 
> > 
> > That mail refers to cygwin install. Are you building for win32 or 
> > cygwin?
> >  //Magnus
> >  
> >  ------------------------------
> > *From:* pgsql-ports-owner@postgresql.org [mailto:pgsql-ports-owner@postgresql.org] 
> > *On Behalf Of *Bob
> > *Sent:* Wednesday, June 29, 2005 5:49 PM
> > *To:* pgsql-ports@postgresql.org
> > *Subject:* Re: [PORTS] windows xp compile error
> > 
> >   Found one other question about this here http://archives.postgresql.org/pgsql-cygwin/2004-02/msg00006.php 
> > . There was never a complete answer other than " 
> > use the binary installer" which is a lazy mans solution.
> > 
> >  On 6/29/05, Bob <luckyratfoot@gmail.com > wrote: 
> > > 
> > > I'm new to working with this stuff so please excuse any obvious issue 
> > > I may have overlooked.
> > >  I downloaded the 8.0.3 release source code.
> > >  I'm trying to compile on windows xp pro here is my make install 
> > > output after having ran ./configure without zlib option without any error.
> > >  sh-2.04$ make install
> > > make -C doc install
> > > make[1]: Entering directory `/c/pgsrc/doc'
> > > gzip -d -c ./postgres.tar.gz | ( cd /usr/local/pgsql/doc/html && 
> > > /usr/bin/tar xf - )
> > > for file in man1/*.1 man7/*.7 ; do \ 
> > > /bin/sh.exe ../config/install-sh -c -m 644 $file 
> > > /usr/local/pgsql/man/$file || exit; \
> > > done
> > > make[1]: Leaving directory `/c/pgsrc/doc'
> > > make -C src install
> > > make[1]: Entering directory `/c/pgsrc/src' 
> > > /bin/sh.exe ../config/mkinstalldirs /usr/local/pgsql/lib/pgxs/src
> > > /bin/sh.exe ../config/install-sh -c -m 644 Makefile.global/usr/local/pgsql/lib/pgxs/src/Makefile.global
> > > /bin/sh.exe ../config/install-sh -c -m 644 Makefile.port/usr/local/pgsql/lib/pgxs/src/Makefile.port
> > > /bin/sh.exe ../config/install-sh -c -m 644 ./Makefile.shlib 
> > > /usr/local/pgsql/lib/pgxs/src/Makefile.shlib
> > > /bin/sh.exe ../config/install-sh -c -m 644 ./nls- global.mk<http://global.mk/>/usr/local/pgsql/lib/pgxs/src/nls-
> > > global.mk <http://global.mk/;
> > > make -C port install
> > > make[2]: Entering directory `/c/pgsrc/src/port' 
> > > /bin/sh.exe ../../config/install-sh -c -m 644 libpgport.a/usr/local/pgsql/lib
> > > make[2]: Leaving directory `/c/pgsrc/src/port'
> > > make -C timezone install
> > > make[2]: Entering directory `/c/pgsrc/src/timezone'
> > > make -C ../../src/port all 
> > > make[3]: Entering directory `/c/pgsrc/src/port' 
> > > make[3]: Nothing to be done for `all'.
> > > make[3]: Leaving directory `/c/pgsrc/src/port'
> > > ./zic -d /usr/local/pgsql/share/timezone ./data/africa 
> > > ./data/antarctica ./data/asia ./data/australasia ./data/europe 
> > > ./data/northamerica ./data/southamerica ./data/pacificnew ./data/etcetera 
> > > ./data/factory ./data/backward ./data/systemv ./data/solar87 ./data/solar88 
> > > ./data/solar89 
> > > make[2]: Leaving directory `/c/pgsrc/src/timezone'
> > > make -C backend install
> > > make[2]: Entering directory `/c/pgsrc/src/backend'
> > > make -C ../../src/port all
> > > make[3]: Entering directory `/c/pgsrc/src/port'
> > > make[3]: Nothing to be done for `all'. 
> > > make[3]: Leaving directory `/c/pgsrc/src/port'
> > > make -C utils fmgroids.h
> > > make[3]: Entering directory `/c/pgsrc/src/backend/utils'
> > > AWK='gawk' /bin/sh.exe Gen_fmgrtab.sh 
> > > ../../../src/include/catalog/pg_proc.h
> > > -nThe system cannot find the file specified.
> > > /usr/bin/egrep: line 8: 5564 Broken pipe grep -E "$@"
> > > Gen_fmgrtab.sh failed
> > > make[3]: *** [fmgroids.h] Error 1
> > > make[3]: Leaving directory `/c/pgsrc/src/backend/utils' 
> > > make[2]: *** [utils/fmgroids.h] Error 2
> > > make[2]: Leaving directory `/c/pgsrc/src/backend'
> > > make[1]: *** [install] Error 2
> > > make[1]: Leaving directory `/c/pgsrc/src'
> > > make: *** [install] Error 2
> > > sh-2.04$
> > >  Any ideas why I'm getting this? Here is what version I get when 
> > > running make --version
> > >  
> > > sh-2.04$ make --version
> > > GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
> > > Built for i686-pc-msys
> > > Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
> > > Free Software Foundation, Inc. 
> > > This is free software; see the source for copying conditions.
> > > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> > > PARTICULAR PURPOSE.
> > > 
> > > Report bugs to <bug-make@gnu.org>.
> > > 
> > > sh-2.04$ 
> > > 
> > > Thanks,
> > > 
> > > Bob
> > > 
> > 
> > 
>

^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2005-06-29 18:02 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-06-29 14:16 windows xp compile error Bob <luckyratfoot@gmail.com>
2005-06-29 15:48 ` Bob <luckyratfoot@gmail.com>
2005-06-29 16:17 Re: windows xp compile error Magnus Hagander <mha@sollentuna.net>
2005-06-29 17:21 ` Bob <luckyratfoot@gmail.com>
2005-06-29 17:42   ` Bob <luckyratfoot@gmail.com>
2005-06-29 17:47 Re: windows xp compile error Magnus Hagander <mha@sollentuna.net>
2005-06-29 18:02 ` Bob <luckyratfoot@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox