Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Perl QtCore4 won't install

by Anonymous Monk
on Oct 29, 2012 at 16:03 UTC ( #1001387=note: print w/replies, xml ) Need Help??

in reply to Perl QtCore4 won't install

Replies are listed 'Best First'.
Re^2: Perl QtCore4 won't install
by PoliceCoP (Acolyte) on Oct 29, 2012 at 22:46 UTC

    Thanks for the pointer. I followed the steps described here, by installing the base libraries, then cloning the git repositories and building them. smokegen and smokeqt compile fine, however when I try to make perlqt, i get the following error:

    sudo make Scanning dependencies of target perlqtcore4pm [ 0%] Built target perlqtcore4pm Scanning dependencies of target perlqt4pmlibmkdir [ 0%] Built target perlqt4pmlibmkdir Scanning dependencies of target perlqt4pmlibsubdir [ 0%] Built target perlqt4pmlibsubdir [ 1%] Generating QtCore4.c Scanning dependencies of target perlqtcore4 [ 2%] Building CXX object qtcore/src/CMakeFiles/perlqtcore4.dir/bindi +ng.cpp.o [ 4%] Building CXX object qtcore/src/CMakeFiles/perlqtcore4.dir/handl +ers.cpp.o [ 5%] Building CXX object qtcore/src/CMakeFiles/perlqtcore4.dir/marsh +all_types.cpp.o [ 6%] Building CXX object qtcore/src/CMakeFiles/perlqtcore4.dir/util. +cpp.o /home/sillymoose/Downloads/perlqt/qtcore/src/util.cpp: In function ‘vo +id XS_signal(CV*)’: /home/sillymoose/Downloads/perlqt/qtcore/src/util.cpp:2385:110: warnin +g: format ‘%lu’ expects argument of type ‘long unsigned int’, but arg +ument 3 has type ‘line_t {aka unsigned int}’ [-Wformat] [ 8%] Building CXX object qtcore/src/CMakeFiles/perlqtcore4.dir/QtCor +e4.c.o QtCore4.xs: In function ‘void XS_Qt___internal_sv_obj_info(CV*)’: QtCore4.xs:403:9: warning: format ‘%x’ expects argument of type ‘unsig +ned int’, but argument 2 has type ‘IV {aka long int}’ [-Wformat] Linking CXX shared library ../../blib/arch/auto/QtCore4/ /usr/bin/ld: /home/sillymoose/perl5/perlbrew/perls/perl-5.14.2/lib/5.1 +4.2/x86_64-linux/CORE/libperl.a(op.o): relocation R_X86_64_32S agains +t `PL_sv_yes' can not be used when making a shared object; recompile +with -fPIC /home/sillymoose/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2/x86_64-li +nux/CORE/libperl.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [blib/arch/auto/QtCore4/] Error 1 make[1]: *** [qtcore/src/CMakeFiles/perlqtcore4.dir/all] Error 2 make: *** [all] Error 2

    can you help please?

        AMAZING!! Thank you very much for your help, very much appreciated. I thought it would never work. Enough environment config, I going to do some coding ... Thanks again :)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1001387]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2018-06-21 11:09 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (118 votes). Check out past polls.