--- Log opened Fri Sep 07 00:00:26 2018 | ||
-!- sukey2 [~nodebot@ks312251.kimsufi.com] has joined #shogun | 01:02 | |
-!- sukey [~nodebot@ks312251.kimsufi.com] has quit [Read error: Connection reset by peer] | 01:02 | |
-!- HeikoS [~heiko@host86-151-43-178.range86-151.btcentralplus.com] has joined #shogun | 11:33 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 11:34 | |
-!- HeikoS [~heiko@host86-151-43-178.range86-151.btcentralplus.com] has quit [Quit: Leaving.] | 11:40 | |
-!- HeikoS [~heiko@2a00:23c5:e10a:5c00:adf4:8dac:e66a:2204] has joined #shogun | 12:20 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 12:20 | |
-!- HeikoS [~heiko@2a00:23c5:e10a:5c00:adf4:8dac:e66a:2204] has quit [Quit: Leaving.] | 12:51 | |
-!- Ryan_DeRose [d86bc2a6@gateway/web/freenode/ip.216.107.194.166] has joined #shogun | 14:09 | |
Ryan_DeRose | hello? | 14:10 |
---|---|---|
Ryan_DeRose | Can anyone help me complete my install of Shogun in Ubuntu 16.04? I copied the commands into the terminal as per the installation instructions and they seem to have worked, but there is no documentation on how to make Octave find the libraries. I have tried modshogun and init_shogun but it cannot find them. I do have the libraries in usr/lib. | 14:12 |
Ryan_DeRose | I am following the instructions here http://www.shogun-toolbox.org/install#manual-basics When i do cd build and then "cmake -DINTERFACE_PYTHON=ON" it tells me there is no cmakelists.txt. There is one in in the above folder, but when I go to that directory and do "cmake -DINTERFACE_PYTHON=ON" again, it tells me "Shogun can only be built with GPL codes if the source files are in /home/derose/shogun/src/shogun/src/gpl. Please dow | 19:07 |
Ryan_DeRose | LICENSE_GPL_SHOGUN=OFF." However, when I add -LICENSE_GPL_SHOGUN=OFF as an option, i get the error "CMake Error: The source directory "/home/derose/shogun/src/shogun/-LICENSE_GPL_SHOGUN=OFF" does not exist." | 19:08 |
Ryan_DeRose | sorry, those commands were supposed to be "cmake -DINTERFACE_OCTAVE=ON" | 19:14 |
sukey2 | [https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4396 opened by carbonox-infernox | 19:16 |
sukey2 | [https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4396 | 19:21 |
sukey2 | [https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4396 | 19:21 |
lisitsyn | Ryan_DeRose: hello | 21:27 |
lisitsyn | it seems you forgot the -D before the LICENSE.. thing | 21:27 |
Ryan_DeRose | Hi there, I was helped out on stack exchange and I'm closer to solving this than before. Now I'm in shogun/build running the command "cmake .. -DINTERFACE_OCTAVE=ON" but I'm getting the error "Could NOT find Octave (missing: OCTAVE_ROOT_DIR) (found suitable version "4.4.1", minimum required is "3.6")" | 21:29 |
lisitsyn | Ryan_DeRose: oh that's interesting | 21:31 |
lisitsyn | looks like we have a problem detecting version | 21:31 |
Ryan_DeRose | hmm | 21:32 |
Ryan_DeRose | According to some googling i just did, it might be because i'm missing some dev libraries for octave | 21:35 |
lisitsyn | it could be so | 21:35 |
Ryan_DeRose | similar issue here: https://github.com/robotology/robotology-superbuild/issues/16 | 21:36 |
Ryan_DeRose | I did what they said and ran sudo apt-get install liboctave-dev but that did not help | 21:36 |
sukey2 | [https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4396 | 21:39 |
lisitsyn | Ryan_DeRose: I just check what the cmake script does | 21:40 |
lisitsyn | it calls "octave -p PREFIX" | 21:40 |
lisitsyn | which I guess was the way to output path prefix | 21:41 |
lisitsyn | ah no sorry | 21:41 |
lisitsyn | octave-config -p PREFIX | 21:41 |
Ryan_DeRose | what should I do? | 21:41 |
lisitsyn | Ryan_DeRose: so basically "octave-config -p PREFIX" stopped working in that octave version | 21:42 |
lisitsyn | Ryan_DeRose: let me try to find a quick fix | 21:42 |
Ryan_DeRose | ok, thanks | 21:43 |
Ryan_DeRose | I wonder if I have to first uninstall octave, and then install liboctave-dev. There was one other installation tutorial i tried following yesterday that said you have to build octave from source and select all of the dev packages. However, that was last updated in 2011 so it may be obsolete. | 21:46 |
lisitsyn | Ryan_DeRose: no it has nothing to do with your installation | 21:46 |
lisitsyn | it is due to some changes in octave | 21:47 |
Ryan_DeRose | oh, ok | 21:47 |
lisitsyn | Ryan_DeRose: https://gist.github.com/lisitsyn/990a1b55e29750301b9da1337d1422fd | 21:50 |
lisitsyn | you might try such diff | 21:50 |
lisitsyn | I am checking if it works.. | 21:50 |
lisitsyn | but well it configures this way | 21:50 |
lisitsyn | Ryan_DeRose: basically octave-config -P PREFIX does not work anymore so this is why it fails | 21:51 |
lisitsyn | but it is not used anyway | 21:51 |
Ryan_DeRose | should i just run these from shogun/build? | 21:51 |
lisitsyn | Ryan_DeRose: you'd have to apply this diff from shogun/ | 21:52 |
Ryan_DeRose | ok | 21:52 |
Ryan_DeRose | still new to linux, should i copy/paste each line or find a way to run the file? | 21:53 |
lisitsyn | Ryan_DeRose: you can save that to some file | 21:54 |
lisitsyn | and then use "git apply <yourfile.diff>" | 21:54 |
Ryan_DeRose | ok, cool | 21:54 |
rcurtin | hehe, my IRC alerts keep going off because your name is Ryan too :) | 21:54 |
rcurtin | I have an alert set whenever 'ryan' appears anywhere... false alarm today :) | 21:54 |
lisitsyn | oh hah | 21:54 |
Ryan_DeRose | lol | 21:55 |
Ryan_DeRose | I ran it and it says fatal: corrupt patch at line 14 | 21:55 |
lisitsyn | ehmm | 21:56 |
Ryan_DeRose | it must be expecting something with the if loop | 21:56 |
lisitsyn | Ryan_DeRose: ok just remove OCTAVE_ROOT_DIR from these two lines | 21:56 |
Ryan_DeRose | 9 and 12? | 21:57 |
lisitsyn | no I think it is 187 and 189 | 21:57 |
lisitsyn | of shogun/cmake/FindOctave.cmake | 21:58 |
Ryan_DeRose | oh ok, thought you were talking about yours | 21:58 |
Ryan_DeRose | deleted those, should i still run the .diff you gave me? | 22:00 |
lisitsyn | Ryan_DeRose: no, try to build now | 22:00 |
lisitsyn | I am building it meanwhile | 22:00 |
lisitsyn | although I am on macosx | 22:01 |
lisitsyn | but I'd have the same problem as I have octave 4.4.1 just like you | 22:01 |
Ryan_DeRose | it worked for that part, finding octave | 22:01 |
Ryan_DeRose | CMake Warning at cmake/FindPLY.cmake:24 (message): ply import failure: Call Stack (most recent call first): examples/meta/CMakeLists.txt:4 (FIND_PACKAGE) CMake Error at examples/meta/CMakeLists.txt:6 (message): Python module ply required for meta examples. Install or set BUILD_META_EXAMPLES=OFF | 22:01 |
Ryan_DeRose | i guess i'm missing something called ply? | 22:02 |
lisitsyn | yes exactly :) | 22:02 |
Ryan_DeRose | can i do something like sudo apt-get install ply? | 22:03 |
lisitsyn | yes, python-ply | 22:04 |
Ryan_DeRose | I'm starting to get the hang of these unix commands. I was 100% windows until I started this internship last week | 22:04 |
Ryan_DeRose | AWESOME, configuration done now | 22:04 |
lisitsyn | yay :) | 22:05 |
lisitsyn | I am not sure octave is the best interface but it should compile now | 22:05 |
Ryan_DeRose | So now, how do i call shogun from octave? | 22:05 |
Ryan_DeRose | well, octave is the first language i learned and I like using it for math stuff | 22:05 |
lisitsyn | you gotta build the interface now | 22:05 |
lisitsyn | do make from build/ | 22:06 |
Ryan_DeRose | oh i see, I still have steps to follow | 22:06 |
lisitsyn | https://github.com/shogun-toolbox/shogun/blob/develop/doc/readme/INTERFACES.md#octave | 22:06 |
Ryan_DeRose | running make now | 22:06 |
lisitsyn | to speed up you might want to use something like make -j8 | 22:07 |
lisitsyn | it depends whether your computer is powerful enough so something between 4 to 8 | 22:07 |
lisitsyn | once it is done you can do make install and it should install the octave interface | 22:07 |
Ryan_DeRose | oh, ok. I was following these instructions: http://www.shogun-toolbox.org/install#manual-basics | 22:07 |
Ryan_DeRose | should i do the interface stuff now or later, when i've finished manual-basics | 22:08 |
lisitsyn | yeah they are the same | 22:08 |
Ryan_DeRose | same page, yeah | 22:08 |
Ryan_DeRose | just dunno what order i should do this | 22:08 |
lisitsyn | I think this is fine, once you do make and make install it should work | 22:08 |
lisitsyn | the order is cmake <some vars> && make && make install | 22:08 |
Ryan_DeRose | ok. make was taking a while so i cancelled and did make -j8 like you said | 22:09 |
Ryan_DeRose | it made it to 2% and then i got Makefile:149: recipe for target 'all' failed make: *** [all] Error 2 | 22:10 |
lisitsyn | oh wow | 22:10 |
lisitsyn | that's pretty fast | 22:10 |
lisitsyn | :) | 22:10 |
Ryan_DeRose | did regular make again and it seems to be working correctly, at 5% now | 22:10 |
Ryan_DeRose | it made it to 75% and then failed | 22:47 |
Ryan_DeRose | In file included from /home/derose/shogun/src/shogun/kernel/normalizer/KernelNormalizer.h:12:0, from /home/derose/shogun/src/shogun/transfer/multitask/MultitaskKernelMaskPairNormalizer.h:12, from /home/derose/shogun/build/src/shogun/base/class_list.cpp:40: /home/derose/shogun/src/shogun/kernel/Kernel.h: In member function 'float64_t shogun::CKernel::kernel(int32_t, int32_t)': /home/derose/s | 22:47 |
Ryan_DeRose | Well, I've been here an extra hour and i can't get overtime so I'm just gonna leave now and bring my work laptop home. Hopefully I can get it working over the weekend. | 22:55 |
-!- Ryan_DeRose [d86bc2a6@gateway/web/freenode/ip.216.107.194.166] has quit [Ping timeout: 252 seconds] | 22:59 | |
--- Log closed Sat Sep 08 00:00:28 2018 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!