From owner-FreeBSD-users-jp@jp.freebsd.org  Wed Apr  8 19:28:40 1998
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) id TAA07248
	Wed, 8 Apr 1998 19:28:40 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) with ESMTP id TAA07241
	for <FreeBSD-users-jp@jp.freebsd.org>; Wed, 8 Apr 1998 19:28:38 +0900 (JST)
Received: from mpc9.sys.okayama-u.ac.jp (mpc9.sys.okayama-u.ac.jp [150.46.70.122]) by mcrlab.sys.okayama-u.ac.jp (8.8.4+2.7Wbeta4/3.4Wbeta6) with ESMTP id TAA09482 for <FreeBSD-users-jp@jp.freebsd.org>; Wed, 8 Apr 1998 19:29:46 +0900 (JST)
Message-Id: <199804081029.TAA09482@mcrlab.sys.okayama-u.ac.jp>
To: FreeBSD-users-jp@jp.freebsd.org
In-reply-to: Hiroyuki HANAI <hanai@astec.co.jp> 's message of "Wed, 08 Apr 1998
	 17:18:28 JST"
References: <199804080804.RAA09340@mcrlab.sys.okayama-u.ac.jp>  <19980408171828M.hanai@astec.co.jp>
Date: Wed, 08 Apr 1998 19:31:12 +0900
From: Koichi Hashimoto <koichi@sys.okayama-u.ac.jp>
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=24]
X-Sequence: FreeBSD-users-jp 27030
Subject: [FreeBSD-users-jp 27030] Re: about MapleV + LinuxEmulation 
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

$B66K\$G$9!%(B

>>> At "Wed, 08 Apr 1998 17:18:28 +0900", Hiroyuki HANAI wrote:

HANAI> $B$G$7$?$i!"@'Hs=q$$$F$/$@$5$$$^$;!#(B;-p
HANAI> $B$G$-$l$P1Q8l$,$$$$$G$9$,!"F|K\8l$G$b$$$$$G$9$h$s!#(B

$B$&(B... $B$H$$$&$3$H$G!$=q$$$F$_$^$7$?!%Cx:n8"J|4~$G$9!%<Q$k$J$j>F$/$J$j<N$F(B
$B$k$J$j$7$F$/$@$5$$!%(B

How to Install Maple on FreeBSD

Installation of Maple V Release 4 on FreeBSD 2.2.5 is fairly simple:
configure your system for Linux compatibility, install Maple as
written in the installation guide and add four lines to a
shell script file.


Installation of Linux binary of Maple

Linux binary of Maple is provided on CDROM.  The supplied shell
script files assume that Maple directory is /usr/local/maple.  If you
want to change the directory, please read the installation
instructions carefully.  If you install Maple to the default directory 
follow the following installation procedure.

% su
# mkdir /usr/local/maple
# cd /usr/local/maple
# /cdrom/install

The Maple shell scripts are installed in /usr/local/maple/bin.  You may
want to add this directory to your search path.


Change to a script file

The maple and xmaple commands are actually shell script files and they
calls the binary installed in /usr/local/maple/bin_LINUX_INTEL_UNIX.
The host type is defined by executing /usr/local/bin/maple.system.file 
that uses uname -a.  Thus all what you should do is to set MAPLE_BIN
shell variable to bin_LINUX_INTEL_UNIX.  Adding the following four
lines to /usr/local/bin/maple.system.file do this job. 

*** 71,78 ****
--- 71,82 ----
      "Linux")
          # the Linux/x86 case
          MAPLE_BIN="bin_LINUX_INTEL_UNIX"
          ;;
+     "FreeBSD")
+         # the FreeBSD/x86 with Linux emulation case
+         MAPLE_BIN="bin_LINUX_INTEL_UNIX"
+         ;;
      *)
          # currently do not support any other platforms
          MAPLE_BIN="FAIL"
          ;;


Bug

It is known that xmaple do not work properly on remote machines.  By
specifying the DISPLAY with IP address can workaround this problem.
This is not a bug of emulation but a bug of Maple V Release 4 on Linux 
with libc5.4 and after.
