This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Failed: Installing Postgresql under Cygwin on win98se


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]