compile error about ./src/swig-runtime.h...

John Ralls jralls at ceridwen.us
Fri Aug 5 09:41:06 EDT 2016


> On Aug 4, 2016, at 3:01 PM, Christian <chris at computersalat.de> wrote:
> 
> Hi,
> 
> trying to build (update my gnucash RPM from 2.6.12 to 2.6.13) but
> running into this problem:
> 
> [   59s] checking if building from an scm managed directory... no
> [   59s] checking for ./src/swig-runtime.h... no
> [   59s] configure: error:
> [   59s]
> [   59s] It looks like you are NOT building from Subversion, svk, git or bzr
> [   59s] but I cannot find swig-runtime.h.  Check your PATH and make sure
> [   59s] we can find gnc-vcs-info in your PATH!
> [   59s] Either that or contact gnucash-devel at gnucash.org because
> [   59s] the tarball you downloaded is broken.
> [   59s]
> [   59s]
> [   59s] error: Bad exit status from /var/tmp/rpm-tmp.b5xJgU (%build)
> 
> How can I fix it ?
> The previous tarball had the missing file ... the current not.
> Thank you

I guess that you got the tarball from Github this time and from SourceForge last time. The Github release process creates the tarball from the repository automatically--you can actually get a tarball for any commit from Github--while the SourceForge tarballs are generated from a repository using `make dist`, which runs swig to generate the bindings so that it needs only compilation.

The easiest solution is to download the tarball from SourcForge.

Regards,
John Ralls




More information about the gnucash-devel mailing list