octave-maintainers
[Top][All Lists]
Advanced

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

Matrix.h vs. matrix.h saga continued


From: Joe Koski
Subject: Matrix.h vs. matrix.h saga continued
Date: Mon, 31 Jul 2006 11:52:12 -0600
User-agent: Microsoft-Entourage/11.2.5.060620

John, et al,

As John probably suspected, we may not be free of problems associated with
matrix.h vs. Matrix.h with Mac OS X.

First, in another exercise, I upgraded to gsl-1.8 and built, tested and
installed it. That seems to have solved my gsl problems with octave-forge.

Octave-forge now runs "make check," but with a few test failures.

In the process of the build, I noticed that the octave-forge make file was
looking for Matrix.h in /usr/local/include/octave-2.9.7/octave, so I copied
Matrix.h from /usr/local/include/octave/Matrix.h down to the
octave-2.9.7/octave directory. That satisfied the need for Matrix.h, but now
I'm getting errors similar to those encountered with the build of
octave-2.9.7: 

mex.cc:308: error: redefinition of 'class mxArray'
/usr/local/include/octave-2.9.7/octave/mxarray.h:122: error: previous
definition of 'class mxArray'
mex.cc: In member function 'virtual octave_value mxArray::as_octave_value()
const':
mex.cc:450: error: 'isstr' was not declared in this scope
mex.cc:452: error: 'nr' was not declared in this scope
mex.cc:452: error: 'nc' was not declared in this scope
mex.cc:455: error: 'pr' was not declared in this scope
mex.cc:458: error: 'pmap' was not declared in this scope
mex.cc:462: error: 'pi' was not declared in this scope
mex.cc:464: error: 'nr' was not declared in this scope
mex.cc:464: error: 'nc' was not declared in this scope
mex.cc:466: error: 'pr' was not declared in this scope
mex.cc:469: error: 'pr' was not declared in this scope
mex.cc:471: error: 'nr' was not declared in this scope
mex.cc:471: error: 'nc' was not declared in this scope


Maybe, I needed to copy the matrix.h there instead of Matrix.h? Is this all
related to the stupidity of not making Mac BSD UNIX totally case sensitive?
I have attached the appropriate part of build.log for further examination,
if it helps. Let me know if additional runs are needed.

I had similar problems building ddd a while back. They have an init file
called DDD and the make file keeps getting the two confused during the
build.

Progress is being made.

Joe



Attachment: build_log_error.txt
Description: Text document


reply via email to

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