LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-16-2010, 01:19 PM   #1
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Rep: Reputation: 94
Short Tutorial on Building a Package for FreeMat


Hi my friend Slackers

I found out this package FreeMat http://freemat.sourceforge.net/index.html

It is a sort of Matlab emulator, like Octave, or Scilab.

It has fewer toolboxes, since it is not such a mature project than the other two... but it is said that the scripting language compatibility with Matlab is greater... don't know yet...

Must check this out.

Anyway, you download tha Tarball of source code, http://downloads.sourceforge.net/fre...-Source.tar.gz

extract it, cd into FreeMat-4.0-Source/FreeMat-4.0.1-Source/dependencies/volpack-1.0c7

and ./configure , make, trackinstall

You created the package volpack, which is a dependency of FreeMat, Install it.

Do not need to use the llvm-2.5 of the tarball, there is a much better slackbuild fro it, in Slackbuilds.org.

This is also a dependency, other required dependencies existing at Slackbuilds are lapack, blas, fftw3, and ocaml.

All these must be built and installed before going into building llvm-2.5.


After having built and installed lapack, blas, fftw3, ocaml, volpack and llwm-2.5, you proceed to above the main source tree of freeMat..., and create a BuildDir folder and cd into it ( this will hold your cmake build files ).


From there, you launch ccmake ../path/to/freemat/source/tree

You configure, toggle the advanced user options, configure again, generate the cmake lists, and ccmake exits ( menus should be self explanatory )

From command prompt you type #make, and when it ends, you type trackinstall.


This will create your Freemat-4.0 slackware package in /tmp, install it, and enjoy.

TODO :

Building llvm-2.5 as well as FreeMat with Intel compilers, to generate faster code.


BRGDS

Alex
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Short Tutorial : How to install Code Aster in Slackware64 13 Alexvader Slackware 6 12-21-2009 04:22 PM
Short Tutorial : How to Install Salome-Platform in Slackware64 13 Alexvader Slackware 2 12-18-2009 07:16 AM
problem with freemat chrischristian Linux - Newbie 11 02-03-2009 10:53 AM
Building a kernel module rpm tutorial AutoC Linux - Newbie 3 02-05-2008 07:23 PM
LXer: eCos real-time OS makes short work of building a SAN appliance LXer Syndicated Linux News 0 11-29-2007 02:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration