Re: Help! sed: command garbled compiling on Solaris7

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Camilo Villarreal <camilovillarreal(at)hotmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Help! sed: command garbled compiling on Solaris7
Date: 2002-06-21 19:56:41
Message-ID: 200206211956.g5LJufP13802@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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%(at)CC_VERSION@%gcc (GCC) 3.1
> creating Makefile.global
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating backend/port/Makefile
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating backend/catalog/genbki.sh
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating backend/utils/Gen_fmgrtab.sh
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating bin/pg_dump/Makefile
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating bin/pg_version/Makefile
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating bin/pgtclsh/mkMakefile.tcldefs.sh
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating bin/pgtclsh/mkMakefile.tkdefs.sh
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating bin/psql/Makefile
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating include/version.h
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating interfaces/libpq/Makefile
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating interfaces/ecpg/lib/Makefile
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating interfaces/ecpg/preproc/Makefile
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating interfaces/libpq++/Makefile
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating interfaces/libpgeasy/Makefile
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating interfaces/libpgtcl/Makefile
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating interfaces/odbc/GNUmakefile
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating interfaces/odbc/Makefile.global
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating pl/plpgsql/src/Makefile
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating pl/plpgsql/src/mklang.sql
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating pl/tcl/mkMakefile.tcldefs.sh
> sed: command garbled: s%(at)CC_VERSION@%gcc (GCC) 3.1
> creating test/regress/GNUmakefile
> sed: command garbled: s%(at)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Attachment Content-Type Size
unknown_filename text/plain 1.5 KB

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Mark Tessier 2002-06-21 21:20:32 to recompile or not recompile postgres
Previous Message Davide Bozzelli 2002-06-21 19:16:06 Re: lost superuser perms