Subject: Matlab 4 Linux install problem (big)
To: None <port-i386@NetBSD.ORG>
From: Mark Willey <willey@hillres155.cc.purdue.edu>
List: port-i386
Date: 01/13/1996 22:22:13
Well, here's the latest in my Matlab-installing attempt! If anyone has any
ideas, send them my way, and I'll beat on this some more. It is turning
out to be a nice compat test. :)
I can run the install programs (after KOing the SYSV, thanks!), but they
are having a few strange errors. I think that if maybe one or two things
were tweaked, it would probably work. There is an unexpected error in the
ktrace, which may be a clue, but I can't grok it.
The one thing I had to add was a little shell script:
need: /bin/uname:
#!/bin/sh
echo Linux
Need NO SVR4 COMPAT in kernel because ELF doesn't distinguish between OSes
on the same platform.
*** from ./tsetup (when running install) The file mentioned is just fine,
and exists, and is readable... However, I think it is being called from
another file, because the dumps don't show that file being accessed. That
may be what it's forking.
Doing a "strings tsetup | grep icleanpe" shows the path, so it's probably
calling it.
Get errors like:
Can't stat the file /cdrom/update/install/icleanpe.
INSTALLED: "System ID Rev4.0 for All," 82% complete, please wait...
Can't stat the file /cdrom/update/install/icleanpe.
INSTALLED: "GhostScript Rev5.2.2 for All," 85% complete, please wait...
Can't stat the file /cdrom/update/install/icleanpe.
INSTALLED: "Image Proc Rev1.0b for All," 87% complete, please wait...
Can't stat the file /cdrom/update/install/icleanpe.
INSTALLED: "Signal Proc Rev3.0b for All," 88% complete, please wait...
After ^C, we get:
Manufacturer is:
The MathWorks, Inc., 24 Prime Park Way, Natick, MA 01760.
Memory fault
and:
*** from ./install -t
Install man pages for $MATLAB/bin scripts ? ([y]/n) y
Enter the location for the man pages > [/usr/man/man1] /usr/local/units/matlab/man/man1
Installing please wait...
exec: : No such file or directory
INSTALLED: "Movie Demo Rev4.2a for All," 24% complete, please wait...
Welcome to MATLAB 4.2 Installation
You should have determined where you want to install MATLAB and have
copied a license.dat file to the $MATLAB/etc directory.
...
Manufacturer is:
The MathWorks, Inc., 24 Prime Park Way, Natick, MA 01760.
Segmentation fault
root:20535$
A ktrace of the install gives:
Begins with...
2143 tsetup CALL write(0x1,0x804f000,0x1a)
2143 tsetup GIO fd 1 wrote 26 bytes
"Installing please wait...
"
2143 tsetup RET write 26/0x1a
2143 tsetup CALL open(0x802b16a,0x242,0x1b6)
2143 tsetup NAMI "/emul/linux/tmp"
2143 tsetup NAMI "/tmp/_mlerr.log"
2143 tsetup RET open 3
>From here, it repeats exactly, with the name of the package changing. The
"fork" call changes through the following:
2143 tsetup RET fork 2211/0x8a3
Repeated: (somewhere in here causes the icleanpe error...)
2143 tsetup CALL fork
2143 tsetup RET fork 2211/0x8a3
2143 tsetup CALL sigprocmask(0,0xf7bfc8c8,0xf7bfc8c4)
2143 tsetup RET sigprocmask 0
2143 tsetup CALL sigaction(0xe,0xf7bfc8dc,0xf7bfc8cc)
2143 tsetup RET sigaction 0
2143 tsetup CALL time(0)
2143 tsetup RET time 821508751/0x30f73a8f
2143 tsetup CALL alarm(0x1)
2143 tsetup RET alarm 0
2143 tsetup CALL sigsuspend(0,0,0)
2143 tsetup PSIG SIGCHLD caught handler=0x8000280 mask=0x2000 code=0x0
2143 tsetup RET sigsuspend -1 errno -4 Unknown error: 4294967292
2143 tsetup CALL wait4(0xffffffff,0x803604c,0,0)
2143 tsetup RET wait4 2211/0x8a3
2143 tsetup CALL sigaction(0x11,0xf7bfc400,0xf7bfc3f0)
2143 tsetup RET sigaction 0
2143 tsetup CALL write(0x1,0x804f000,0x46)
2143 tsetup GIO fd 1 wrote 70 bytes
"INSTALLED: "Movie Demo Rev4.2a for All," 24% complete, please wait...
"
2143 tsetup RET write 70/0x46
2143 tsetup CALL unlink(0xf7bfc42c)
2143 tsetup NAMI "/emul/linux/usr/local/units/matlab/toolbox/matlab/andrew/tar"
2143 tsetup NAMI "/usr/local/units/matlab/toolbox/matlab/andrew/tar"
2143 tsetup RET unlink JUSTRETURN
2143 tsetup CALL sigreturn(0xf7bfc83c)
2143 tsetup RET sigreturn JUSTRETURN
2143 tsetup CALL time(0)
2143 tsetup RET time 821508751/0x30f73a8f
2143 tsetup CALL sigaction(0xe,0xf7bfc8cc,0)
2143 tsetup RET sigaction 0
2143 tsetup CALL alarm(0)
2143 tsetup RET alarm 1
2143 tsetup CALL sigprocmask(0x2,0xf7bfc8c4,0)
2143 tsetup RET sigprocmask 0
Later, this repeats:
2143 tsetup CALL fork
2143 tsetup PSIG SIGCHLD caught handler=0x8000280 mask=0x0 code=0x0
2143 tsetup RET fork 2225/0x8b1
2143 tsetup CALL wait4(0xffffffff,0x803604c,0,0)
2143 tsetup RET wait4 2225/0x8b1
2143 tsetup CALL sigaction(0x11,0xf7bfc458,0xf7bfc448)
2143 tsetup RET sigaction 0
2143 tsetup CALL sigreturn(0xf7bfc894)
2143 tsetup RET sigreturn JUSTRETURN
2143 tsetup CALL sigprocmask(0,0xf7bfc8c8,0xf7bfc8c4)
2143 tsetup RET sigprocmask 0
2143 tsetup CALL sigaction(0xe,0xf7bfc8dc,0xf7bfc8cc)
2143 tsetup RET sigaction 0
2143 tsetup CALL time(0)
2143 tsetup RET time 821508751/0x30f73a8f
2143 tsetup CALL alarm(0x1)
2143 tsetup RET alarm 0
2143 tsetup CALL sigsuspend(0,0,0)
2143 tsetup PSIG SIGALRM caught handler=0x800fe70 mask=0x2000 code=0x0
2143 tsetup RET sigsuspend -1 errno -4 Unknown error: 4294967292
2143 tsetup CALL sigreturn(0xf7bfc83c)
2143 tsetup RET sigreturn JUSTRETURN
2143 tsetup CALL time(0)
2143 tsetup RET time 821508752/0x30f73a90
2143 tsetup CALL sigaction(0xe,0xf7bfc8cc,0)
2143 tsetup RET sigaction 0
2143 tsetup CALL alarm(0)
2143 tsetup RET alarm 0
2143 tsetup CALL sigprocmask(0x2,0xf7bfc8c4,0)
2143 tsetup RET sigprocmask 0
2143 tsetup CALL sigprocmask(0,0xf7bfc8c8,0xf7bfc8c4)
2143 tsetup RET sigprocmask 0
2143 tsetup CALL sigaction(0xe,0xf7bfc8dc,0xf7bfc8cc)
2143 tsetup RET sigaction 0
2143 tsetup CALL time(0)
2143 tsetup RET time 821508752/0x30f73a90
2143 tsetup CALL alarm(0x1)
2143 tsetup RET alarm 0
2143 tsetup CALL sigsuspend(0,0,0)
2143 tsetup PSIG SIGALRM caught handler=0x800fe70 mask=0x2000 code=0x0
And finally, ends with this: (after ^C)
2143 tsetup RET sigsuspend -1 errno -4 Unknown error: 4294967292
2143 tsetup CALL sigreturn(0xf7bfc83c)
2143 tsetup RET sigreturn JUSTRETURN
2143 tsetup CALL time(0)
2143 tsetup RET time 821509358/0x30f73cee
2143 tsetup CALL sigaction(0xe,0xf7bfc8cc,0)
2143 tsetup RET sigaction 0
2143 tsetup CALL alarm(0)
2143 tsetup RET alarm 0
2143 tsetup CALL sigprocmask(0x2,0xf7bfc8c4,0)
2143 tsetup RET sigprocmask 0
2143 tsetup CALL sigprocmask(0,0xf7bfc8c8,0xf7bfc8c4)
2143 tsetup RET sigprocmask 0
2143 tsetup CALL sigaction(0xe,0xf7bfc8dc,0xf7bfc8cc)
2143 tsetup RET sigaction 0
2143 tsetup CALL time(0)
2143 tsetup RET time 821509358/0x30f73cee
2143 tsetup CALL alarm(0x1)
2143 tsetup RET alarm 0
2143 tsetup CALL sigsuspend(0,0,0)
2143 tsetup PSIG SIGINT caught handler=0x8000260 mask=0x2000 code=0x0
2143 tsetup RET sigsuspend -1 errno -4 Unknown error: 4294967292
2143 tsetup CALL sigreturn(0xf7bfc83c)
2143 tsetup RET sigreturn JUSTRETURN
2143 tsetup CALL time(0)
2143 tsetup RET time 821509359/0x30f73cef
2143 tsetup CALL sigaction(0xe,0xf7bfc8cc,0)
2143 tsetup RET sigaction 0
2143 tsetup CALL alarm(0)
2143 tsetup RET alarm 1
2143 tsetup CALL sigprocmask(0x2,0xf7bfc8c4,0)
2143 tsetup RET sigprocmask 0
2143 tsetup CALL kill(0x8b1,0x9)
2143 tsetup RET kill -1 errno -3 Unknown error: 4294967293
2143 tsetup CALL write(0x1,0x804f000,0x2)
2143 tsetup GIO fd 1 wrote 2 bytes
"\a
"
2143 tsetup RET write 2
2143 tsetup CALL write(0x1,0x804f000,0x17)
2143 tsetup GIO fd 1 wrote 23 bytes
"Installation stopped !
"
2143 tsetup RET write 23/0x17
2143 tsetup CALL write(0x1,0x804f000,0x1)
2143 tsetup GIO fd 1 wrote 1 bytes
"
"
2143 tsetup RET write 1
2143 tsetup CALL write(0x1,0x804f000,0x1)
2143 tsetup GIO fd 1 wrote 1 bytes
"
"
2143 tsetup RET write 1
2143 tsetup CALL write(0x1,0x804f000,0x586)
2143 tsetup GIO fd 1 wrote 1414 bytes
" Welcome to MATLAB 4.2 Installation
You should have determined where you want to "
2143 tsetup RET write 1414/0x586
2143 tsetup CALL write(0x1,0x804f000,0x3f)
2143 tsetup GIO fd 1 wrote 63 bytes
" The MathWorks, Inc., 24 Prime Park Way, Natick, MA 01760.
"
2143 tsetup RET write 63/0x3f
2143 tsetup PSIG SIGSEGV SIG_DFL
2143 tsetup NAMI "tsetup.core"
Mark