<html><head></head><body>In order to obtain the correct version of npm, I installed the snap package for node. I use the channel for version 8.<br><br><br><div class="gmail_quote">On January 15, 2020 10:25:11 AM EST, nikkilocke <nikki@trumphurst.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">I am trying to compile LibreOffice online on Ubuntu 18.<br>I have installed all the packages needed by the configure script (including<br>having to compile poco from source, as the poco provided by apt-get is<br>incompatible with the npm provided by apt-get), and including using npm to<br>update itself to a more recent version.<br><br>Make gives me a __long__ list of error messages when compiling<br>kit/ChildSession.cpp. Here are the first few, full log available on request:<br><br>In file included from kit/ChildSession.cpp:39:0:<br>kit/KitHelper.hpp: In function ‘std::__cxx11::string<br>LOKitHelper::documentStatus(LibreOfficeKitDocument*)’:<br>kit/KitHelper.hpp:71:51: error: ‘LibreOfficeKitDocumentClass {aka struct<br>_LibreOfficeKitDocumentClass}’ has no member named ‘getPartInfo’; did you<br>mean ‘getParts’?<br> ptrValue =<br>loKitDocument->pClass->getPartInfo(loKitDocument, i);<br> ^~~~~~~~~~~<br> getParts<br>In file included from ./common/Session.hpp:27:0,<br> from kit/ChildSession.hpp:24,<br> from kit/ChildSession.cpp:12:<br>kit/ChildSession.cpp: In member function ‘virtual bool<br>ChildSession::_handleInput(const char*, int)’:<br>kit/ChildSession.cpp:160:60: error: ‘lokCallbackTypeToString’ was not<br>declared in this scope<br> <<<br>lokCallbackTypeToString(event.getType())<br> ^<br>./common/Log.hpp:285:31: note: in definition of macro ‘LOG_BODY_’<br> oss_ << std::boolalpha << X; <br>\<br> ^<br>kit/ChildSession.cpp:159:17: note: in expansion of macro ‘LOG_TRC’<br> LOG_TRC("Replaying missed view event: " << viewPair.first<br><< ' '<br> ^~~~~~~<br>kit/ChildSession.cpp:169:51: error: ‘lokCallbackTypeToString’ was not<br>declared in this scope<br> LOG_TRC("Replaying missed event: " <<<br>lokCallbackTypeToString(event.getType()) << ": "<br> ^<br>./common/Log.hpp:285:31: note: in definition of macro ‘LOG_BODY_’<br> oss_ << std::boolalpha << X; <br>\<br> ^<br>kit/ChildSession.cpp:169:13: note: in expansion of macro ‘LOG_TRC’<br> LOG_TRC("Replaying missed event: " <<<br>lokCallbackTypeToString(event.getType()) << ": "<br> ^~~~~~~<br>kit/ChildSession.cpp:183:21: error: ‘lokCallbackTypeToString’ was not<br>declared in this scope<br> lokCallbackTypeToString(event.getType()) << ": " <<<br>event.getPayload());<br> ^<br>./common/Log.hpp:285:31: note: in definition of macro ‘LOG_BODY_’<br> oss_ << std::boolalpha << X; <br>\<br> ^<br>kit/ChildSession.cpp:182:13: note: in expansion of macro ‘LOG_TRC’<br> LOG_TRC("Replaying missed event (part of sequence): " <<<br> ^~~~~~~<br>kit/ChildSession.cpp: In member function ‘bool<br>ChildSession::outlineState(const char*, int, const<br>std::vector<std::__cxx11::basic_string<char> >&)’:<br>kit/ChildSession.cpp:884:25: error: ‘using element_type = class<br>lok::Document {aka class lok::Document}’ has no member named<br>‘setOutlineState’<br> getLOKitDocument()->setOutlineState(column, level, index, hidden);<br> ^~~~~~~~~~~~~~~<br><br>Any clues as to what is wrong?<br><br><br><br><br>--<br>Sent from: <a href="http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html">http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html</a><hr>LibreOffice mailing list<br>LibreOffice@lists.freedesktop.org<br><a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice">https://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br></pre></blockquote></div><br>-- <br>Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>