Compiling on Fedora25

Mike Evans mikee at
Sat Apr 15 04:24:44 EDT 2017

Hi All

Finally upgraded to Fedora25 64 bit and trying to compile GnuCash maint.

Having run:

sudo dnf builddep gnucash -y
sudo dnf install texinfo git intltool libdbi-devel guile-devel doxygen webkitgtk-devel -y

Using autotools with 

configure --enable-debug --prefix=$HOME/progs/gnucash --enable-debug --enable-doxygen --enable-error-on-warning --enable-compile-warnings

I get: 

swig-unittest-support-guile.c: In function ‘SWIG_Guile_ConvertPtr’:
swig-unittest-support-guile.c:895:14: error: implicit declaration of function ‘SCM_POINTER_P’ [-Werror=implicit-function-declaration]
   } else if (SCM_POINTER_P(s)) {
swig-unittest-support-guile.c:896:15: error: implicit declaration of function ‘SCM_POINTER_VALUE’ [-Werror=implicit-function-declaration]
     *result = SCM_POINTER_VALUE(s);
swig-unittest-support-guile.c:896:13: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
     *result = SCM_POINTER_VALUE(s);

This is with guile (GNU Guile) 2.0.13 from the Fedora repos.

Compiling using cmake I get a different error messages:

In file included from /usr/include/sys/types.h:25:0,
                 from /home/mikee/Projects/gnucash/src/libqof/qof/md5.c:27:
/usr/include/features.h:331:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)

Any thoughts?

Regards Mike E

More information about the gnucash-devel mailing list