From owner-freebsd-emulation@FreeBSD.ORG Sun Feb 11 15:20:04 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 64F3B16A401 for ; Sun, 11 Feb 2007 15:20:04 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from outfbmx013.isp.belgacom.be (outfbmx013.isp.belgacom.be [195.238.4.83]) by mx1.freebsd.org (Postfix) with ESMTP id E309D13C474 for ; Sun, 11 Feb 2007 15:20:03 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from outmx005.isp.belgacom.be (outmx005.isp.belgacom.be [195.238.4.102]) by outfbmx013.isp.belgacom.be (Postfix) with ESMTP id C469A38A1F for ; Sun, 11 Feb 2007 15:52:20 +0100 (CET) Received: from outmx005.isp.belgacom.be (localhost [127.0.0.1]) by outmx005.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-OUT-2.22) with ESMTP id l1BEqELA021500 for ; Sun, 11 Feb 2007 15:52:14 +0100 (envelope-from ) Received: from kalimero.kotnet.org (254.216-245-81.adsl-dyn.isp.belgacom.be [81.245.216.254]) by outmx005.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-OUT-2.22) with ESMTP id l1BEqB8c021473; Sun, 11 Feb 2007 15:52:11 +0100 (envelope-from ) Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.13.8/8.13.8) with ESMTP id l1BEnfm3046393; Sun, 11 Feb 2007 15:49:41 +0100 (CET) (envelope-from tijl@ulyssis.org) From: Tijl Coosemans To: freebsd-emulation@freebsd.org Date: Sun, 11 Feb 2007 15:49:38 +0100 User-Agent: KMail/1.9.5 References: <20070210191309.CNN49418@ms1.nss.udel.edu> In-Reply-To: <20070210191309.CNN49418@ms1.nss.udel.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702111549.40525.tijl@ulyssis.org> Cc: carl@udel.edu Subject: Re: FreeBSD-6.2 and MAPLE-9 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2007 15:20:04 -0000 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.