Maple™ is a commercial mathematics program similar to Mathematica®. This software must be purchased and licensed from Maplesoft. To install the Linux® version of this software on FreeBSD, follow these steps.
Execute the INSTALL
shell
script from the product distribution. Choose the
“RedHat” option when prompted by the
installation program. A typical installation directory
might be /usr/local/maple
.
Copy the license to
/usr/local/maple/license/license.dat
.
Install the FLEXlm license
manager by running the
INSTALL_LIC
install shell script that
comes with Maple™. Specify
the primary hostname for the machine for the license
server.
Patch
/usr/local/maple/bin/maple.system.type
with the following:
Note that no whitespace should be present after
"FreeBSD"|\
.
This patch instructs Maple™
to recognize FreeBSD as a type of Linux®
system. The bin/maple
shell script
calls the bin/maple.system.type
shell
script which in turn calls uname -a
to
find out the operating system name. Depending on the OS
name it will find out which binaries to use.
Start the license server.
The following script, installed as
/usr/local/rtc/rc.d/lmgrd
is a
convenient way to start up lmgrd
:
Test that Maple™ starts:
%
cd /usr/local/maple/bin
%
./xmaple
Once everything is working, consider writing Maplesoft to let them know you would like a native FreeBSD version!
lmgrd
is known to be
picky about the license file and to dump core if there
are any problems. A correct license file should look
like this:
In this example, the serial number and key were
replaced with X
.
chillig
is the hostname.
Editing the license file works as long as the “FEATURE” line is not edited. That line is protected by the license key.
All FreeBSD documents are available for download at http://ftp.FreeBSD.org/pub/FreeBSD/doc/
Questions that are not answered by the
documentation may be
sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.