![]() With this, you can also compare the different rendering apps and discover which one you like more. If you are running Octave and wish to change the GNUTERM there, you can do so with the setenv function, like so. You can read more about setting environment variables on StackOverflow. Set GNUTERM to x11 when you want to do your graphing in X11 and set GNUTERM to aqua when you want to do your graphing in AquaTerm. ![]() The way you control this is through the environment variable, GNUTERM. If you have installed the X11 variant, you can also choose to do the rendering from within X11. I like AquaTerm because the graphs look really smooth and nice, like you would expect on a Mac :) AquaTerm is basically a vector renderer which Octave can use to plot its graphs. When you install Octave via MacPorts, AquaTerm also gets installed. To get a full list, run: port variants octave-devel This ensures that both of those are in sync.įeel free to add other variants if you like, like X11 support or offline documentation. I simply did port install octave and got: octave 3.8.214+atlas+gcc5+glgui (active) atlas 3.10. Are you using octave +atlas If so what version of atlas Yes, the default octave port seems to be the +atlas one (which took a loooooong time to build). I added the gcc45 variant because one of the dependencies, atlas, needs gcc45 to compile. This issue seems to be connected with LAPACK. To install Octave, run the following from the terminal: sudo port install octave-devel +gcc45Īnd then wait.as there are a lot of things that need being compiled. With octave, I found the scaling of elements on the graph to be different sizes and that bugged me. In my brief testing with the two, the biggest difference for me was that the graphs plotted in octave-devel looked more like their OS counterparts. ![]() That being said, it's still pretty easy to get Octave up and running in both Snow Leopard and Lion.Īt the time of this post, here's two version of Octave to choose from: octave (version 3.2.4) and octave-devel (version 3.4.3). Most of the time, installing things with MacPorts is pretty easy however, I have found that GNU Octave can be a little tricky. sw/bin/init.Installing Octave on OSX with MacPorts Sunday, November 6, 2011 All you have to do is make sure that the path to MacPorts' directories come before Fink. Sweet.Īlthough I use MacPorts as my primary package manager, I also use Fink, and if you configure things correctly, they can easily co-exist on the same system and not get in each other's way. As it is, I just typed "sudo port install vlc", and MacPorts handled the rest, compiling not only VLC, but all the dependencies, and it used the right variants so that I ended up with a clickable program in my /Applications/MacPorts directory as well. Without MacPorts, I would need to download and compile by hand, and who knows what would have happened. As a simple example, I just used it to compile the latest bug-fix release of the VideoLAN media player (VLC 1.0.6), which is currently only available in source form. I currently use it with a 10.5.8 PPC system, and will continue using it when I upgrade to a 10.6.x Intel. If MacPorts works great for you, excellent! If it doesn't, there are others, including (maybe limited to) the aforementioned Homebrew, and Fink. So: a port repository on your OS X machine is a Good Thing. I do know that it's very easy for me to install and manage ports and their dependencies. I really don't know whether the selection of Homebrew ports is as extensive as the selection of MacPorts. ![]() Homebrew does the same basic thing as MacPorts, coded entirely in Ruby. My main need for the various ported programs and libraries was to assist in doing Ruby development, so I went with Homebrew (which does not appear to be available through MacUpdate). Having noted that, I had difficulty getting my MacPorts repository to the point where I could effortlessly type ![]() It's pretty much the closest one to an "official" repository, I think. MacPorts is one of a few different ports repositories for Mac OS X. Set exit_status [process_cmd $remaining."ĭon't construe the following as a knock on MacPorts it isn't. # If there are remaining arguments, process those as a command "action_revupgrade $action $portlist $opts" (procedure "macports::revupgrade" line 5) "revupgrade_scanandrebuild broken_port_counts $opts" (procedure "revupgrade_scanandrebuild" line 382) opt/local/var/macports/logs/_opt_local_var_macports_sources_release_ports_www_webkit-gtk/webkit-gtk/main.log Please see the log file for port webkit-gtk for details: When I try to install Pallet, I get a failure.Įrror: for port webkit-gtk returned: command execution failed ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |