octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building of 3.6.1 using Macports


From: Thomas Yengst
Subject: Re: Building of 3.6.1 using Macports
Date: Sun, 26 Feb 2012 22:26:06 -0800

Ben,

Strange - perhaps my macports setup is misconfigured. Before starting, I 
uninstalled all previous versions of octave from macports. I followed your 
instructions, but got some strange behavior.

        sudo port upgrade octave-devel   <== gave me an error

so I tried

        sudo port install octave-devel @3.6.1

this re-downloaded the tarball into /opt/local/var/macports/distfiles/octave/

        I wish I understood why macports did this when the local repository 
should have taken precedence.

The build process was successful. 
--->  Computing dependencies for octave-devel
--->  Building octave-devel
--->  Staging octave-devel into destroot
--->  Installing octave-devel @3.6.1_0+atlas+gcc44
--->  Activating octave-devel @3.6.1_0+atlas+gcc44
--->  Cleaning octave-devel

otherwise, it seems to be working. I have only done some simple testing - no 
GUI, and it appears that gnuplot is the chosen plotting software.

thanks for the pointers.
Tom


On Feb 26, 2012, at 3:41 PM, Ben Abbott wrote:

> Tom, dd you try Lukas' portfile ?
> 
> You'll need  to setup a local macports depo and place the octave stuff in 
> there.
> 
>       mkdir ~/ports
>       mkdir ~/ports/math
>       mkdir ~/ports/math/octave-devel
>       mkdir ~/ports/math/octave-devel/files
> 
> Now put all the octave stuff where it belongs.
> 
> Place octave-3.6.1.tar.gz in the "files" directory.
> Place Lukas' port file (I've attached it) in the "octave-devel" directory.
> Place both "patch-configure.diff" and "patch-src-display.cc.diff" in the 
> "files" directory.
> 
> Next tell macports about the local stuff.
> 
>       cd ~/ports
>       portindex -f
> 
> Finally, you're ready to build.
> 
>       sudo port upgrade octave-devel
> 
> Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]