On 3/15/10, Nathan Stewart <swarf...@gmail.com> wrote:
> I'm trying to use pyplusplus, and I'm running into what appears to be a
> really old problem fixed by the gccxml-0.9.0+cvs20080525 patch.
>
> I'm running Ubuntu 9.10, gcc-4.4.1, gccxml 0.9.0+cvs20080525. I'm also a
> little confused by the various versions of gccxml out there - the 'official'
> site claims 0.6 is the latest. The language-binding.net site refers to
> version 0.9.

The latest official GCCXML release was indeed 0.6, since then the only
way to get it is to compile and install from sources.

GCCXML version 0.6 is based on gcc-3.6 ( I could be wrong ), while the
current sources are based on gcc-4.2

> Basically pyplusplus has never worked (out of the box or with
> any amount of fiddling) on karmic for me, on any of my machines.
>
> The errors I get are:
>
> Error occured while running GCC-XML: In file included from
> /usr/include/fcntl.h:217,...
> And lots more errors in fctnl2.h ' __builtin_va_arg_pack_len' not declared
> in this scope.
>
> I have tried running GCC-XML w/ gcc-4.2, modifying headers as in some of the
> other posts, to no avail.

I suggest you to take this problem to gccxml mailing list, with
complete gccxml command line invocation. You can find it in the
output, produced by py++. I am sure you will get the help and the
solution. ( I did and it was really quick ).

> Is there anyone with a Karmic box that has this working at all?

I am using and testing py++ and pygccxml on Ubuntu 9.10 32/64
architectures with gcc-4.4.1 as the default compiler.

pygccxml svn contains compiled gccxml for those architectures (
http://pygccxml.svn.sourceforge.net/viewvc/pygccxml/gccxml_bin/v09/ )
and used for testing.

HTH
-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to