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]

Setup causes illegal operation on Win 95


Hello,
    Os I am using is win 95 osr 2 with Internet Explorer 5.5 and personal
web server, visual  studio etc also installed.

I downloaded setup exe and executed it. I used Install from Local Directory
option. It downloaded the setup.ini file. But
after that it performs an illegal operation and exits. I tried to download
the second setup file named setup-2.194.2.24.exe but it also performs
illegal operations. I tried many times after rebooting without any success.

///////////////////////////////////////////////////////////////////////
SETUP caused a general protection fault
in module USER.EXE at 0004:00005462.
Registers:
EAX=5002fffc CS=17d7 EIP=00005462 EFLGS=00000e16
EBX=00008ab8 SS=5c67 ESP=00008ab4 EBP=00008ad0
ECX=00007fe0 DS=5d27 ESI=0000ffbe FS=0000
EDX=809b16f7 ES=1307 EDI=0000fffe GS=0000
Bytes at CS:EIP:
f3 a5 73 03 46 47 a4 fc eb 08 fc d1 e9 f3 a5 73
Stack dump:
00400031 17e70760 0040fffe 00001307 00005d27 001e0031 00001307 0e138b40
fffe0082 5d270000 019b264a 000b000b 50022080 0031ffff 8bac1307 26a18b72

So, I tried to manually download packages. I read a message in this mailing
list where required packages list was given. Then I downloaded those
packages and extracted them, first using bzip2.exe and then using WinZip to
extract .tar files, to d:/c/cygwin directory. WinZip is a very good tool and
extracts the packages using same directory structure as used by package. I
think there is no problem with WinZip.

Only some tars were extracted into /bin directory (d:\c\cygwin\bin), like
bash, which and gawk etc. Others were extracted to /usr/bin
(d:\c\cygwin\usr\bin)

I also tried to copy setup.exe, setup.ini and all .bz2 files to d:\install
and tried to run setup again. But setup failed again with illegal operation
message.

I have everything working except terminal. Whenever I run man it displays
warning:

BASH-2.05a$ man man
WARNING: terminal is not fully functional
-  (press RETURN)

but it displays the manual.

When I run ncurses demo programs they too display error and don't work:

BASH-2.05a$ ./blue
Error opening terminal: cygwin.
BASH-2.05a$

So my problem is non functional terminal. File termcap is /etc/termcap. And
I am able to do cd /etc

I am also able to compile from source.

But when I tried to compile libmcrypt syntax error is displayed. I wrote to
the author he told me problem is with cygwin.

BASH-2.05a$ cd /cygdrive/d/libmcrypt-2.5.0/
BASH-2.05a$ ./configure
checking build system type... i586-pc-cygwin
checking host system type... i586-pc-cygwin
checking target system type... i586-pc-cygwin
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... eval: 1: Syntax error: Unterminated
quot
 string
BASH-2.05a$

This is added to config.log file:

$ ./configure
## ---------- ##
## Platform. ##
## ---------- ##
hostname = DEFAULT
uname -m = i586
uname -r = 1.3.4(0.47/3/2)
uname -s = CYGWIN_95-4.0
uname -v = 2001-11-07 13:36
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH=/cygdrive/d/WINDOWS:/cygdrive/d/WINDOWS/COMMAND:/cygdrive/d/JAVA/J2EESD
K1.3/BIN
:/cygdrive/d/JAVA/ANT14/BIN:/cygdrive/d/JWSDP1_0-EA1/BIN:/cygdrive/d/JAVA/JD
K1.4/BIN:
/cygdrive/d/PROGRAMFILES/MTS:/cygdrive/d/C/LCC/BIN:/cygdrive/d/C/MING/BIN:
/USR/BIN:/BIN:/cygdrive/d/APP/PERL/BIN:/cygdrive/d/MSSQL7/BINN

## ------------ ##
## Core tests. ##
## ------------ ##
configure:1097: PATH=".;."; conftest.sh
conftest.sh: not found
configure:1100: $? = 127
configure:1149: checking build system type
configure:1167: result: i586-pc-cygwin
configure:1174: checking host system type
configure:1188: result: i586-pc-cygwin
configure:1195: checking target system type
configure:1209: result: i586-pc-cygwin
configure:1234: checking for a BSD compatible install
configure:1283: result: /USR/BIN/install -c
configure:1294: checking whether build environment is sane
configure:1337: result: yes
configure:1358: checking whether make sets ${MAKE}
## ----------------- ##
## Cache variables. ##
## ----------------- ##
ac_cv_env_LDFLAGS_set=''
ac_cv_path_install='/USR/BIN/install -c'
ac_cv_env_CFLAGS_set=''
ac_cv_env_CPP_value=''
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_host_alias_set=''
lt_cv_sys_path_separator=':'
ac_cv_env_build_alias_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_target_alias_set=''
ac_cv_host_alias='i586-pc-cygwin'
ac_cv_env_CFLAGS_value=''
ac_cv_env_CC_set=''
ac_cv_build_alias='i586-pc-cygwin'
ac_cv_env_CPPFLAGS_value=''
ac_cv_target_alias='i586-pc-cygwin'
ac_cv_host='i586-pc-cygwin'
ac_cv_env_host_alias_value=''
ac_cv_build='i586-pc-cygwin'
ac_cv_env_build_alias_value=''
ac_cv_target='i586-pc-cygwin'
ac_cv_env_target_alias_value=''
ac_cv_env_CC_value=''
ac_cv_env_CPP_set=''
configure: exit 2

So please help me to solve these two problems. Like what env vars are
required for terminal to work.

But I think there should be documentation included with cygwin download
which discusses how to manually setup cygwin. Like what environment
variables etc. are required.

This will help us to better understand how cygwin works and we don't have to
waste your precious time.

Sukhwinder




--
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]