octave-maintainers
[Top][All Lists]
Advanced

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

Re: release 3.0.2 again


From: Thomas Treichl
Subject: Re: release 3.0.2 again
Date: Thu, 21 Aug 2008 22:02:05 +0200
User-agent: Thunderbird 2.0.0.16 (Macintosh/20080707)

John W. Eaton schrieb:
On 20-Aug-2008, Thomas Treichl wrote:

| I've got bad news, I'm sorry for that. But the same '--path' option problem | still exists in 3.0.2 as in 3.0.1. Not always, ie. if I start up Octave with the | --no-initial-path option and also add a --path option then it works, in all | other cases --path does not work resp. the path is not added. | I can remember that this problem somewhen was solved (or was it just solved for | the default-branch, I can't remember anymore). Can somebody else please check | this, I don't think this is a Mac-only problem?!

Can you please provide a complete and precise description (including
the exact values of the arguments you are using, etc.) or point to a
previous bug report that includes this information?

Yes sure, sorry.

First of all I've to say that I cannot see this problem with 3.0.0 and I cannot see it in the current default-branch. It somehow appeared with 3.0.1 and I also thought that I somewhen saw it disappear - but I must gone wrong somwhow. I thought that my build scripts were broken, but I used the same scripts for building 3.0.0 as I have used for building 3.0.1 and 3.0.2 and the current default branch...

Now, by example, I startup Octave 3.0.0 with the --path option

  $ ~/bin/Octave.app.3.0.0/Octave.app/Contents/Resources/bin/octave
  --path ~/tmp/Unfinished/Ieval --quiet
  octave-3.0.0:1> which ieval
  ieval is the user-defined function from the file
  /Users/Thomas/tmp/Unfinished/Ieval/ieval.m
  octave-3.0.0:2> path
  Octave's search path contains the following directories:
  .
  /Users/Thomas/tmp/Unfinished/Ieval
/Users/Thomas/bin/Octave.app.3.0.0/Octave.app/Contents/Resources/share/octave/si
te/m
  <SNIP>

If I do the same with 3.0.1 or 3.0.2 then that path is ignored

  $ ~/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/bin/octave
  --path ~/tmp/Unfinished/Ieval --quiet
  octave-3.0.2:1> which ieval
  which: `ieval' is undefined
  octave-3.0.2:2> path
  Octave's search path contains the following directories:
  .
/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/libexec/octave/
site/oct/api-v32/i386-apple-darwin8.9.1
  <SNIP>

on the other hand, if I also use the --no-initial-path option too, then the current path and the path that I passed from command line are there (all Octave paths are not there, of course) - this can also be pure luck

  $ ~/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/bin/octave
  --path ~/tmp/Unfinished/Ieval --quiet --no-initial-path
  octave-3.0.2:1> which ieval
  ieval is the user-defined function from the file
  /Users/Thomas/tmp/Unfinished/Ieval/ieval.m
  octave-3.0.2:2> path
  Octave's search path contains the following directories:
  .
  /Users/Thomas/tmp/Unfinished/Ieval
  octave-3.0.2:3>

Because ./run-octave uses the --no-initial-path option I cannot see this problem if I run the local ./run-octave script, with this script everything works fine.

I also should notice that I use a lot of environment modifiers at startup - maybe there has a been a change at Octave side that I didn't recognize, ie. if I startup Octave (like I did before in the second example) then this is the real line that is executed

$ ~/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/bin/octave --path ~/tmp/Unfinished/Ieval --quiet

OCTAVE_HOME=/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources PATH=/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/bin:/Applications/Gnuplot.app/Contents/Resources/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/texbin:/usr/X11R6/bin:/usr/local/bin DYLD_LIBRARY_PATH=/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/lib/octave-3.0.2:/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/lib: CC=gcc -O3 -ftree-vectorize -fforce-addr -march=i686 -mfpmath=sse,387 -mieee-fp -msse3 -msse2 -msse -mmmx CXX=g++ -O3 -ftree-vectorize -fforce-addr -march=i686 -mfpmath=sse,387 -mieee-fp -msse3 -msse2 -msse -mmmx CFLAGS=-I/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/include -I/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/include/curl -I/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/include/readline CPPFLAGS=-I/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/include -I/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/include/curl -I/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/include/readline CXXFLAGS=-I/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/include -I/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/include/curl -I/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/include/readline FFLAGS=-I/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/include -I/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/include/curl -I/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/include/readline LDFLAGS=-L/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/lib -L/Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/lib/octave-3.0.2 DL_LDFLAGS=-bundle -bundle_loader /Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/bin/octave-3.0.2 SED=/usr/bin/sed /Users/Thomas/bin/Octave.app.3.0.2/Octave.app/Contents/Resources/bin/octave-3.0.2 --path /Users/Thomas/tmp/Unfinished/Ieval --quiet

octave-3.0.2:1>

  Thomas


reply via email to

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