On 1/25/12 12:24 PM, Jordi Gutiérrez Hermoso wrote: > On 25 January 2012 11:35, OYEDAPO OLUFEMI > <olufemi.oyed...@univ-poitiers.fr> wrote: > >> Hi, i seem to have been struggling for 2 days now. i have >> installed octave version 3.4.0 for Mac Os x and it is running >> properly togther with gnuplot. But my problem is i cannot run a >> script file (.*m files). The error is it does not understand >> functions like biterr , qammod..... Then it dawn on me i had to >> install the communications package. How can i install the >> communication package? > > If you are able to compile C and C++ source files, this may work: > > pkg install -forge communications > >> I have no GNU g++/gcc compiler installed, because i am using the >> Os x Xcode with a built in gcc. > > Uhm, the "built-in" gcc is the GNU cc, the GNU compiler > collection. It's all GNU. Like Octave itself. So that should work. > > - Jordi G. H.
I've dealt with reports of people not having Xcode's compiler executables in /usr/bin on Lion. Apple's installer seems to be nondeterministic for reasons that escape me. According to the internals of the package, these are _supposed_ to be installed. I'm not sure what gets hardcoded into the mkoctfile script in the 3.4.0 binary package for compilers. If it wants /usr/bin/gcc and /usr/bin/g++ then "pkg install" will fail on packages that need compiling. -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev