Date: Sun, 11 Feb 2007 15:49:38 +0100 From: Tijl Coosemans <tijl@ulyssis.org> To: freebsd-emulation@freebsd.org Cc: carl@udel.edu Subject: Re: FreeBSD-6.2 and MAPLE-9 Message-ID: <200702111549.40525.tijl@ulyssis.org> In-Reply-To: <20070210191309.CNN49418@ms1.nss.udel.edu> References: <20070210191309.CNN49418@ms1.nss.udel.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 11 February 2007 01:13, carl@udel.edu wrote: > Not entirely sure if this is the correct list to post this, but, > I've recently installed FreeBSD-6.2 on a Pentium 3 box with 1-GB of > memory. I've tried to install all programs that I was able to run > with FreeBSD-6.1, but the only one that gives me a difficulty so far > is the mathematics package, MAPLE. There are some difficulties with > doing an installation (one needs to definitely have JDK-1.4 > installed, and not just linux-JDK-1.4). But even then, after doing > the recommended fixes as found in the FreeBSD manual, I still get: The linux jdk should work, but you probably need to load and mount linprocfs. Also, I believe the maple chapter in the handbook is about maple 10, but I'm not entirely sure. > [carl@giediprime ~]$ cd maple9/bin > [carl@giediprime ~/maple9/bin]$ ./maple > maple: could not start server > > This particular problem has some roots in the still current > difficulty of running MAPLE using Fedora Core 4 (or higher). I > point this out, in that the package/port "linux-base" went from > being based on Red-Hat 8 in FreeBSD-6.1 to being based on Fedora > Core 4 in FreeBSD-6.2. I was wondering if anyone else has run > across problems with MAPLE, and what they have done to get around > the problem. I have translated over from FreeBSD-6.1 the > "linux-base" based on Red-Hat 8, and have gotten MAPLE-9 to work in > text mode, but cannot get the GUI to work. To get that to work, it > world seem that I have a great many packages/ports to bring over > from FreeBSD-6.1, and was hoping there might be an easier method. > Anyone have any alternative thoughts? Thanks for your help! I have maple 9.5 running under linux_base-fc4 with a couple minor changes: * I've installed maple in /compat/linux/opt/maple9.5, but this shoudn't really matter. * add this link in /compat/linux/usr/lib: ln -s ../../lib/librt-2.3.6.so /compat/linux/usr/lib/librt.so.1 * create a script named xmaple in /usr/local/bin or somewhere else in your path with the following two lines: #! /bin/sh exec /compat/linux/bin/sh /opt/maple9.5/bin/xmaple * either use the jre maple ships with and then you probable need to mount linprocfs or, you can use the native freebsd jdk when you make a few changes to /compat/linux/opt/maple9.5/bin/maple. Under the "bin.IBM_INTEL_LINUX" case check the following variables: MAPLE_JRE_BIN="/usr/local/jdk1.5.0/jre/bin/" JRE_ROOT="/usr/local/jdk1.5.0/jre/lib" ADDLIB="$MAPLE/$MAPLE_SYS_BIN/P4SSE2" jdk 1.4 should work just as well and since you have a pentium 3, you probably want to change the P4SSE2 in the ADDLIB var to PIII or PIIISSE1. I believe that's all that's needed. Running "xmaple" from a command line should start maple in graphical mode now.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702111549.40525.tijl>