Jörg Sommer wrote:
> Neil Williams schrieb am Sat 12. Aug, 11:49 (+0100):
>> GnuCash will
>> automatically detect libgoffice-1-dev and libgsf-1-dev installations and
>> use the associated libraries instead of building the code in
>> lib/goffice* and lib/libgsf*.
> 
> Is this valid for libqof-dev, true? I've installed it, but it configure
> says: "configure: External QOF Disabled.  Using Internal QOF Code."

No. That is an old message, I guess it should read:

"configure: External QOF is incompatible with internal fork. Ignoring."

GnuCash no longer keeps up to date with libqof1 and instead gnc upstream
maintain a separate fork of the code (libgncqof) that has been modified
to be incompatible with libqof1 without causing a conflict when the two
are installed together. At some point, upstream will cease checking for
external QOF.

> I've build GC 2.0.1 

(note: GC can easily be confused with gcc, use 'gnc' to abbreviate gnucash)

> Are these gnc* files external files? I found them in src/.

No, but your build messages are non-standard. Why have you got so many
flags set?

CFLAGS ............... : -O2 -Wall -Wformat=2 -Wunused -Wundef -Wextra
-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2

You should have:

  CFLAGS ............... :  -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations   -Wdeclaration-after-statement -Wno-pointer-sign
-D_FORTIFY_SOURCE=2

You've got -Wall twice, you've got -Wundef -Wextra, -Wunused twice.

I see now you mentioned originally:
> compiling gnucash with -Wall and -Wextra brings some warnings like this:

So, here's a new start for this bug:
1. -Wall is already set, don't set it again.
2. -Wextra is *not supported* by gnucash and errors are to be expected.
Don't use it.

> Because the build log is really big (3.7MB) I put it at
> http://www.minet.uni-jena.de/~joergs/gc.build.log

Compare with the Debian build log for powerpc:

http://buildd.debian.org/fetch.php?&pkg=gnucash&ver=2.0.1-1&arch=powerpc&stamp=1155098349&file=log&as=raw

I'd recommend using the default gnc build environment - especially the
compiler flags - and talking to gnucash-devel if you have a particular
need for extra compiler options.

You only have a problem because of extra compiler flags that are *not
supported* upstream. Please explain, in detail, why you must have these
compiler flags and I will forward this bug upstream to see what response
it gets. Without such reasoning, I'm going to have to close this bug as
"wontfix".

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to