From help-request at octave dot org Sat Dec 31 12:42:09 2005 Subject: Re: gnuplot with octave From: =?UTF-8?Q?Anand_Gaurav?= =?UTF-8?Q?=28=E0=A4=86=E0=A4=A8=E0=A4=A8=E0=A5=8D=E0=A4=A6?= =?UTF-8?Q?_=E0=A4=97=E0=A5=8C=E0=A4=B0=E0=A4=B5=29?= To: "marius173 at mchsi dot com" Cc: help at octave dot org Date: Sun, 1 Jan 2006 00:10:08 +0530 Thanks a lot Marius. I already had the suggested lines added in my .octaverc. I am easily able to run aquaterm from finder. It just opens an icon without any error etc. I followed hte rpocedure mentioned in http://dcollett.macosx.com/octaveOSX104.html But I think I had some problem installing octave-forge. maybe because of something not installed properly. can we make out something from the error: error: couldn't link module /usr/local/libexec/octave/2.1.72/site/oct/powerpc-apple-darwin8.3.0/octave-forge/dispatch.oct error: `dispatch' undefined near line 2 column 1 error: near line 2 of file `/usr/local/share/octave/2.1.72/site/m/octave-forge/comm//PKG_ADD' error: source: error sourcing file `/usr/local/share/octave/2.1.72/site/m/octave-forge/comm//PKG_ADD' error: unterminated string constant parse error near line 1 of file /Users/Anand/.octaverc syntax error >>> LOADPATH = [ '/usr/local/libexec/octave/2.1.72/site/oct/powerpc-apple-darwin8.3.0/octave-forge:/ octave:1> The installed revisions are as follows: octave-forge-2005.06.13-2.1.72-1 and octave-2.1.72-1-osx3.tar.gz But I did not install X11 and I already had Xcode installed. What do you suggest Regards, Anand PS: Wish you a happy new year 2006. On 12/28/05, marius173 at mchsi dot com wrote: > Ananad, > > What happens when you try to launch Aquaterm from the Finder? BTW what version of Aquaterm do you > have installed? > > This is what I meant with revision: > > package-version-revision-osx4.tar.gz. > > octave and octave forge should be: > > version 2.1.72 and 2005.06.13 > revision 2 and 2.1.72-2 > > respectively. > > Make sure that you have /usr/local/bin in your PATH and to use X11 add DISPLAY=localhost:0 in your > shell preference file. If you want to use X11 as your gnuplot terminal, X11 must first be launched. > > Also make sure you create an .octaverc with the following: > > LOADPATH = [ '/usr/local/libexec/octave/2.1.72/site/oct/powerpc-apple-darwin8.3.0/octave-forge:/ > usr/local/share/octave/2.1.72/site/m/octave-forge//:', LOADPATH ]; > EXEC_PATH = [ '/usr/local/libexec/octave/2.1.72/site/exec/powerpc-apple-darwin8.3.0:', > EXEC_PATH ]; > > This should fix the dispatch problem. > > Marius > > > > Thanks Marius. > > I installed it from hmug.org. I used the following version for octave-forge. > > octave-forge-2005.06.13 > > What do you suggest I should do? > > > > > > On 12/28/05, marius173 at mchsi dot com wrote: > > > Anand, > > > > > > It doesn't seem to find the Aquaterm dylib. Can you launch Aquaterm from the > > Finder? > > > > > > Given that you have installed into /usr/local, you are not using Fink or > > DarwinPorts. Did you build octave/ > > > octave-forge yourself or did you install from hmug.org? If so, which revision? > > > > > > Marius > > > > > > > > > > I have got Aqua installed as well as gnuplot but have some problem > > > > plotting outputs. > > > > I get the following error while plotting. > > > > My system is mac, os X,tiger. > > > > > > > > octave:2>plot(y) > > > > dyld: Library not loaded: > > > > /Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm > > > > Referenced from: /usr/local/bin/gnuplot > > > > Reason: image not found > > > > > > > > Can somebody help. > > > > > > > > when i simply type gnuplot, I get similar error: > > > > > > > > [anand-gauravs-ibook-g4:~] Anand% gnuplot > > > > dyld: Library not loaded: > > > > /Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm > > > > Referenced from: /usr/local/bin/gnuplot > > > > Reason: image not found > > > > Trace/BPT trap > > > > > > > > > > > > On invoking, I get following error messege: > > > > > > > > error: couldn't link module > > > > > > /usr/local/libexec/octave/2.1.72/site/oct/powerpc-apple-darwin8.3.0/octave-forge > > > > /dispatch.oct > > > > error: `dispatch' undefined near line 2 column 1 > > > > error: near line 2 of file > > > > `/usr/local/share/octave/2.1.72/site/m/octave-forge/comm//PKG_ADD' > > > > error: source: error sourcing file > > > > `/usr/local/share/octave/2.1.72/site/m/octave-forge/comm//PKG_ADD' > > > > error: unterminated string constant > > > > parse error near line 2 of file /Users/Anand/.octaverc > > > > syntax error > > > > > > > > Hoping for some help. > > > > > > > > Regards, > > > > Anand > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------- > > > Octave is freely available under the terms of the GNU GPL. > > > > > > Octave's home on the web: http://www.octave.org > > > How to fund new projects: http://www.octave.org/funding.html > > > Subscription information: http://www.octave.org/archive.html > > > ------------------------------------------------------------- > > > > > > > > > > > > > > ------------------------------------------------------------- > > Octave is freely available under the terms of the GNU GPL. > > > > Octave's home on the web: http://www.octave.org > > How to fund new projects: http://www.octave.org/funding.html > > Subscription information: http://www.octave.org/archive.html > > ------------------------------------------------------------- > > > ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------