GC 2.3.7 in Karmic Kubuntu
Roger Miskowicz
aretae at magma.ca
Tue Nov 3 12:37:46 EST 2009
Thanks Stephen I will try that after work.
Stephen R. Besch wrote:
> I managed to get GC trunk running on Karmic last night. Several
> problems showed up during the re-build:
>
> 1) Karmic updates libgoffice to version 0.8, with which I could not
> get GC to compile without the following error:
> .
> .
> libtool: compile: gcc -DHAVE_CONFIG_H -I<<<include list deleted>>>>
> -Werror -Wdeclaration-after-statement -g -O2 -Wall -Wunused
> -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT
> gnc-csv-model.lo -MD -MP -MF .deps/gnc-csv-model.Tpo -c
> gnc-csv-model.c -fPIC -DPIC -o .libs/gnc-csv-model.o
> In file included from gnc-csv-model.c:13:
> /usr/include/regex.h:324: error: redeclaration of enumerator
> 'REG_NOERROR'
> /usr/include/libgoffice-0.8/goffice/utils/regutf8.h:17: note: previous
> definition of 'REG_NOERROR' was here
> /usr/include/regex.h:325: error: redeclaration of enumerator
> 'REG_NOMATCH'
> /usr/include/libgoffice-0.8/goffice/utils/regutf8.h:18: note: previous
> definition of 'REG_NOMATCH' was here
> /usr/include/regex.h:329: error: redeclaration of enumerator 'REG_BADPAT'
> /usr/include/libgoffice-0.8/goffice/utils/regutf8.h:22: note: previous
> definition of 'REG_BADPAT' was here
> /usr/include/regex.h:330: error: redeclaration of enumerator
> 'REG_ECOLLATE'
> /usr/include/libgoffice-0.8/goffice/utils/regutf8.h:23: note: previous
> definition of 'REG_ECOLLATE' was here
> /usr/include/regex.h:331: error: redeclaration of enumerator 'REG_ECTYPE'
> /usr/include/libgoffice-0.8/goffice/utils/regutf8.h:24: note: previous
> definition of 'REG_ECTYPE' was here
> /usr/include/regex.h:332: error: redeclaration of enumerator
> 'REG_EESCAPE'
> /usr/include/libgoffice-0.8/goffice/utils/regutf8.h:25: note: previous
> definition of 'REG_EESCAPE' was here
> /usr/include/regex.h:333: error: redeclaration of enumerator
> 'REG_ESUBREG'
> /usr/include/libgoffice-0.8/goffice/utils/regutf8.h:26: note: previous
> definition of 'REG_ESUBREG' was here
> /usr/include/regex.h:334: error: redeclaration of enumerator 'REG_EBRACK'
> /usr/include/libgoffice-0.8/goffice/utils/regutf8.h:27: note: previous
> definition of 'REG_EBRACK' was here
> /usr/include/regex.h:335: error: redeclaration of enumerator 'REG_EPAREN'
> /usr/include/libgoffice-0.8/goffice/utils/regutf8.h:28: note: previous
> definition of 'REG_EPAREN' was here
> /usr/include/regex.h:336: error: redeclaration of enumerator 'REG_EBRACE'
> /usr/include/libgoffice-0.8/goffice/utils/regutf8.h:29: note: previous
> definition of 'REG_EBRACE' was here
> /usr/include/regex.h:337: error: redeclaration of enumerator 'REG_BADBR'
> /usr/include/libgoffice-0.8/goffice/utils/regutf8.h:30: note: previous
> definition of 'REG_BADBR' was here
> /usr/include/regex.h:338: error: redeclaration of enumerator 'REG_ERANGE'
> /usr/include/libgoffice-0.8/goffice/utils/regutf8.h:31: note: previous
> definition of 'REG_ERANGE' was here
> /usr/include/regex.h:339: error: redeclaration of enumerator 'REG_ESPACE'
> /usr/include/libgoffice-0.8/goffice/utils/regutf8.h:32: note: previous
> definition of 'REG_ESPACE' was here
> /usr/include/regex.h:340: error: redeclaration of enumerator 'REG_BADRPT'
> /usr/include/libgoffice-0.8/goffice/utils/regutf8.h:33: note: previous
> definition of 'REG_BADRPT' was here
> /usr/include/regex.h:343: error: redeclaration of enumerator 'REG_EEND'
> /usr/include/libgoffice-0.8/goffice/utils/regutf8.h:36: note: previous
> definition of 'REG_EEND' was here
> /usr/include/regex.h:344: error: redeclaration of enumerator 'REG_ESIZE'
> /usr/include/libgoffice-0.8/goffice/utils/regutf8.h:37: note: previous
> definition of 'REG_ESIZE' was here
> /usr/include/regex.h:346: error: redeclaration of enumerator
> 'REG_ERPAREN'
> /usr/include/libgoffice-0.8/goffice/utils/regutf8.h:39: note: previous
> definition of 'REG_ERPAREN' was here
> .
> .
> I rolled back to libgoffice-0.4 (uninstalled libgoffice-0-8-dev and
> installed libgoffice-0-dev), re-ran configure and then compilation
> completes without errors. There is clearly a duplicate definition
> (which appears to be present in both versions 0.4 and 0.8): a named
> enumeration in regex.h, and an almost identical unnamed one in
> regutf8.h. Why version 0.4 compiles and version 0.8 does not is a real
> mystery. Interestingly, if I simply comment out the duplicate
> definition in the version 0.8 copy of regutf8.h, then GC also compiles
> without errors. Since I couldn't bring myself to permanently modify a
> system include file, I opted to use version 0.4.
>
> 2) Linking failed with a bunch of "entry point not found errors" until
> I manually removed old copies of the GC libraries (from
> usr/local/lib/gnucash). Note that "make uninstall" does NOT remove
> them and re-compiling does not overwrite the old copies. You need to
> first delete them, then make will generate new ones in their place.
>
> Stephen R. Besch
>
>
>
> Sebastian Held wrote:
>> I'd guess a recompile should fix this.
>>
>> Sebastian
>>
>> Am Samstag 31 Oktober 2009 06:31:32 schrieb rmisk:
>>
>>> I had GC 2.3.7 compiled and running in Jaunty but upgrading to
>>> Karmic has
>>> caused a problem where Gnucash no longer starts. I get the following
>>> error:
>>>
>>> gnucash-bin: error while loading shared libraries:
>>> libgoffice-0.6.so.6 (No
>>> such file)
>>>
>>> Any suggestions on how to fix this.
>>>
>>> Thanks,
>>> Roger
>>>
>>>
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> -----
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
>>
>>
>>
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.424 / Virus Database: 270.14.47/2478 - Release Date: 11/03/09 07:36:00
>
>
More information about the gnucash-user
mailing list