[Pkg-octave-devel] Re: [OctDev] Building Octave-Forge with octave-2.9.4

Colin Ingram synergizedmusic at gmail.com
Sat Jan 28 00:03:59 UTC 2006


On 1/26/06, Rafael Laboissiere <rafael at debian.org> wrote:
> [Dropped Cc: to octave-dev mailing list]
>
> * Quentin Spencer <qspencer at ieee.org> [2006-01-26 13:30]:
>
> > The 2005.06.13 release doesn't build with newer octave 2.9.x releases.
> > This has been fixed in CVS. You can try to make a release based on CVS
> > or wait for a new release.

Okay I tried to build against the CVS with the same debian/rules file
from as before and it fails (full build log:
http://webpages.charter.net/synergymusic/octave-forge_2006.01.27cvs_amd64.build)

THis has something to do with octlink.sh which seems to be missing
/usr/bin/make
make[1]: Entering directory
`/home/colin/data/debian/octave/2.9transition/upstream/octave-forge'
Processing extra/
make[2]: Entering directory
`/home/colin/data/debian/octave/2.9transition/upstream/octave-forge/extra'
Processing extra/graceplot/
make[3]: Entering directory
`/home/colin/data/debian/octave/2.9transition/upstream/octave-forge/extra/graceplot'
mkoctfile-2.9.4 -DHAVE_OCTAVE_29 -v __grcmd__.cc
/usr/bin/g++ -c -fPIC -I/usr/include/octave-2.9.4
-I/usr/include/octave-2.9.4/octave -O2 -DHAVE_OCTAVE_29 __grcmd__.cc
-o __grcmd__.o
/usr/bin/g++ -shared -Wl,-Bsymbolic -o __grcmd__.oct __grcmd__.o
-L/usr/lib/octave-2.9.4 -loctinterp -loctave -lcruft -s -llapack-3
-lblas-3 -lfftw3 -lreadline -lncurses -ldl -lhdf5 -lz -lm
-L/usr/lib/gcc/x86_64-linux-gnu/4.0.3
-L/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../lib64
-L/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../.. -L/lib/../lib64
-L/usr/lib/../lib64 -lhdf5 -lz -lgfortranbegin -lgfortran -lm -lgcc_s
rm -f __grcla__.octlink
/home/colin/data/debian/octave/2.9transition/upstream/octave-forge/admin/octlink.sh
__grcmd__.oct __grcla__.octlink
make[3]: /home/colin/data/debian/octave/2.9transition/upstream/octave-forge/admin/octlink.sh:
Command not found
make[3]: *** [__grcla__.octlink] Error 127
rm -f __grclf__.octlink
/home/colin/data/debian/octave/2.9transition/upstream/octave-forge/admin/octlink.sh
__grcmd__.oct __grclf__.octlink
make[3]: /home/colin/data/debian/octave/2.9transition/upstream/octave-forge/admin/octlink.sh:
Command not found
make[3]: *** [__grclf__.octlink] Error 127
rm -f __grexit__.octlink
/home/colin/data/debian/octave/2.9transition/upstream/octave-forge/admin/octlink.sh
__grcmd__.oct __grexit__.octlink
make[3]: /home/colin/data/debian/octave/2.9transition/upstream/octave-forge/admin/octlink.sh:
Command not found

there is much more like this...see full log

> > I'm maintaining Octave-forge in Fedora, and
> > I've been tempted to release a CVS-based package, but for now I'm
> > waiting in hopes that a new release is soon.
>
> We might also patch just the main/fixed/ directory for the Debian
> package. This will minimize the instabilities in the package.
>
> --
> Rafael
>

I tried this too...it still fails in fixedNDarray (full log
http://webpages.charter.net/synergymusic/octave-forge_2005.06.13-patched_amd54.build)

/usr/bin/g++ -c -fPIC -I/usr/include/octave-2.9.4
-I/usr/include/octave-2.9.4/octave -O2 -DHAVE_OCTAVE_29 -DOCTAVE_FORGE
-DHAVE_ND_ARRAYS -DTYPEID_HAS_CLASS -DCLASS_HAS_LOAD_SAVE
-DHAVE_OCTAVE_CONCAT -DHAVE_SWAP_BYTES -DHAVE_OCTAVE_UPLUS
fixedNDArray.cc -o fixedNDArray.o
fixedNDArray.cc:407:59: error: macro "MX_ND_REDUCTION" passed 5
arguments, but takes just 3
fixedNDArray.cc:421:61: error: macro "MX_ND_REDUCTION" passed 5
arguments, but takes just 3
fixedNDArray.cc:436:61: error: macro "MX_ND_REDUCTION" passed 5
arguments, but takes just 3
fixedNDArray.cc: In member function 'FixedNDArray
FixedNDArray::prod(int) const':
fixedNDArray.cc:406: error: 'MX_ND_REDUCTION' was not declared in this scope
fixedNDArray.cc: In member function 'FixedNDArray FixedNDArray::sum(int) const':
fixedNDArray.cc:420: error: 'MX_ND_REDUCTION' was not declared in this scope
fixedNDArray.cc: In member function 'FixedNDArray
FixedNDArray::sumsq(int) const':
fixedNDArray.cc:434: error: 'MX_ND_REDUCTION' was not declared in this scope
make[3]: *** [fixedNDArray.o] Error 1
Compiling fixedCNDArray.o
/usr/bin/g++ -c -fPIC -I/usr/include/octave-2.9.4
-I/usr/include/octave-2.9.4/octave -O2 -DHAVE_OCTAVE_29 -DOCTAVE_FORGE
-DHAVE_ND_ARRAYS -DTYPEID_HAS_CLASS -DCLASS_HAS_LOAD_SAVE
-DHAVE_OCTAVE_CONCAT -DHAVE_SWAP_BYTES -DHAVE_OCTAVE_UPLUS
fixedCNDArray.cc -o fixedCNDArray.o
fixedCNDArray.cc:626:25: error: macro "MX_ND_REDUCTION" passed 5
arguments, but takes just 3
fixedCNDArray.cc:642:25: error: macro "MX_ND_REDUCTION" passed 5
arguments, but takes just 3
fixedCNDArray.cc:659:25: error: macro "MX_ND_REDUCTION" passed 5
arguments, but takes just 3
fixedCNDArray.cc: In member function 'FixedComplexNDArray
FixedComplexNDArray::prod(int) const':
fixedCNDArray.cc:624: error: 'MX_ND_REDUCTION' was not declared in this scope
fixedCNDArray.cc: In member function 'FixedComplexNDArray
FixedComplexNDArray::sum(int) const':
fixedCNDArray.cc:640: error: 'MX_ND_REDUCTION' was not declared in this scope
fixedCNDArray.cc: In member function 'FixedComplexNDArray
FixedComplexNDArray::sumsq(int) const':
fixedCNDArray.cc:656: error: 'MX_ND_REDUCTION' was not declared in this scope
make[3]: *** [fixedCNDArray.o] Error 1



More information about the Pkg-octave-devel mailing list