[Libreoffice] [MHST] Problem with building Libreoffice after modifying some trivial code

Ta Duc Tung tatung2112 at gmail.com
Thu Jul 14 10:28:59 PDT 2011


On 07/14/2011 10:55 PM, Caolán McNamara wrote:
> On Thu, 2011-07-14 at 22:44 +0700, Ta Duc Tung wrote:
>> Hi,
>>
>> After getting the code from repo, I could build it very well. Then I
>> tried to modify some trivial code, building's still OK. However, after
>> half of a day of browsing source code and *maybe* modified some code
>> (I'm not sure about this cause I think I've disable all of my changes),
>> I've come back and try to re-build it but it has given me this: (detail
>> in http://pastebin.com/3rh37Zju)
> I happen to know that i18npool/source/localedata/data is the first place
> that we execute anything through the uno bridge which suggests that
> either it is broken, unlikely, or some of the libraries or data files it
> is using are out of date due to bad dependency tracking for them.
>
> You could try attaching your i18npool/unxlng*/misc/saxparser.rdb here to
> see if that one broken somehow.
This is the content of my saxparser.rdb (attach file)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<?xml version="1.0"?>
<components xmlns="http://openoffice.org/2010/uno-components"><component 
loader="com.sun.star.loader.SharedLibrary" 
uri="vnd.sun.star.expand:$OOO_INBUILD_SHAREDLIB_DIR/sax.uno.so"><implementation 
name="com.sun.star.comp.extensions.xml.sax.ParserExpat"><service 
name="com.sun.star.xml.sax.Parser"/></implementation><implementation 
name="com.sun.star.extensions.xml.sax.Writer"><service 
name="com.sun.star.xml.sax.Writer"/></implementation></component></components>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> You could also try adding gdb --args to the
> i18npool/source/localedata/data/makefile.mk, i.e.
> - $(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(OUT_FOR_BUILD)$/bin$/saxparser
> + $(AUGMENT_LIBRARY_PATH) $(WRAPCMD) gdb --args $(OUT_FOR_BUILD)$/bin
> $/saxparser
> and run dmake in that dir (after source Linux*Env.sh) and type "run"
> into gdb to run in a debugger, bt to get a backtrace.
>
> A full rebuild (make clean; make) I guess is always an option.
>
> C.
>

I'm going to make clean now :-)

Best Regards,
Ta Tung
-------------- next part --------------
A non-text attachment was scrubbed...
Name: saxparser.rdb
Type: text/xml
Size: 486 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110715/82025171/attachment.xml>


More information about the LibreOffice mailing list