Subject: Re: Problem regarding rebuilding Cygnus user-tools and Bash
From: [email-masked] (Volker Zell)

5 Oct 1997 05:58:30 -0700
Message-ID: <199710051243.OAA16034.cygnus.gnu-win32@mailm1>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=_ORCL_5084857_0_11919710051544010"
To: [email-masked]

--=_ORCL_5084857_0_11919710051544010
Content-Transfer-Encoding:quoted-printable
Content-Type:text/plain; charset="iso-8859-1"

Hi all !

I found a solution to my previous problem.

I replaced the cygwin.dll dated 23.09.1997 (572.950 Bytes)

with cygwin.dll from 10.08.1997 (598.202 Bytes) and now my problem

disappeared.

Anyway does anybody has an idea what's wrong with the latest cygwin.dll ?

Here is again a testscript:

__________________

#!/bin/sh

uname -a

a=3D`uname -a`

echo $a

_________________

With cygwin.dll from 10.08.1997 (598.202 Bytes):

vzell:/src> test_uname

CYGWIN32_NT TRGDPC5 4.0 17.6 i586

CYGWIN32_NT TRGDPC5 4.0 17.6 i586

vzell:/src>

_________________

With cygwin.dll dated 23.09.1997 (572.950 Bytes)

vzell:/src> test_uname

vzell:/src>

_________________

But now the strange thing, when I use the latest cygwin.dll

from a 4NT prompt like this

[d:\vzell\gnuwin32\b18\user-tools]bash -c test_uname

CYGWIN32_NT TRGDPC5 4.0 17.6 i586

CYGWIN32_NT TRGDPC5 4.0 17.6 i586

[d:\vzell\gnuwin32\b18\user-tools]

This works with every version from the cygwin.dll

Ciao

  Volker

--=_ORCL_5084857_0_11919710051544010
Content-Type:message/rfc822

Date: 04 Oct 97 11:56:27
From:"Volker Zell <[email-masked]>" <[email-masked]>
To:[email-masked]
Subject:Problem regarding rebuilding Cygnus user-tools and Bash
Return-Path:<[email-masked]>
Comments:Authenticated sender is <[email-masked]>
X-Mailer:Oracle InterOffice (version 4.0.5.1.55)
X-MIME-Autoconverted:from quoted-printable to 8bit by cygnus.com id CAA27045
Sender:[email-masked]
Precedence: bulk
X-MIME-Autoconverted:from 8bit to quoted-printable by inet16.us.oracle.com id QAA01185
MIME-Version: 1.0
Content-Transfer-Encoding:quoted-printable
Content-Type:text/plain; charset="iso-8859-1"

Hi gurus !

I have a problem relating to rebuilding all the Cygnus (b18) user-tools wit=
h

the latest collview (23.09.1997). This is what I type at the bash prompt:

vzell:/src> ./configure

Configuring for a  host.

free_tty: count < 0

*** ./configure.in has no "per-host:" line.

As you can see the hosttype is not evaluated. =20

I checked some other test scripts for example:

______________________

#!/bin/sh

uname -a

______________________

vzell:/src> test_uname

vzell:/src>

No output at all. This is one of the reasons why the above configure fails.

What am I doing wrong ????

The strange thing is, whith the original b18 distribution (without=20

coolview) everything worked fine. But with that bash the pipe symbol was no=
t=20

working. By the way why do german Umlauts don't work in the latest coolview=
=20

release ?

Here is my setup:

Windows specific:=20

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

Windows NT 4.0

4NT 3.0 as Comspec

Lets start from 4NT command prompt:

[d:\vzell\gnuwin32\b18\user-tools]path

Path=3Dd:\vzell\bin;d:\vzell\emacs\bin;d:\vzell\emacs\emacs-19.34\bin;d:\vz=
ell\gnu

win32\b18\H-i386-cygwin32\bin;d:\vzell\perl\bin;d:\vzell\java\jdk1.1.4\bin;=
d:\vz

ell\tex\texmf-1.08\miktex\bin;d:\vzell\tex\dviwin29\bin;d:\programme\NetMan=
age.3

2;D:\WINNT\system32;D:\WINNT;D:\ORANT\BIN;D:\ORANT\OWS21\BIN;

[d:\vzell\gnuwin32\b18\user-tools]set

CMDLINE=3Dbash

COMPUTERNAME=3DTRGDPC5

ComSpec=3DD:\Programme\JPSoftware\4nt300\4NT.EXE

HOME=3DD:\vzell

HOMEDRIVE=3DD:

HOMEPATH=3D\users

LYNX_CFG=3Dd:\vzell\lynx.cfg

NUMBER_OF_PROCESSORS=3D1

OS=3DWindows_NT

Os2LibPath=3DD:\WINNT\system32\os2\dll;

Path=3Dd:\vzell\bin;d:\vzell\emacs\bin;d:\vzell\emacs\emacs-19.34\bin;d:\vz=
ell\gnu

win32\b18\H-i386-cygwin32\bin;d:\vzell\perl\bin;d:\vzell\java\jdk1.1.4\bin;=
d:\vz

ell\tex\texmf-1.08\miktex\bin;d:\vzell\tex\dviwin29\bin;d:\programme\NetMan=
age.3

2;D:\WINNT\system32;D:\WINNT;D:\ORANT\BIN;D:\ORANT\OWS21\BIN;

PROCESSOR_ARCHITECTURE=3Dx86

PROCESSOR_IDENTIFIER=3Dx86 Family 5 Model 7 Stepping 0, GenuineIntel

PROCESSOR_LEVEL=3D5

PROCESSOR_REVISION=3D0700

SystemDrive=3DD:

SystemRoot=3DD:\WINNT

TCL_LIBRARY=3DD:\ORANT\network\agent\tcl

TEMP=3DD:\TEMP

TMP=3DD:\TEMP

USERDOMAIN=3DHV_DE

USERNAME=3Dvzell

USERPROFILE=3DD:\WINNT\Profiles\vzell.000

windir=3DD:\WINNT

Then I type bash in that window .....

[d:\vzell\gnuwin32\b18\user-tools]bash

Cygnus specific:=20

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

Cygnus b18           (Unpacked from an NTFS drive --> worked)

Coolview 23.09.1997 =20

user-tools source    (Source unpacked with WinZip without CR/LF translation=
 -->=20

worked)

Mount table:

vzell:/src> mount

Device                Directory           Type        Flags

d:\vzell\gnuwin32\var /var                native      no-mixed,text=3Dbinar=
y

d:\vzell\gnuwin32\usr /usr                native      no-mixed,text=3Dbinar=
y

d:\vzell\gnuwin32\tmp /tmp                native      no-mixed,text=3Dbinar=
y

d:\vzell\gnuwin32\b18\user-tools /src     native      no-mixed,text=3Dbinar=
y

d:\vzell\gnuwin32\etc /etc                native      no-mixed,text=3Dbinar=
y

\\.\tape1:       /dev/st1                 native      no-mixed,text!=3Dbina=
ry

\\.\tape0:       /dev/st0                 native      no-mixed,text!=3Dbina=
ry

\\.\b:           /dev/fd1                 native      no-mixed,text!=3Dbina=
ry

\\.\a:           /dev/fd0                 native      no-mixed,text=3Dbinar=
y

d:\vzell\gnuwin32\bin /bin                native      no-mixed,text=3Dbinar=
y

d:                    /                   native      no-mixed,text=3Dbinar=
y

_________________________________________________________________________

vzell:/bin> ls -lt

total 157

-rwxr-xr-x   1 vzell    admin      320512 Jul 04 21:00 sh.exe*

_________________________________________________________________________

vzell:~/gnuwin32/b18/H-i386-cygwin32/bin> ls -lt cygwin.dll bash.exe

-rw-r--r--   1 vzell    admin      572950 Sep 23 10:50 cygwin.dll

-rwxr-xr-x   1 vzell    admin      320512 Jul 04 21:00 bash.exe*

_________________________________________________________________________

vzell:~> ls -lt .bash*

-rw-r--r--   1 vzell    admin         433 Oct 04 12:22 .bash_history

-rw-r--r--   1 vzell    admin        2390 Oct 04 12:22 .bashrc

-rw-r--r--   1 vzell    admin        2267 Oct 03 15:09 .bash_functions

-rw-r--r--   1 vzell    admin        2215 Aug 29 04:04 .bashrc.18.ori

-rw-r--r--   1 vzell    admin          11 Feb 17  1997 .bash_aliases

-rw-r--r--   1 vzell    admin        1707 Feb 11  1997 .bashrc.ori

_________________________________________________________________________

My .bashrc:

# ~/.bashrc=20

# executed by login and subshells

#----------------------------------------------------------------------

# Limit coredumps to zero bytes

# ulimit -c 0

=09

#----------------------------------------------------------------------

# Other settings

umask 022

# Terminal definition ( can ONLY be ansi as thats the only=20

# defined in the termcap file )

#export TERM=3Dansi

# Enable TTY code and console title updates

export CYGWIN_TTY=3D1

# other options: strip

export CYGWIN_TITLE=3D1

# Set up manpath

export MANPATH=3D/usr/man:/usr/local/man:/vzell/man

# Now your default shell is this

export SHELL=3D/bin/sh

# Set less to be our default pager

export PAGER=3D"/vzell/bin/less"

# Tell less to use a character set appropriate for DOS=20

# (that is really what we are running down there somewhere ;-) )

#export LESSCHARSET=3D"dos"

#export LESS=3D"-isnMC"

# Set IFS just because *shrug*

export IFS=3D"@"

# If Bash is reading this you probably don't really need it here

export HOME=3D/vzell

# This will set up your Unixlike Path

export PATH=3D/bin:$PATH

# Specify your Login name

export LOGNAME=3D$(whoami)

# Place the Temporary Directory in the right spot

export TEMP=3D/tmp

export TMP=3D/tmp

# This sets the Bash Shell prompt to (username):#(working directory)

export PS1=3D"$LOGNAME:\w> "

# Setup compiler enviroment

export TCL_LIBRARY=3D$HOME/gnuwin32/b18/tcl/lib/tcl7.6

export GDBTK_LIBRARY=3D$HOME/gnuwin32/b18/share/gdbtcl

export GCC_EXEC_PREFIX=3D$HOME/gnuwin32/b18/H-i386-cygwin32/lib/gcc-lib/

export LIBRARY_PATH=3D$HOME/gnuwin32/b18/H-i386-cygwin32/lib

export C_INCLUDE_PATH=3D

export CPLUS_INCLUDE_PATH=3D

#export LIBRARY_PATH=3D/usr/lib

#export C_INCLUDE_PATH=3D/usr/include:/usr/lib/gcc-lib/include

#export CPLUS__INCLUDE_PATH=3D/usr/lib/g++include

# Make file listings use color, add * to executables and / to directories

if [ "$TERM" =3D "dumb" ] ; then

	alias ls=3D"ls --color -F"

	alias dir=3D"dir --color -F"

	alias vdir=3D"vdir --color -F"

else

	alias ls=3D"ls -F"

	alias dir=3D"dir -F"

	alias vdir=3D"vdir -F"

fi

#alias cp=3D"cp -i"

#alias mv=3D"mv -i"

# Add some extra colors for ls to use when it colors the file types

export=20

LS_COLORS=3D"*.c=3D32:*.h=3D32:*.o=3D1;32:*.txt=3D1:*~=3D35:*.zip=3D1;31:*.=
z=3D1;31:*.Z=3D1;31:*.g

z=3D1;31:*.tgz=3D1;31:*.tar=3D31"

# This alias makes your HOME look right ;-)

alias ~=3D$HOME

source $HOME/.bash_functions

#----------------------------------------------------------------------

# end of ~/.bashrc=20

_________________________________________________________________________

o Some other questions:

What does the following Permission denied mean ???

vzell:/> ls -lt

ls: pagefile.sys: Permission denied

total 293

drwxr-xr-x  99 vzell    admin           0 Oct 04 11:47 vzell/

drwxr-xr-x  58 vzell    everyone        0 Oct 04 11:02 temp/

drwxr-xr-x 177 vzell    everyone        0 Oct 04 10:07 WINNT/

drwxr-xr-x  34 vzell    everyone        0 Sep 18 20:19 Programme/

drwxr-xr-x  18 vzell    admin           0 Sep 18 19:03 mc/

drwxr-xr-x  20 vzell    admin           0 Sep 18 18:54 ORAWIN/

drwxr-xr-x  11 vzell    admin           0 Aug 29 10:34 users/

drwxr-xr-x  32 vzell    admin           0 Aug 09 18:59 ORANT/

drwxr-xr-x  94 vzell    admin           0 Aug 08 18:14 WWW/

drwxr-xr-x  17 vzell    admin           0 Aug 08 16:43 DATABASE/

drwxr-xr-x   5 vzell    admin           0 May 21 15:40 NAVISW/

-rw-r--r--   1 vzell    admin        4597 Feb 22  1997 __ofidx.ffa

-rw-r--r--   1 vzell    admin      548864 Feb 22  1997 __ofidx0.ffx

-rw-r--r--   1 vzell    admin       45056 Feb 22  1997 __ofidx.ffl

drwxr-xr-x   6 vzell    admin           0 Feb 21  1997 InetPub/

drwxr-xr-x  20 vzell    admin           0 Feb 19  1997 MSOffice/

drwxr-xr-x   5 vzell    admin           0 Feb 19  1997 RECYCLER/=20

Thanks in advance ...

  Ciao=20

	Volker=20

=20

__________________________________________________________________________=
=20

=20

   "Is a dream a lie if it don't come true or is it something worse .."=20

=20

                                                   Dr. Volker Zell=20

      __ /  _  /  __  / ___/  /    ___/            -- Trainer --=20

     /  /  /__/  /_  / /     /    __/              Oracle Germany=20

   ____/__/ _|__/ __/____/ ____/____/              Paul-Thomas-Str.58 =20

                                                   D-40599 D=FCsseldorf=20

   e-Mail: [email-masked]=20

   WWW:    http://trgsund4.de.oracle.com/=20

   Tel:    (+49) 211-74839-414                     Fax: (+49) 211-74839-44=
=20

___________________________________________________________________________=
=20

=20

The statements and opinions expressed here are my own and do not necessaril=
y=20

represent those of Oracle Corporation.=20

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".
--=_ORCL_5084857_0_11919710051544010--

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".