[Build error] swig-runtime.h: No such file or directory

Derek Atkins warlord at MIT.EDU
Mon Mar 28 11:59:54 EDT 2011


Hi,

Manfred Usselmann <usselmann.m at icg-online.de> writes:

> Hi Rohan,
>
> I had the same error yesterday, but thought it was due to me using git.
>
> After a 'make dist' the file was there and the build succeeded.
>
> Maybe it is at least a workaround until this is permanently fixed.
>
> Regards,
> Manfred
>
>
> On Sun, 27 Mar 2011 00:52:19 +0530
> Rohan Kulkarni <kulkarni.rohan.p at gmail.com> wrote:
>
>> Hi,
>> 
>> I am trying to build the latest source 2.4.x of gnucash, downloaded 
>> through svn checkout.
>> The dependencies are all resolved but I get the following error
>> during 'make'
>> 
>> gnc-hooks.c:30: fatal error: swig-runtime.h: No such file or directory
>> 
>> I am installing gnucash on Ubuntu 10.10, using the swig version 1.3.40
>> 
>> Any suggestion on fixing the error?

This has been fixed in SVN as of r20499.

The issue was that '.' was removed from SUBDIRS, so it wasn't building
swig-runtime.h early enough.

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list