From owner-doc-jp@jp.freebsd.org  Fri Apr 10 12:37:45 1998
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) id MAA11711
	Fri, 10 Apr 1998 12:37:45 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) with ESMTP id MAA11700
	for <doc-jp@jp.FreeBSD.ORG>; Fri, 10 Apr 1998 12:37:43 +0900 (JST)
Received: from amont.astec.co.jp (amont.astec.co.jp [172.20.10.1])
	by tokyonet-entrance.astec.co.jp (8.8.8+2.7Wbeta7/3.6W-astecMX2.3) with ESMTP id MAA28741
	for <doc-jp@jp.FreeBSD.ORG>; Fri, 10 Apr 1998 12:37:42 +0900 (JST)
Received: from localhost (elpibe.astec.co.jp [172.20.21.82])
	by amont.astec.co.jp (8.7.6/3.6W-astecMX2.4) with ESMTP id MAA05477
	for <doc-jp@jp.FreeBSD.ORG>; Fri, 10 Apr 1998 12:37:41 +0900 (JST)
To: doc-jp@jp.FreeBSD.ORG
From: Hiroyuki HANAI <hanai@astec.co.jp>
X-Mailer: Mew version 1.92.4 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <19980410123739W.hanai@astec.co.jp>
Date: Fri, 10 Apr 1998 12:37:39 +0900
X-Dispatcher: imput version 971024
Lines: 77
Reply-To: doc-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=24]
X-Sequence: doc-jp 4590
Subject: [doc-jp 4590] <Handbook> Adding 'Maple section' into linuxemu.sgml
Errors-To: owner-doc-jp@jp.freebsd.org
Sender: owner-doc-jp@jp.freebsd.org

$B@hF|!"(Busers-jp $B$G(B Maple $B$,$I$&$N$3$&$N$H$$$&(B
$BOCBj$,=P$F!"$=$3$G2,;3Bg$N66K\$5$s$,(B Handbook $B$K$b(B
$B:\$;$FM_$7$$$J$!$H$*$C$7$c$C$F$?$N$G!"!V=q$$$F$A$g!<$@$$!W(B
$B$C$F8@$C$?$i%[%s%H$K=q$$$F$/$l$^$7$?!#(B

$B$J$N$G!"(Blinuxemu.sgml $B$KF~$l$?$$$H;W$&$N$G$9$,!"(B
$B1Q8l$N%l%S%e!<$H(B patch $B:n$j$r$;$s$H$"$-$^$X$s!#(B

$B$H$$$&$3$H$G!"$d$C$F$/$l$k?M$rJg=8$7$^$U!#(B

$B$O$J$$(B

-------------- $B$3$3$+$i!"$3$3$+$i!"$3$3$+$i(B ---------------------------

How to Install Maple on FreeBSD

Maple V is a Symbolic Computation System that has X graphical user
interface.  In addition to its powerful symbolic manipulation, it has
many output styles including 2D/3D graphs, hyperlinked documents, LaTeX
format, and C/FORTRAN programming languages.
For more details, see http://www.maplesoft.com/

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.
-------------- $B$3$3$^$G!"$3$3$^$G!"$3$3$^$G(B ---------------------------
