Building -2.0.4: Configuration Error

Mark Johnson mrj001 at shaw.ca
Thu Feb 15 12:25:33 EST 2007


Derek Atkins wrote:

> Quoting Mark Johnson <mrj001 at shaw.ca>:
>
>> I did some googling on libffi.  It seems to be included as part of gcc.
>> Is this relevant?
>
>
> No.  Unfortunately it is not relevant..

Sorry, that was unclear of me.  The question of relevance was about the 
bug below, rather than the paragraph above.

>
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23718
>> This was reported against gcc 4.0.0, and you are most likely using 
>> gcc 3.4.6, but it's possible your ffitarget.h is installed in the 
>> wrong location.  Two guesses. You may need to add a "-Iwhateverdir" 
>> to your CFLAGS.  You may need to pass some target/host/build info to 
>> configure.
>
>
> Unlikely..  More likely (check the archives of the gnucash lists)
> you need some libffi development package installed.  Some distributions
> have it packages separately.

Slackware does not have separate -devel packages.  In particular, 
Slackware 11.0 does not have any libffi* packages.

As Rich has indicated in a later post, the file ffitarget.h is at:
/usr/lib/gcc/i486-slackware-linux/3.4.6/include/libffi/ffitarget.h
This is part of the gcc-3.4.6-i486-1 package, quite likely making the 
referenced gcc bug relevant.

Mark



More information about the gnucash-user mailing list