<div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px;">Hi, I moved to 4.1 build from scratch.</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px;">Build required me a couple of new system libs (libodfgen and libmwaw) that I could package easily.</div><div><font face="Verdana"><span style="font-size: 12px;">Then, it stops just after the succesful configure:</span></font><br><br><div><span style="font-size: 12px;"><font face="courier new">make[1]: Entering directory `/sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1'</font></span></div><div><span style="font-size: 12px;"><font face="courier new">/usr/gnu/bin/make -j 1 -rsw -f /sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/Makefile.gbuild</font></span></div><div><span style="font-size: 12px;"><font face="courier new">make[2]: Entering directory `/sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1'</font></span></div><div><span style="font-size: 12px;"><font face="courier new">/sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1//bridges/Module_bridges.mk:28: *** no bridge selected for build: bailing out.  Stop.</font></span></div><div><span style="font-size: 12px;"><font face="courier new">make[2]: Leaving directory `/sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1'</font></span></div><div><span style="font-size: 12px;"><font face="courier new">make[1]: *** [build] Error 2</font></span></div><div><span style="font-size: 12px;"><font face="courier new">make[1]: Leaving directory `/sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1'</font></span></div><div><span style="font-size: 12px;"><font face="courier new">gmake: *** [/sources/userlands/xstream-userland-gate/components/libreoffice/build/i86/.built] Error 2</font></span></div><div style="color: rgb(0, 0, 0); font-size: 12px;"><font face="courier new"><br></font></div><div style="color: rgb(0, 0, 0); font-size: 12px;"><font face="courier new">What does it mean? What bridge?</font></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px;"><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px;">Thanks,</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px;">Gabriele.<br><br>
</div><tt style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px;"><br><br><br>----------------------------------------------------------------------------------<br><br>Da: Michael Stahl <mstahl@redhat.com><br>A: Gabriele Bulfon <gabriele.bulfon@sonicle.com> <br>Cc: libreoffice@lists.freedesktop.org Raffaele Fullone <raffaele.fullone@sonicle.com> Jonathan Adams <t12nslookup@gmail.com> Pierre-Eric Pelloux-Prayer <pierre-eric@lanedo.com> <br>Data: 27 giugno 2013 14.04.21 CEST<br>Oggetto: Re: Building LO 4.0.4.2 on illumos based OS<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 27/06/13 10:52, Gabriele Bulfon wrote:<br>> Hi,<br>> <br>> I'm working on our Sonicle XStreamOS distro based on illumos kernel.<br>> <br>> I encountered some problems building LO 4.0..4.2.<br><br>i'd suggest to try building libreoffice-4-1 branch or master instead,<br>because it should be easier: in the libreoffice-4-0 branch the migration<br>to the new GNU make based build system was still in progress, so you<br>have to get both the new and the old build system to work for you,<br>whereas in libreoffice-4-1 and master there is only one build system.<br><br>> [build LNK] Executable/cppumaker<br>> /usr/gnu/bin/ld: warning: libstore.so, needed by<br>> /sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.0.4.2/solver/unxsogi.pro/lib/libreg.so,<br>> not found (try using -rpath or -rpath-link)<br>> <br>> I can't see why libreg.so can't resolve libstore.so, as they both live<br>> in solver/unxsogi.pro/lib :<br><br>the GNU linker apparently does not automatically use RPATH stored in the<br>.so for finding dependent libraries, and neither uses the -L passed to<br>it for finding dependent libraries.<br><br>it uses the -L parameters only to find libraries that are explicitly<br>listed on the command line (-lfoo); apparently you have -lreg but not<br>-lstore on the command line.<br><br>the solution is to use -rpath-link, which is used to find dependent<br>libraries that are not explicitly listed on the command line.<br><br>git grep finds this, which is commented out for reasons unknown to me:<br><br>solenv/gbuild/platform/solaris.mk:#JAD#'-Wl,-rpath-link,$(gb_Library_OUTDIRLOCATION)'<br><br>(iirc Sun ld would search -L directories in this case too so doesn't<br>need -rpath-link.)<br><br>> and ldd shows correct resolutions:<br><br>ldd uses the RPATH $ORIGIN in the .so hence it has no problems.<br><br>i am not sure if it would be better to use Sun ld or GNU ld on<br>OpenSolaris; i guess GNU ld has the advantage that it's the same as on<br>GNU/Linux so should make porting easier.<br><br>by the way here's some links to threads from previous porting efforts<br><br>http://permalink.gmane.org/gmane.comp.documentfoundation.libreoffice.devel/22798<br><http://permalink.gmane.org/gmane.comp.documentfoundation.libreoffice.devel/31363<br>http://permalink.gmane.org/gmane.comp.documentfoundation.libreoffice.devel/39846<br><br><br><br><br></tt></blockquote></div>