[mlpack-svn] [MLPACK] #247: Ubuntu 12.04 i686 build from source 1.0.2 failed
MLPACK Trac
trac at coffeetalk-1.cc.gatech.edu
Sun Sep 16 19:24:26 EDT 2012
#247: Ubuntu 12.04 i686 build from source 1.0.2 failed
--------------------------------+-------------------------------------------
Reporter: cuunclzh | Owner:
Type: defect | Status: closed
Priority: major | Milestone:
Component: mlpack | Resolution: fixed
Keywords: build from source | Blocking:
Blocked By: |
--------------------------------+-------------------------------------------
Changes (by rcurtin):
* status: new => closed
* resolution: => fixed
Comment:
This is caused because SpMat (the Armadillo sparse matrix type) does not
have the randu() function; instead it has the sprandu() function.
Originally, before Armadillo released sparse matrix support (with 3.4),
mlpack provided sparse matrix support in the
`src/mlpack/core/arma_extend/sparse` directory. However, that internal
support is no longer necessary, and in addition the internal sparse API
differs very slightly from the new Armadillo 3.4.
Therefore, I've branched mlpack-1.0.2 to mlpack-1.0.3 and commented out
the sparse test for now [13549]; in addition, I removed the internal
sparse matrix support entirely [13555]. Sparse matrix support is provided
by Armadillo, provided that the version of Armadillo is greater than or
equal to 3.4.0.
To you this change should be transparent. All you should need to do is
download mlpack 1.0.3 from mlpack.org (or a direct link
[http://www.mlpack.org/files/mlpack-1.0.3.tar.gz here]) and retry the
compilation and it should succeed.
Thanks for reporting this bug, and feel free to reopen this ticket if my
solution did not completely fix the issue.
Sterling: I think that package availability is the problem here; mlpack
(much less 1.0.2) is not available on Debian, Ubuntu, or Fedora (though
the Fedora package is now being reviewed). Once we get those available, I
suspect fewer people will need to compile from source.
--
Ticket URL: <https://trac.research.cc.gatech.edu/fastlab/ticket/247#comment:2>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed by the FASTLAB at Georgia Tech under Dr. Alex Gray.
More information about the mlpack-svn
mailing list