[Kde-perl] [Kde-bindings] FTBFS; perlqt4 and Smoke Missing Method Errors

Jonathan Yu frequency at cpan.org
Sat Jun 20 03:47:43 CEST 2009


Hmm.

Chris, thanks for the response.

The problem is the Debian packages are borked (not sure why I didn't
see these issues on Kubuntu). Not your fault, I know.

libsmokeqt4-dev contains the headers that I need to compile. BUT they
are headers for libsmokeqt4-1 which is installed as well. It says it
is version 1.4.10, not sure if that's the KDE version. It does say qt4
though......

Unfortunately libsmokeqt-dev (different package) refers to KDE 3.5.10

Hmm. Very interesting indeed.

On Fri, Jun 19, 2009 at 8:46 PM, Chris Burel<chrisburel at gmail.com> wrote:
> Hey Jonathan,
> I think the smoke.h that it's picking up is old.  That's what the
> 'ModuleIndex’ is not a member of ‘Smoke’ business is about.  There's a
> release of QtRuby that still uses the old smoke.h, so maybe that's
> where it's coming from.  Make sure that it's getting the smoke.h from
> the kdebindings release from kde version 4.2.0 or greater. (I'm not
> exactly sure where the ModuleIndex was introduced, but I know I built
> successfully against that version.)
>
> On Sat, Jun 20, 2009 at 9:24 AM, Jonathan Yu<jonathan.i.yu at gmail.com> wrote:
>> Hi all.
>>
>> I'm trying to build my branch of perlqt4, which has built for me
>> successfully in the past, but on a Kubuntu machine. I'm now on a
>> Debian machine. Did something in Smoke change? Am I using the wrong
>> version of libsmoke (there are two available in Debian, I'm using
>> libsmokeqt4-2)
>>
>> Any wisdom you can offer with respect to why these errors are
>> appearing would be great.
>>
>> It also seems that the Build process might be trying to build using a
>> C compiler instead of C++, but judging by the output I don't think
>> that's the case.
>>
>> --
>>
>> wraith:/home/jon/perlqt4/branches/jawnsy# perl Build
>> cc -Isrc -I/usr/lib/perl/5.10/CORE -fPIC -std=gnu++98 -Wall -xc++ -I.
>> -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtGui
>> -I/usr/include/qt4/QtCore -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN
>> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
>> -D_FILE_OFFSET_BITS=64 -O2 -g -o src/handlers.o src/handlers.cpp
>> In file included from src/handlers.cpp:71:
>> src/marshall_macros.h: In function ‘void marshall_ItemList(Marshall*)’:
>> src/marshall_macros.h:69: error: request for member ‘index’ in
>> ‘o->.smoke->.Smoke::idClass(ItemSTR)’, which is of non-class type
>> ‘short int’
>> src/marshall_macros.h: In function ‘void marshall_ValueListItem(Marshall*)’:
>> src/marshall_macros.h:166: error: request for member ‘index’ in
>> ‘o->.smoke->.Smoke::idClass("QVariant")’, which is of non-class type
>> ‘short int’
>> src/marshall_macros.h:188: error: request for member ‘index’ in
>> ‘o->.smoke->.Smoke::idClass(ItemSTR)’, which is of non-class type
>> ‘short int’
>> src/handlers.cpp: In function ‘void invoke_dtor(smokeperl_object*)’:
>> src/handlers.cpp:96: error: request for member ‘index’ in
>> ‘o->smokeperl_object::smoke->Smoke::findMethod(className, ((const
>> char*)methodName))’, which is of non-class type ‘short int’
>> src/handlers.cpp: In function ‘void* construct_copy(smokeperl_object*)’:
>> src/handlers.cpp:124: error: ‘ModuleIndex’ is not a member of ‘Smoke’
>> src/handlers.cpp:124: error: expected `;' before ‘ccId’
>> src/handlers.cpp:130: error: ‘ModuleIndex’ is not a member of ‘Smoke’
>> src/handlers.cpp:130: error: expected `;' before ‘classIdx’
>> src/handlers.cpp:131: error: ‘classIdx’ was not declared in this scope
>> src/handlers.cpp:131: error: ‘ccId’ was not declared in this scope
>> src/handlers.cpp: In function ‘void marshall_basetype(Marshall*)’:
>> src/handlers.cpp:331: error: request for member ‘index’ in
>> ‘o->smokeperl_object::smoke->Smoke::idClass(c->Smoke::Class::className)’,
>> which is of non-class type ‘short int’
>> src/handlers.cpp: In function ‘void marshall_QMapQStringQVariant(Marshall*)’:
>> src/handlers.cpp:1296: error: ‘class Smoke’ has no member named ‘findClass’
>> src/handlers.cpp: In function ‘void marshall_QMapIntQVariant(Marshall*)’:
>> src/handlers.cpp:1380: error: ‘class Smoke’ has no member named ‘findClass’
>> error building src/handlers.o from 'src/handlers.cpp' at
>> /usr/share/perl/5.10/ExtUtils/CBuilder/Base.pm line 109.
>> _______________________________________________
>> Kde-bindings mailing list
>> Kde-bindings at kde.org
>> https://mail.kde.org/mailman/listinfo/kde-bindings
>>
> _______________________________________________
> Kde-bindings mailing list
> Kde-bindings at kde.org
> https://mail.kde.org/mailman/listinfo/kde-bindings
>


More information about the Kde-perl mailing list