delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/06/23:53:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: yes
Path: not-for-mail
From: Tom Lauren <s2399 AT htw-dresden DOT de>
Newsgroups: gmane.os.cygwin
Subject: Re: Failed: Installing Postgresql under Cygwin on win98se
Date: Thu, 07 Mar 2002 06:03:46 +0100
Lines: 49
Message-ID: <3C86F4B2.1DB8A60D@htw-dresden.de>
References: <3C8677A9 DOT 1090302 AT htw-dresden DOT de> <a66cur$do1$1 AT quimby2 DOT netfonds DOT no>
NNTP-Posting-Host: rempc102.rz.htw-dresden.de
Mime-Version: 1.0
X-Trace: quimby2.netfonds.no 1015477252 24275 141.56.212.102 (7 Mar 2002 05:00:52 GMT)
X-Complaints-To: usenet AT quimby2 DOT netfonds DOT no
NNTP-Posting-Date: 7 Mar 2002 05:00:52 GMT
X-Mailer: Mozilla 4.7 [de]C-CCK-MCD QXW0322s (Win98; I)
X-Accept-Language: de,en

Thanks for replying!

>Is /usr/bin in your current path?

yes, everything´s fine....

>Did you select the sh-utils/grep/sed/et
>al. packages when you installed cygwin?

also yes. this in fact was my first idea, but sed itself seems to work...

>...it looks like it needs postgres.exe in the same directory as
>the script or in /usr/bin.
>Regards,
>Shelby Cain

So now I´ll describe it more precisely:
I´ve tested around all night ;) and found out, that *no* script works
correctly whereas its command-line pendant does.

For example:
CMDNAME=`basename $0`     -->says : not found. But, as  c.-l. it works.?! It
can´t do the command in `´?

Or:
stty -echo > /dev/null 2>&1      -->doesn´t recognize at all

Then - and i´m not quite shure what it SHOULD do - the following structure
doesn´t work:

cat "$POSTGRES_BKI" \ | sed -e "s/POSTGRES/$POSTGRES_SUPERUSERNAME/g" \  -e
"s/ENCODING/$MULTIBYTEID/g" \| "$PGPATH"/postgres -boot -x1 $PGSQL_OPT
$BACKEND_TALK_ARG template1 \

-> $POSTGRES_BKI, $POSTGRES_SUPERUSERNAME and $MULTIBYTEID ARE defined

Can´t it do pipes on win98? Or chains? It even can´t write into a file with
cat??? "cat from > here" made my OS crash ...
So I modified the script, removed all checks, hard-coded the options, but this
long statement seems to be important...

I don´t know anymore if it´d be the best idea to let it be....yet there are
reasons not to install W2K or NT, but they should defintely work?
Hm, I´m seriously wondering if *anybody* did manage it to run under W98...

Thanks anyway, i´ll try it another few hours, and then... :D

Tom




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019