Mathematica 5 installation

jre9_at_humboldt.edu
Date: 01/28/04

  • Next message: Unix Shepherd: "Re: kernel threads"
    Date: Tue, 27 Jan 2004 22:48:47 -0800 (PST)
    To: freebsd-hackers@freebsd.org
    
    

    The handbook includes information for installing Mathematica 4, but I have
    Mathematica 5 and found the handbook's guidelines to be entirely
    irrelevant to version 5. So here's how I finally figured out how to
    install version 5:

    First, the binaries are already branded properly (SVR4). So, mount the cd
    and run the installer. I installed to /compat/linux/usr/Wolfram/..., and
    put the binary links in /compat/linux/usr/bin . However, the little
    scripts (in /compat/linux/usr/bin) that start Mathematica don't work for
    FreeBSD: they report 'unknown OS'. If you fudge that part, so that it
    reports 'Linux', it simply doesn't work... perhaps something to do with
    the paths coded into the script. Anyway, I found it much simpler to roll
    my own script and stick it in my bin directory:
    (note: "+" means continue the line)

    #!/bin/sh

    export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:
    + /compat/linux/usr/Wolfram/Mathematica
    + /5.0/SystemFiles/Libraries/Linux"

    exec /compat/linux/usr/
     + Wolfram/Mathematica/5.0/
     + SystemFiles/FrontEnd/Binaries/
     + Linux/Mathematica -topDirectory
     + "/compat/linux/usr/Wolfram/Mathematica/5.0" "$@"

    as for the fonts, which must be loaded before the frontend is loaded, they
    reside in "/compat/linux/usr/
     + Wolfram/Mathematica/5.0/
     + SystemFiles/Fonts/Type 1"
    and ".../Fonts/BDF"

    I put these into XF86Config, but if you want to mirror the original
    Mathematica loading script, you can put this before the exec statement in
    the script:

    xset fp+ "[the first directory listed above]"
    xset fp+ "[the second directory listed above]"
    xset fp rehash

    I hope this is useful to others.
    -josh

    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Unix Shepherd: "Re: kernel threads"

    Relevant Pages

    • Re: how to TEST if File and Print sharing for Microsoft networks i
      ... 'To run the script: ... ' WREN1: File and Print services are installed. ... >>> I need to test if File and Printer sharing for Microsoft Networks is ... >>> installing or removing with a tool called snetcfg. ...
      (microsoft.public.scripting.wsh)
    • New driver loading scheme for Project Evil, need input
      ... installing NDIS drivers, mainly so that people no longer have to compile ... The wintobsd.sh script is interactive and prompts you to enter ... The end result is that installing a Windows driver should be as simple ...
      (freebsd-current)
    • Re: Change advertised program ready to run message
      ... Wrap your installation in a script. ... MsgBox("If you have any problems installing this software, ... SMS 2003 Resource Page: ...
      (microsoft.public.sms.swdist)
    • Re: Script Editor Word 2007.
      ... do you know if installing Office 2007 disables the MSE in previous ... "Microsoft Script Editor: The removal of this low-use feature ...
      (microsoft.public.word.docmanagement)
    • Re: IE Scripts cause machine to reboot
      ... >>> After installing SP2 my computer now reboots if I browse (using ... >>> This includes attempting to run windows update. ... >>> second script IE asks me to allow to run). ... >>> After installing the OS I run windows ...
      (microsoft.public.windowsxp.help_and_support)