<div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px;">Later on build, error for missing file losessioninstall.component.
</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px;"><br></div><div><font face="Verdana"><span style="font-size: 12px;">I had to patch Module_shell by duplicating Linux part for Solaris.</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">Is this correct?<br></span></font><br><div><font face="Verdana"><span style="font-size: 12px;">--- libreoffice-4.1.0.1/shell/Module_shell.mk   Fri Jul 19 08:27:41 2013</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">+++ libreoffice-4.1.0.1/shell/Module_shell.mk   Fri Jul 19 08:27:28 2013</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">@@ -22,6 +22,14 @@</span></font></div><div><font face="Verdana"><span style="font-size: 12px;"> endif</span></font></div><div><font face="Verdana"><span style="font-size: 12px;"> endif</span></font></div><div><font face="Verdana"><span style="font-size: 12px;"><br></span></font></div><div><font face="Verdana"><span style="font-size: 12px;">+ifeq ($(OS),SOLARIS)</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">+ifeq ($(ENABLE_GIO),TRUE)</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">+$(eval $(call gb_Module_add_targets,shell,\</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">+       Library_losessioninstall \</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">+))</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">+endif</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">+endif</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">+</span></font></div><div><font face="Verdana"><span style="font-size: 12px;"> ifeq ($(ENABLE_GCONF),TRUE)</span></font></div><div><font face="Verdana"><span style="font-size: 12px;"> $(eval $(call gb_Module_add_targets,shell,\</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">        Library_gconfbe \</span></font></div></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px;"><br></div><br><hr style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px;"><br><br><font face="Arial, Helvetica, sans-serif" size="2" style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px;"><b>Da:</b> Gabriele Bulfon <gabriele.bulfon@sonicle.com><br><b>A:</b> Kohei Yoshida <kohei.yoshida@suse.de> <br><b>Cc:</b> libreoffice-dev <libreoffice@lists.freedesktop.org> <br><b>Data:</b> 18 luglio 2013 16.23.49 CEST<br><b>Oggetto:</b> Re: Error building sc on XStreamOS/illumos<br></font><br><br><blockquote style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px; border-left-color: rgb(0, 0, 128); border-left-width: 2px; border-left-style: solid; margin-left: 5px; padding-left: 5px;"><div><div><font face="Verdana"><span style="font-size: 12px;">Great! Worked, and I had also to patch this:</span></font><br><br><div><font face="Verdana"><span style="font-size: 12px;">--- libreoffice-4.1.0.1/sc/source/core/tool/scmatrix.cxx        Thu Jul 18 16:19:54 2013</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">+++ libreoffice-4.1.0.1/sc/source/core/tool/scmatrix.cxx        Thu Jul 18 16:19:47 2013</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">@@ -89,7 +89,7 @@</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">             }</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">         }</span></font></div><div><font face="Verdana"><span style="font-size: 12px;"><br></span></font></div><div><font face="Verdana"><span style="font-size: 12px;">-        static void delete_block(mdds::mtv::base_element_block* p)</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">+        static void delete_block(const mdds::mtv::base_element_block* p)</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">         {</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">             if (!p)</span></font></div><div><font face="Verdana"><span style="font-size: 12px;">                 return;</span></font></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px;"><br></div>
</div><tt style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px;"><br><br><br>----------------------------------------------------------------------------------<br><br>Da: Kohei Yoshida <kohei.yoshida@suse.de><br>A: Gabriele Bulfon <gabriele.bulfon@sonicle.com> <br>Cc: libreoffice-dev <libreoffice@lists.freedesktop.org> <br>Data: 18 luglio 2013 14.11.02 CEST<br>Oggetto: Re: Error building sc on XStreamOS/illumos<br><br></tt><blockquote style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px; border-left-color: rgb(0, 0, 128); border-left-width: 2px; border-left-style: solid; margin-left: 5px; padding-left: 5px;"><tt>On 07/18/2013 03:12 AM, Gabriele Bulfon wrote:<br>> Hi,<br>><br>> building went on after setup_native, and I got an error while building sc:<br>><br>> In file included from <br>> /sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/sc/inc/column.hxx:28,<br>> from <br>> /sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/sc/inc/table.hxx:28,<br>> from <br>> /sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/sc/source/core/data/bcaslot.cxx:30:<br>> /sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/sc/inc/mtvelements.hxx:66: <br>> error: wrong number of template arguments (2, should be 1)<br>> /usr/include/mdds/multi_type_vector_custom_func1.hpp:40: error: <br>> provided for 'template<class _Block> struct mdds::mtv::custom_block_func1'<br>> /sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/sc/inc/mtvelements.hxx:66: <br>> error: invalid type in declaration before ';' token<br>> /sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/sc/inc/mtvelements.hxx:70: <br>> error: wrong number of template arguments (2, should be 1)<br>> /usr/include/mdds/multi_type_vector_custom_func1.hpp:40: error: <br>> provided for 'template<class _Block> struct mdds::mtv::custom_block_func1'<br>><br>> what's wrong?<br><br>You are probably using mdds 0.9.0 to build the 4.1 branch.  You need to <br>either downgrade it to 0.8.1 (which you can easily by specifying <br>--without-system-mdds), or patch mtvelements.hxx to get it to build with <br>mdds 0.9.0.  Patching should be easy; all you have to do is to remove <br>the block type ID's from the template arguments i.e. making the <br>following change<br><br>diff --git a/sc/inc/mtvelements.hxx b/sc/inc/mtvelements.hxx<br><br>index 1628381..037ec6b 100644<br><br>--- a/sc/inc/mtvelements.hxx<br><br>+++ b/sc/inc/mtvelements.hxx<br><br>@@ -63,11 +63,11 @@ MDDS_MTV_DEFINE_ELEMENT_CALLBACKS_PTR(SvtBroadcaster, sc::element_type_broadcast<br><br>  namespace sc {<br><br>  <br><br>  // Broadcaster storage container<br><br>-typedef mdds::mtv::custom_block_func1<sc::element_type_broadcaster, sc::custom_broadcaster_block> BCBlkFunc;<br><br>+typedef mdds::mtv::custom_block_func1<sc::custom_broadcaster_block> BCBlkFunc;<br><br>  typedef mdds::multi_type_vector<BCBlkFunc> BroadcasterStoreType;<br><br>  <br><br>  // Cell text attribute container.<br><br>-typedef mdds::mtv::custom_block_func1<sc::element_type_celltextattr, sc::custom_celltextattr_block> CTAttrFunc;<br><br>+typedef mdds::mtv::custom_block_func1<sc::custom_celltextattr_block> CTAttrFunc;<br><br>  typedef mdds::multi_type_vector<CTAttrFunc> CellTextAttrStoreType;<br><br>  <br><br>  /**<br><br><br>should make the 4.1 branch build with 0.9.0.<br><br>HTH,<br><br>Kohei<br><br>-- <br>Kohei Yoshida, LibreOffice Calc hacker, SUSE.<br><br><br><br></tt></blockquote></div>

<pre>_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
</pre></blockquote></div>