From: Colin I. <syn...@gm...> - 2006-01-26 19:18:53
|
[sorry for the noise in the mailling list...my previous msg had my CC as the subject and the subject was....well I don't know where it went] I started working on the 2.9 transition again. Octave-Forge fails to build on my system. I attemted to build with these changes to debian/rules Index: rules =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- rules (revision 466) +++ rules (working copy) @@ -6,25 +6,25 @@ PACKAGE =3D octave-forge include /usr/share/dpatch/dpatch.make include /usr/share/octave/debian/defs.make altname =3D octave-forge-alternatives debtmp :=3D $(CURDIR)/debian/$(PACKAGE) debdoc :=3D $(debtmp)/usr/share/doc/$(PACKAGE) octdir :=3D $(OCTDIR) mdir :=3D $(MDIR) altoctdir :=3D /usr/lib/$(altname) altmdir :=3D /usr/share/$(altname) -octbin :=3D $(shell octave-config-2.1.72 -p LOCALARCHLIBDIR) +octbin :=3D $(shell octave-config-2.9.4 -p LOCALARCHLIBDIR) mycheck: @echo "debtmp $(debtmp)" @echo "debdic $(debdoc)" @echo "otdir $(octdir)" @echo "mdir $(mdir)" @echo "octbin $(octbin)" arch :=3D $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) ## edd 22 Feb 2003 now use 3.2 versions everywhere ## edd 27 Jun 2003 now that gcc 3.3 is in unstable and testing, relax thi= s @@ -56,24 +56,26 @@ configure-stamp: patch-stamp dh_testdir mv configure configure-orig touch extra/MacOSX/NOINSTALL [ -f autogen.sh ] && ./autogen.sh && chmod 0755 configure CC=3D$(compilerpath) \ CXX=3D$(cpppath) \ FC=3D$(fcpath) \ F77=3D$(fcpath) \ CFLAGS=3D$(compilerflags) \ CXXFLAGS=3D$(compilerflags) \ FFLAGS=3D$(compilerflags) \ + OCTAVE=3D"octave-2.9.4" \ + MKOCTFILE=3D"mkoctfile-2.9.4" \ ./configure --prefix=3D/usr --with-altmpath=3D$(altmdir) # clean the tsa/ directory # ( cd extra/tsa && ../../debian/tsacleanup.pl ) touch configure-stamp build: configure-stamp build-stamp build-stamp: $(MAKE) # $(MAKE) index.html touch build-stamp install: install-stamp @@ -87,25 +89,25 @@ OPATH=3D$(debtmp)/$(octdir)/$(PACKAGE) \ XPATH=3D$(debtmp)/$(octbin) \ ALTMPATH=3D$(debtmp)/$(altmdir) \ ALTOPATH=3D$(debtmp)/$(altoctdir) \ prefix=3D$(debtmp)/usr \ mandir=3D$(debtmp)/usr/share/man rm -vf $(debtmp)/rasmol.sh touch install-stamp check: check-stamp check-stamp: dh_testdir - -$(MAKE) check OCTAVE=3Doctave2.1 + -$(MAKE) check OCTAVE=3Doctave-2.9.4 touch check-stamp clean: unpatch dh_testdir dh_testroot -test -f configure-orig && mv configure-orig configure rm -f configure-stamp build-stamp install-stamp check-stamp -test -f Makefile && $(MAKE) clean -rm -rf *~ $(debtmp) debian/*~ debian/files* build \ config.status config.cache config.log conftest \ extra/symband/*.oct build.log \ main/fixed/doc/fixed.ps \ with the command: # touch main/sparse/NOINSTALL && debuild -us -uc -i. It looks like there is a problem with fixedNDArray (full log at http://webpages.charter.net/synergymusic/octave-forge_2005.06.13-11_amd64.b= uild) Compiling fixedNDArray.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 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 sco= pe fixedNDArray.cc: In member function 'FixedNDArray FixedNDArray::sum(int) const': fixedNDArray.cc:420: error: 'MX_ND_REDUCTION' was not declared in this sco= pe fixedNDArray.cc: In member function 'FixedNDArray FixedNDArray::sumsq(int) const': fixedNDArray.cc:434: error: 'MX_ND_REDUCTION' was not declared in this sco= pe make[3]: *** [fixedNDArray.o] Error 1 ---snip-- make[3]: Leaving directory `/home/colin/data/debian/octave/2.9transition/octave-forge-2005.06.13/main/= symbolic' make[2]: Target `all' not remade because of errors. make[2]: Leaving directory `/home/colin/data/debian/octave/2.9transition/octave-forge-2005.06.13/main' Processing nonfree/ cd nonfree/ && /usr/bin/make -k 2>&1 || \ echo "nonfree/ not complete. See log for details" >>../build.fail= \ | tee -a build.log make[2]: Entering directory `/home/colin/data/debian/octave/2.9transition/octave-forge-2005.06.13/nonfr= ee' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/colin/data/debian/octave/2.9transition/octave-forge-2005.06.13/nonfr= ee' Build finished. Please read FIXES/README before you install. main/ not complete. See log for details make[1]: *** [all] Error 1 make[1]: Leaving directory `/home/colin/data/debian/octave/2.9transition/octave-forge-2005.06.13' make: *** [build-stamp] Error 2 any suggestions? |