[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Failure in building StatDataML for Octave 2.1.57
From: |
Rafael Laboissiere |
Subject: |
Failure in building StatDataML for Octave 2.1.57 |
Date: |
Fri, 19 Mar 2004 00:41:50 -0600 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
After posting the message below in help-octave, I realized that
octave-maintainers would be a more appropriate forum. Sorry for the
duplicates.
Rafael
----- Forwarded message from Rafael Laboissiere <address@hidden> -----
From: Rafael Laboissiere <address@hidden>
Subject: Failure build of StatDataML for Octave 2.1.57
Date: Wed, 17 Mar 2004 15:50:09 -0600
To: Help-Octave mailing list <address@hidden>
Reply-To: Rafael Laboissiere <address@hidden>
Organization: Debian GNU/Linux
X-Mailing-List: <address@hidden>
Hi,
I am trying to build the StatDataML package (
http://cran.r-project.org/src/contrib/StatDataML_1.0-6.tar.gz) for Debian
using Octave 2.1.57. Compilation fails with the following error message:
mkoctfile -I/usr/include/libxml2 -lxml2 readsdml.cc
readsdml.cc: In function `octave_value* GetStructureData(int*, char**,
xmlNode*)':
readsdml.cc:987: error: no match for 'operator[]' in 'A[*(names++)]'
readsdml.cc: In function `octave_value* GetDescription(xmlNode*)':
readsdml.cc:1093: error: no match for 'operator[]' in 'S["properties"]'
readsdml.cc:1095: error: no match for 'operator[]' in 'S[Cur->_xmlNode::name]'
make[2]: *** [readsdml.oct] Error 1
Compilation was okay with Octave 2.1.50 and if I replace the lines like:
Octave_map A;
char** names;
// ...
A[*names++] = *GetDataset(Cur);
by:
A.assign (*names++, *GetDataset(Cur));
then compilation with 2.1.57 succeeds. I am wondering why the [] operator
for the Octave_map class is not supported anymore. Is the "assign" method
above backward compatible with older versions of Octave?
--
Rafael
-------------------------------------------------------------
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
-------------------------------------------------------------
----- End forwarded message -----
--
Rafael
- Failure in building StatDataML for Octave 2.1.57,
Rafael Laboissiere <=