Dear Monks,

I'm running on 64-bit CentOS 6.5 with perlbrew installed. Under perlbew, I've compiled up 5.19.8 as a 64-bit Perl with thread support:

> uname -a Linux localhost.localdomain 2.6.32-431.1.2.0.1.el6.x86_64 #1 SMP Fri D +ec 13 13:06:13 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux > perl -v This is perl 5, version 19, subversion 8 (v5.19.8) built for x86_64-li +nux-thread-multi

My ultimate goal is to get the latest version of Padre running (I currently have Padre 0.96 installed using the system Perl 5.10.1 that comes with CentOS; I can't upgrade Padre via cpan as root for the system, because it requires a newer version of Perl, which is why I'm trying perlbrew).

Using cpan as my normal user, I've updated all the packages that need updating. I am now trying to get Wx installed, but it fails. Here is the last few lines of the build log:

make[1]: Entering directory `/home/myuser/.cpan/build/Wx-0.9922-nFvy2q +/ext' make[2]: Entering directory `/home/myuser/.cpan/build/Wx-0.9922-nFvy2q +/ext/mdi' cp lib/Wx/MDI.pm ../../blib/lib/Wx/MDI.pm Running Mkbootstrap for Wx::MDI () chmod 644 MDI.bs /export/myuser/perl5/perlbrew/perls/perl-5.19.8/bin/perl5.19.8 /export +/myuser/perl5/perlbrew/perls/perl-5.19.8/lib/5.19.8/ExtUtils/xsubpp +-noprototypes -nolinenumbers -typemap /home/myuser/perl5/perlbrew/pe +rls/perl-5.19.8/lib/5.19.8/ExtUtils/typemap -typemap ../../typemap -t +ypemap typemap MDI.xs > MDI.xsc && mv MDI.xsc MDI.c g++ -pthread -c -I. -I../.. -I/usr/lib/wx/include/gtk2-unicode-rele +ase-2.8 -I/usr/include/wx-2.8 -D_REENTRANT -D_GNU_SOURCE -fno-strict +-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_S +OURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.01\" -DXS_VERSION=\" +0.01\" -fPIC "-I/home/myuser/perl5/perlbrew/perls/perl-5.19.8/lib/5.1 +9.8/x86_64-linux-thread-multi/CORE" -DWXPL_EXT -D_FILE_OFFSET_BITS=6 +4 -D_LARGE_FILES -D__WXGTK__ MDI.c rm -f ../../blib/arch/auto/Wx/MDI/MDI.so LD_RUN_PATH="/usr/lib" g++ -shared -fPIC -shared -O2 -fstack-prote +ctor MDI.o -o ../../blib/arch/auto/Wx/MDI/MDI.so \ -lpthread -lwx_gtk2u_core-2.8 -lwx_baseu-2.8 \ /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4. +4.7/../../../libwx_gtk2u_core-2.8.so when searching for -lwx_gtk2u_co +re-2.8 /usr/bin/ld: skipping incompatible /usr/lib/libwx_gtk2u_core-2.8.so wh +en searching for -lwx_gtk2u_core-2.8 /usr/bin/ld: cannot find -lwx_gtk2u_core-2.8 collect2: ld returned 1 exit status make[2]: *** [../../blib/arch/auto/Wx/MDI/MDI.so] Error 1 make[2]: Leaving directory `/home/myuser/.cpan/build/Wx-0.9922-nFvy2q/ +ext/mdi' make[1]: *** [subdirs] Error 2 make[1]: Leaving directory `/home/myuser/.cpan/build/Wx-0.9922-nFvy2q/ +ext' make: *** [subdirs] Error 2 MDOOTSON/Wx-0.9922.tar.gz /usr/bin/make -- NOT OK Failed during this command: MDOOTSON/Wx-0.9922.tar.gz : make NO

I have wxGTK-devel installed:

> rpm -qa | grep wxGTK wxGTK-2.8.12-1.el6.rf.i686 wxGTK-2.8.12-1.el6.rf.x86_64 wxGTK-devel-2.8.12-1.el6.rf.i686

Does anyone have any ideas about what might be my problem? I've tried to find something via Google, but I haven't been successful.


In reply to Unable to install Wx by Specus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.