I installed all necessary dependencies for Qt4. Module Alien::QtSmoke is only an optional pre requisite. That is what, running "perl Build.PL" is telling.
Then i ran "./Build". Now errors are coming. I am copying it here.
---------------------------------------------------------------------------------------------------------------------
[user@user Qt4-0.60_b1]$ ./Build
gcc -Isrc -I/usr/lib64/perl5/CORE -fPIC -std=gnu++98 -Wall -xc++ -I. -DQT_SHARED -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/QtXml -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -o src/marshall_types.o src/marshall_types.cpp
In file included from src/marshall_types.cpp:7:
src/marshall_types.h:10:20: error: EXTERN.h: No such file or directory
src/marshall_types.h:11:18: error: perl.h: No such file or directory
src/marshall_types.h:12:18: error: XSUB.h: No such file or directory
In file included from src/marshall_types.h:13,
from src/marshall_types.cpp:7:
src/ppport.h:2640:28: error: patchlevel.h: No such file or directory
src/ppport.h:2643:48: error: could_not_find_Perl_patchlevel.h: No such file or directory
In file included from src/marshall_types.h:13,
from src/marshall_types.cpp:7:
src/ppport.h:3391: error: expected initializer before ‘*’ token
src/ppport.h:3433: error: expected initializer before ‘*’ token
src/ppport.h:3464: error: variable or field ‘CAT2’ declared void
src/ppport.h:3464: error: ‘DPPP_’ was not declared in this scope
src/ppport.h:3464: error: ‘my_newCONSTSUB’ was not declared in this scope
src/ppport.h:3652: warning: ‘CAT2’ initialized and declared ‘extern’
src/ppport.h:3652: error: ‘DPPP_’ was not declared in this scope
src/ppport.h:3652: error: ‘my_sv_2pv_nolen’ was not declared in this scope
src/ppport.h:3652: error: initializer expression list treated as compound expression
src/ppport.h:3652: error: expected ‘,’ or ‘;’ before ‘(’ token
src/ppport.h:4372: warning: ‘CAT2’ initialized and declared ‘extern’
src/ppport.h:4372: error: conflicting declaration ‘bool CAT2’
src/ppport.h:3652: error: ‘CAT2’ has a previous declaration as ‘char* CAT2’
src/ppport.h:4372: error: ‘DPPP_’ was not declared in this scope
src/ppport.h:4372: error: ‘my_grok_numeric_radix’ was not declared in this scope
src/ppport.h:4430: warning: ‘CAT2’ initialized and declared ‘extern’
src/ppport.h:4430: error: conflicting declaration ‘int CAT2’
src/ppport.h:3652: error: ‘CAT2’ has a previous declaration as ‘char* CAT2’
src/ppport.h:4430: error: ‘DPPP_’ was not declared in this scope
src/ppport.h:4430: error: ‘my_grok_number’ was not declared in this scope
src/ppport.h:4644: error: ‘UV’ does not name a type
src/ppport.h:4746: error: ‘UV’ does not name a type
src/ppport.h:4848: error: ‘UV’ does not name a type
In file included from src/marshall_types.h:15,
from src/marshall_types.cpp:7:
src/marshall.h:21: error: ISO C++ forbids declaration of ‘SV’ with no type
src/marshall.h:21: error: ‘SV’ declared as a ‘virtual’ field
src/marshall.h:21: error: expected ‘;’ before ‘*’ token
In file included from src/marshall_types.h:17,
from src/marshall_types.cpp:7:
src/smokeperl.h:17: error: ‘SV’ has not been declared
src/smokeperl.h:17: error: ‘SV’ has not been declared
src/smokeperl.h:28: error: ‘sv_obj_info’ declared as an ‘inline’ variable
src/smokeperl.h:28: error: ‘SV’ was not declared in this scope
src/smokeperl.h:28: error: ‘sv’ was not declared in this scope
src/smokeperl.h:28: error: expected ‘,’ or ‘;’ before ‘{’ token
error building src/marshall_types.o from 'src/marshall_types.cpp' at /usr/share/perl5/ExtUtils/CBuilder/Base.pm line 175.
---------------------------------------------------------------------------------------------------------------------
I have seen similar errors in CPAN testers report. (
http://www.cpantesters.org/cpan/repo...7-601d06264d1f). But nowhere i have seen a solution for this problem.
Can anyone help?
...