pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Help! sed: command garbled compiling on Solaris7
2+ messages / 2 participants
[nested] [flat]

* Help! sed: command garbled compiling on Solaris7
@ 2002-06-19 17:14 Camilo Villarreal <camilovillarreal@hotmail.com>
  2002-06-21 19:56 ` Re: Help! sed: command garbled compiling on Solaris7 Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Camilo Villarreal @ 2002-06-19 17:14 UTC (permalink / raw)
  To: pgsql-admin


Hi,

We had recently an outage on one of our servers running Solaris 6+Postgresql 
7.0 and we'll have to restore the databases from tape.  This time I 
installed Solaris 7 and gcc 3.1 but when I tried to compile postgresql 7.0, 
after I run configure, I get no Makefile!!!.
I guess the gcc version is too new for that postgresql version but I haven't 
found a way around.
The configure process spits the following at the end:

creating ./config.status
creating GNUmakefile
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating Makefile.global
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating backend/port/Makefile
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating backend/catalog/genbki.sh
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating backend/utils/Gen_fmgrtab.sh
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating bin/pg_dump/Makefile
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating bin/pg_version/Makefile
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating bin/pgtclsh/mkMakefile.tcldefs.sh
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating bin/pgtclsh/mkMakefile.tkdefs.sh
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating bin/psql/Makefile
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating include/version.h
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating interfaces/libpq/Makefile
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating interfaces/ecpg/lib/Makefile
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating interfaces/ecpg/preproc/Makefile
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating interfaces/libpq++/Makefile
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating interfaces/libpgeasy/Makefile
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating interfaces/libpgtcl/Makefile
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating interfaces/odbc/GNUmakefile
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating interfaces/odbc/Makefile.global
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating pl/plpgsql/src/Makefile
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating pl/plpgsql/src/mklang.sql
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating pl/tcl/mkMakefile.tcldefs.sh
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
creating test/regress/GNUmakefile
sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1

Please let me know if there's a way around this problem or, where can I find 
a Postgresql7.0 package for Solaris 7.0.  Thanks very much in advance!!!

Camilo Villarreal.
SysAdmin.


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx




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

* Re: Help! sed: command garbled compiling on Solaris7
  2002-06-19 17:14 Help! sed: command garbled compiling on Solaris7 Camilo Villarreal <camilovillarreal@hotmail.com>
@ 2002-06-21 19:56 ` Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2002-06-21 19:56 UTC (permalink / raw)
  To: Camilo Villarreal <camilovillarreal@hotmail.com>; +Cc: pgsql-admin


Oh, I remember.  There was some bad control characters in 7.0 and
earlier in genbki.sh.  I think the following patch should fix things for
you.  Of course, we have a nice 7.2.1 waiting for you.  ;-)

---------------------------------------------------------------------------

Camilo Villarreal wrote:
> 
> Hi,
> 
> We had recently an outage on one of our servers running Solaris 6+Postgresql 
> 7.0 and we'll have to restore the databases from tape.  This time I 
> installed Solaris 7 and gcc 3.1 but when I tried to compile postgresql 7.0, 
> after I run configure, I get no Makefile!!!.
> I guess the gcc version is too new for that postgresql version but I haven't 
> found a way around.
> The configure process spits the following at the end:
> 
> creating ./config.status
> creating GNUmakefile
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating Makefile.global
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating backend/port/Makefile
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating backend/catalog/genbki.sh
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating backend/utils/Gen_fmgrtab.sh
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating bin/pg_dump/Makefile
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating bin/pg_version/Makefile
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating bin/pgtclsh/mkMakefile.tcldefs.sh
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating bin/pgtclsh/mkMakefile.tkdefs.sh
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating bin/psql/Makefile
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating include/version.h
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating interfaces/libpq/Makefile
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating interfaces/ecpg/lib/Makefile
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating interfaces/ecpg/preproc/Makefile
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating interfaces/libpq++/Makefile
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating interfaces/libpgeasy/Makefile
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating interfaces/libpgtcl/Makefile
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating interfaces/odbc/GNUmakefile
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating interfaces/odbc/Makefile.global
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating pl/plpgsql/src/Makefile
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating pl/plpgsql/src/mklang.sql
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating pl/tcl/mkMakefile.tcldefs.sh
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> creating test/regress/GNUmakefile
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.1
> 
> Please let me know if there's a way around this problem or, where can I find 
> a Postgresql7.0 package for Solaris 7.0.  Thanks very much in advance!!!
> 
> Camilo Villarreal.
> SysAdmin.
> 
> 
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Attachments:

/bjm/diff (text/plain, 1.5K) download Index: genbki.sh =================================================================== RCS file: /cvsroot/pgsql/src/backend/catalog/genbki.sh,v retrieving revision 1.18 retrieving revision 1.19 diff -c -r1.18 -r1.19 *** genbki.sh 28 Oct 2000 22:14:14 -0000 1.18 --- genbki.sh 16 Jan 2001 22:48:34 -0000 1.19 *************** *** 10,16 **** # # # IDENTIFICATION ! # $Header: /cvsroot/pgsql/src/backend/catalog/genbki.sh,v 1.18 2000/10/28 22:14:14 petere Exp $ # # NOTES # non-essential whitespace is removed from the generated file. --- 10,16 ---- # # # IDENTIFICATION ! # $Header: /cvsroot/pgsql/src/backend/catalog/genbki.sh,v 1.19 2001/01/16 22:48:34 tgl Exp $ # # NOTES # non-essential whitespace is removed from the generated file. *************** *** 161,170 **** ;g' | # we must run a new sed here to see the newlines we added sed -e "s/;[ ]*$//g" \ -e "s/^[ ]*//" \ ! -e "s/[ ]Oid/\ oid/g" \ ! -e "s/[ ]NameData/\ name/g" \ -e "s/^Oid/oid/g" \ ! -e "s/^NameData/\name/g" \ -e "s/(NameData/(name/g" \ -e "s/(Oid/(oid/g" \ -e "s/NAMEDATALEN/$NAMEDATALEN/g" \ --- 161,170 ---- ;g' | # we must run a new sed here to see the newlines we added sed -e "s/;[ ]*$//g" \ -e "s/^[ ]*//" \ ! -e "s/[ ]Oid/ oid/g" \ ! -e "s/[ ]NameData/ name/g" \ -e "s/^Oid/oid/g" \ ! -e "s/^NameData/name/g" \ -e "s/(NameData/(name/g" \ -e "s/(Oid/(oid/g" \ -e "s/NAMEDATALEN/$NAMEDATALEN/g" \
^ permalink raw reply [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-06-21 19:56 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-06-19 17:14 Help! sed: command garbled compiling on Solaris7 Camilo Villarreal <camilovillarreal@hotmail.com>
2002-06-21 19:56 ` Bruce Momjian <pgman@candle.pha.pa.us>

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