ChanServ changed the topic of #mlpack to: "mlpack: a fast, flexible machine learning library :: We don't always respond instantly, but we will respond; please be patient :: Logs at http://www.mlpack.org/irc/
The_LoudSpeaker has quit [Ping timeout: 256 seconds]
ImQ009 has joined #mlpack
himanshu_pathak[ has quit [Quit: Idle for 30+ days]
jenkins-mlpack2 has quit [Ping timeout: 258 seconds]
jenkins-mlpack2 has joined #mlpack
rcurtin has quit [Ping timeout: 265 seconds]
rcurtin has joined #mlpack
< zoq>
NippunSharmaGitt: Great :)
ImQ009 has quit [Quit: Leaving]
pradkrish has joined #mlpack
< pradkrish>
I am currently trying to install mlpack on Ubuntu 20.04. Running "cmake -D DEBUG=ON -D PROFILE=ON ../" gives the following error (just showing the trimmed version of it)
< pradkrish>
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message): Could NOT find cereal: Found unsuitable version "0.0.0", but required is at least "1.1.2" (found /usr/bin)Call Stack (most recent call first): /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:391 (_FPHSA_FAILURE_MESSAGE)
< zoq>
tar -xvzpf v1.3.0.tar.gz # Unpack into cereal-1.3.0/.
< zoq>
and than add DCEREAL_INCLUDE_DIR in the cmake step
< zoq>
so something like cmake -DCEREAL_INCLUDE_DIR=path/to/cereal-1.3.0/include/ ..
< zoq>
that should work as well
< zoq>
but on my system libcereal-dev installs cereal 1.3.0
< pradkrish>
how did you get that info, as in what version libcereal-dev points to?
< pradkrish>
is it by cereal -v?
< zoq>
apt-get -s install libcereal-dev
< pradkrish>
libcereal-dev is already the newest version (1.3.0-2) ..... that's my version number
< zoq>
pradkrish: hm, can you test to build outside the env?
< pradkrish>
yeah, I was surprised about that. I don't think using a venv is mentioned anywhere in the build instructions, is it?
< zoq>
Right, would be a good idea to change that, I used conda in the past, instead of venv.
< pradkrish>
do you currently develop in a venv?
< zoq>
Personally no, but maybe others do; will test it out at some point, I guess people use venv quite a lot.
< pradkrish>
I am usually quite hesitant to build such packages outside of venv, since I contribute to other projects and I don't other things to get messed up.
< pradkrish>
*don't want
< pradkrish>
well, they won't but ....
< zoq>
Yeah, understandable.
< pradkrish>
I am sort of confused how to proceed now ... without doing it outside of venv
< pradkrish>
okay, let me try outside of venv ....
< zoq>
you can do the steps I mentioned above
< zoq>
they should work inside a env
< pradkrish>
do you mean installing cmake directly from the source
< pradkrish>
sorry, cereal not cmake
< zoq>
yes, it's a header-only lib so just unpack the archive
< pradkrish>
fudge, the same problem
< pradkrish>
after doing this cmake -DCEREAL_INCLUDE_DIR=path/to/cereal-1.3.0/include/
< zoq>
but with the correct path right, I just use an example
< pradkrish>
I went back to mlpack and tried running building again .... I see the same error. Somehow it is unable to find the path
< pradkrish>
I did --> cmake -DCEREAL_INCLUDE_DIR=/home/(MYNAME)/repos/cereal-1.3.0/include/
< zoq>
okay, that looks correct
< zoq>
I'm not sure if this is a problem with your venv setup or if that is something else.
< pradkrish>
I tried once outside of venv and I get the same error.
< pradkrish>
So this is probably not related to venv
< zoq>
yes
< pradkrish>
will you be able to do a quick within venv installation at your end?
< pradkrish>
with the latest on master
< pradkrish>
I know this is too much to ask, feel free to ignore this plea :)
< zoq>
Nah, I'm interested to see if that works as well, but that probably has to wait until tomorrow.
< zoq>
pradkrish: Do you mind to open an issue on GitHub and post the error you get?
< pradkrish>
can you do which cereal ?
< pradkrish>
"which cereal"
< pradkrish>
sure, I will open an issue tomorrow, pretty late for me here.