Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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> NNTP-Posting-Host: rempc102.rz.htw-dresden.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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/