Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* DUnix Binaries on Alpha Linux
@ 1999-09-08  5:42 Stuart Midgley
  1999-09-08  6:02 ` Michal Jaegermann
  0 siblings, 1 reply; 2+ messages in thread
From: Stuart Midgley @ 1999-09-08  5:42 UTC (permalink / raw)
  To: axp-list

Hi

I have been following the FAQ on getting mathematica 3.0 and 4.0 up and
running on RedHat Linux 6.0 .

Anyway, while I test the linux box, rather than copying the /usr/shlib
etc across, I just mount the appropriate directory from my Tru64 box. 
Here are my /etc/exports entries:

        /usr/shlib -ro mountmembers

        /shlib -ro mountmembers

        /usr/ccs -ro mountmembers

        /usr/lib/nls -ro mountmembers   # I added this myself to get
                                        # things working a bit better


These are then mounted onto the Linux box.  I also copied /sbin/loader
across.  I also setup the /etc/sia directory.

When I run Mathematica 3.0 it runs fine, except for these error
messages:

Warning: Cannot convert string
"-*-Menu-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
siocgifconf: Invalid argument
siocgifconf: Invalid argument
siocgifconf: Invalid argument
siocgifconf: Invalid argument
siocgifconf: Invalid argument
siocgifconf: Invalid argument


When I run Mathematica 4.0, it seems to load OK, but then Halts.  I ran
strace on it and include the last few lines here:

mmap(0, 4831821608, 0x1fffb6a8, 0x8 /* MAP_???
*/|MAP_ANONYMOUS|MAP_NORESERVE|MAP_DENYWRITE|MAP_EXECUTABLE|0x1ffe8020,
160, 0) = 0x20000000000
close(147)                              = 0
write(2, "siocgifconf", 11)             = 11
write(2, ": ", 2)                       = 2
write(2, "Invalid argument", 16)        = 16
write(2, "\n", 1)                       = 1
munmap(0x20000000000, 12764)            = 0
access("/usr/local/mathematica/AddOns/Autoload", F_OK) = 0
gethostname("<--removed-->", 64) = 0
socket(PF_UNIX, SOCK_DGRAM, 0)          = 147
ioctl(147, 0xc0106914, 0x11fffdb50)     = -1 EINVAL (Invalid argument)
getxuid()                               = 204
open("/usr/lib/nls/msg/C/libc.cat", O_RDONLY) = 148
fstat(148, {st_mode=03, st_size=936753642, ...}) = 0
mmap(0, 4831820408, 0x1fffb1f8, 0x8 /* MAP_???
*/|MAP_ANONYMOUS|MAP_NORESERVE|MAP_DENYWRITE|MAP_EXECUTABLE|0x1ffe8020,
160, 0) = 0x20000000000
close(148)                              = 0
write(2, "siocgifconf", 11)             = 11
write(2, ": ", 2)                       = 2
write(2, "Invalid argument", 16)        = 16
write(2, "\n", 1)                       = 1
munmap(0x20000000000, 12764)            = 0
open("/usr/local/mathematica/AddOns/Autoload", O_RDONLY) = 148
fcntl(148, F_SETFD, FD_CLOEXEC)         = 0
fstat(148, {st_mode=0, st_size=936753642, ...}) = 0
lseek(148, 0, SEEK_SET)                 = 0
osf_getdirentries(0x94, 0x140368000, 0x2000, 0x11fffe038) = 24
osf_getdirentries(0x94, 0x140368000, 0x2000, 0x11fffe038) = 0
close(148)                              = 0
gethostname("<--removed-->", 64) = 0
socket(PF_UNIX, SOCK_DGRAM, 0)          = 148
ioctl(148, 0xc0106914, 0x11fffe000)     = -1 EINVAL (Invalid argument)
getxuid()                               = 204
open("/usr/lib/nls/msg/C/libc.cat", O_RDONLY) = 149
fstat(149, {st_mode=03, st_size=936753642, ...}) = 0
mmap(0, 4831821608, 0x1fffb6a8, 0x8 /* MAP_???
*/|MAP_ANONYMOUS|MAP_NORESERVE|MAP_DENYWRITE|MAP_EXECUTABLE|0x1ffe8020,
160, 0) = 0x20000000000
close(149)                              = 0
write(2, "siocgifconf", 11)             = 11
write(2, ": ", 2)                       = 2
write(2, "Invalid argument", 16)        = 16
write(2, "\n", 1)                       = 1
munmap(0x20000000000, 12764)            = 0
access("/usr/local/mathematica/AddOns/Applications", F_OK) = 0
gethostname("<--removed-->", 64) = 0
socket(PF_UNIX, SOCK_DGRAM, 0)          = 149
ioctl(149, 0xc0106914, 0x11fffdb50)     = -1 EINVAL (Invalid argument)
getxuid()                               = 204
open("/usr/lib/nls/msg/C/libc.cat", O_RDONLY) = 150
fstat(150, {st_mode=03, st_size=936753642, ...}) = 0
mmap(0, 4831820408, 0x1fffb1f8, 0x8 /* MAP_???
*/|MAP_ANONYMOUS|MAP_NORESERVE|MAP_DENYWRITE|MAP_EXECUTABLE|0x1ffe8020,
160, 0) = 0x20000000000
close(150)                              = 0
write(2, "siocgifconf", 11)             = 11
write(2, ": ", 2)                       = 2
write(2, "Invalid argument", 16 <unfinished ...>


Anyway, it would be good if it could be made to run.

Thanks

Stu.


-- 
<--------------------------------------------------------------------->
  Stuart Midgley                      |  stuart@physics.uwa.edu.au
  Department of Physics               |  08 9380 7898   Wk
  University of Western Australia     |  08 9380 1014   Fax


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: DUnix Binaries on Alpha Linux
  1999-09-08  5:42 DUnix Binaries on Alpha Linux Stuart Midgley
@ 1999-09-08  6:02 ` Michal Jaegermann
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Jaegermann @ 1999-09-08  6:02 UTC (permalink / raw)
  To: axp-list

Stuart Midgley wrote:
> 
> When I run Mathematica 3.0 it runs fine, except for these error
> messages:
> 
> Warning: Cannot convert string
> "-*-Menu-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct

This one is merely annoying and it will show up when you try to
run other programs from DU which use X-windows.  When you will
get fed up sufficiently enough you can kill that message adding
to fonts.dir in some directory where you have Type 1 fonts a string
like that:

n019003l.pfb -urw-menu-medium-r-normal--0-0-0-0-p-0-iso8859-1

Use some other font if you prefer and you have to have a file like
'n019003l.pfb' obviously enough.  Do not forget to bump up a font count
at the top of 'fonts.dir' and also copy results to 'fonts.scale'.

Other errors - this is a totally different story. :-)

  Michal


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-09-08  6:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-08  5:42 DUnix Binaries on Alpha Linux Stuart Midgley
1999-09-08  6:02 ` Michal Jaegermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox