[Padre-dev] Trouble building on CentOS 6.2

James H jameshofo at gmail.com
Tue Feb 28 06:48:50 PST 2012


Hey Ahmad,

> 2.8.x. wxWidgets already comes with an older version of STC and

Right and I just tried to build wxWidgets with

make clean
make uninstall
./configure --with-opengl --enable-listctrl --enable-mediactrl --enable-stc
make
make install

ldconfig

# ./Build clean
Cleaning up build files
# perl Build.PL
wxWidgets 2.8.10 seems to be installed in '/usr/local', so it should be safe to
answer 'no' to the following question:

Do you want to fetch and build wxWidgets from sources? [no ]
no
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Alien-wxWidgets' version '0.54'

# ./Build
Building Alien-wxWidgets
'stc' library not found: some functionality will be missing
(this will build test and install properly though)
# cpan Wx::STC
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
  Database was generated on Tue, 28 Feb 2012 13:12:43 GMT
Wx::STC is up to date (0.01).

I don't know where to get the source to Wx::STC separate from Wx but I
haven't found it yet.


I'm just learning that the test output is more informative than I had
previously thought.

# ./Build
Output Omited (if this is useful let me know)
#

# ./Build test
Building Wx-Scintilla
t/01_load.t .......... Can't load
'/root/.cpan/build/Wx-Scintilla-0.36-ZYhTZL/blib/arch/auto/Wx/Scintilla/Scintilla.so'
for module Wx::Scintilla:
/root/.cpan/build/Wx-Scintilla-0.36-ZYhTZL/blib/arch/auto/Wx/Scintilla/libwx_gtk2u_scintilla-2.8.11.so:
undefined symbol: _ZN8wxWindow12ApplyToolTipEP12_GtkTooltipsPKc at
/usr/lib64/perl5/DynaLoader.pm line 200.
 at t/01_load.t line 11.
Compilation failed in require at t/01_load.t line 11.
BEGIN failed--compilation aborted at t/01_load.t line 11.
t/01_load.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests
t/02_inheritance.t ... Can't load
'/root/.cpan/build/Wx-Scintilla-0.36-ZYhTZL/blib/arch/auto/Wx/Scintilla/Scintilla.so'
for module Wx::Scintilla:
/root/.cpan/build/Wx-Scintilla-0.36-ZYhTZL/blib/arch/auto/Wx/Scintilla/libwx_gtk2u_scintilla-2.8.11.so:
undefined symbol: _ZN8wxWindow12ApplyToolTipEP12_GtkTooltipsPKc at
/usr/lib64/perl5/DynaLoader.pm line 200.
 at t/02_inheritance.t line 15.
Compilation failed in require at t/02_inheritance.t line 15.
BEGIN failed--compilation aborted at t/02_inheritance.t line 15.
# Looks like your test exited with 2 before it could output anything.
t/02_inheritance.t ... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/03_editor.t ........ Can't load
'/root/.cpan/build/Wx-Scintilla-0.36-ZYhTZL/blib/arch/auto/Wx/Scintilla/Scintilla.so'
for module Wx::Scintilla:
/root/.cpan/build/Wx-Scintilla-0.36-ZYhTZL/blib/arch/auto/Wx/Scintilla/libwx_gtk2u_scintilla-2.8.11.so:
undefined symbol: _ZN8wxWindow12ApplyToolTipEP12_GtkTooltipsPKc at
/usr/lib64/perl5/DynaLoader.pm line 200.
 at t/03_editor.t line 23.
Compilation failed in require at t/03_editor.t line 23.
BEGIN failed--compilation aborted at t/03_editor.t line 23.
t/03_editor.t ........ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/03_editor_child.t .. Can't load
'/root/.cpan/build/Wx-Scintilla-0.36-ZYhTZL/blib/arch/auto/Wx/Scintilla/Scintilla.so'
for module Wx::Scintilla:
/root/.cpan/build/Wx-Scintilla-0.36-ZYhTZL/blib/arch/auto/Wx/Scintilla/libwx_gtk2u_scintilla-2.8.11.so:
undefined symbol: _ZN8wxWindow12ApplyToolTipEP12_GtkTooltipsPKc at
/usr/lib64/perl5/DynaLoader.pm line 200.
 at t/03_editor_child.t line 23.
Compilation failed in require at t/03_editor_child.t line 23.
BEGIN failed--compilation aborted at t/03_editor_child.t line 23.
t/03_editor_child.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run

Test Summary Report
-------------------
t/01_load.t        (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/02_inheritance.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/03_editor.t      (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/03_editor_child.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=4, Tests=0,  1 wallclock secs ( 0.02 usr  0.00 sys +  0.33 cusr
0.05 csys =  0.40 CPU)
Result: FAIL
Failed 4/4 test programs. 0/0 subtests failed.


and of course everything after this fails.

On Tue, Feb 28, 2012 at 8:39 AM, Ahmad Zawawi <ahmad.zawawi at gmail.com> wrote:
> Hi,
>
> Wx::Scintilla is the Scintilla editor component backport for wxWidgets
> 2.8.x. wxWidgets already comes with an older version of STC and
> Wx::Scintilla provides the latest stable Scintilla.
>
> Could you provide a more detailed output?
>
> Thanks,
> Ahmad
>
> 2012/2/26 James H <jameshofo at gmail.com>:
>> Claudio,
>>
>> thanks for the quick response!
>>
>> I just rebuild with Wx-0.9903-yI1Gub
>>
>> I also rebuilt Wx-Scintilla that fails its test report, What are those
>> for anyway?
>>
>> Wx-Scintilla-0.36
>>
>> Test Summary Report
>> -------------------
>> t/01_load.t        (Wstat: 512 Tests: 0 Failed: 0)
>>  Non-zero exit status: 2
>>  Parse errors: Bad plan.  You planned 1 tests but ran 0.
>> t/02_inheritance.t (Wstat: 512 Tests: 0 Failed: 0)
>>  Non-zero exit status: 2
>>  Parse errors: No plan found in TAP output
>> t/03_editor.t      (Wstat: 512 Tests: 0 Failed: 0)
>>  Non-zero exit status: 2
>>  Parse errors: No plan found in TAP output
>> t/03_editor_child.t (Wstat: 512 Tests: 0 Failed: 0)
>>  Non-zero exit status: 2
>>  Parse errors: No plan found in TAP output
>> Files=4, Tests=0,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.32 cusr
>> 0.05 csys =  0.40 CPU)
>> Result: FAIL
>> Failed 4/4 test programs. 0/0 subtests failed.
>> [root at Cdesk Wx-Scintilla-0.36-a2Q6br]# pwd
>> /root/.cpan/build/Wx-Scintilla-0.36-a2Q6br
>>
>>
>> Also I did make sure that wxGTK-devel was installed as indicated on
>> the install page even though I didn't install from RPM
>>
>> Installed Packages
>> wxGTK.x86_64                                       2.8.12-1.el6.rf
>>                        @rpmforge
>> wxGTK-devel.x86_64                             2.8.12-1.el6.rf
>>                    @rpmforge
>> Available Packages
>> wxGTK.i686                                         2.8.12-1.el6
>>                        epel
>> wxGTK-devel.i686                               2.8.12-1.el6
>>                    epel
>> wxGTK-gl.i686                                     2.8.12-1.el6
>>                       epel
>> wxGTK-gl.x86_64                                2.8.12-1.el6
>>                    epel
>> wxGTK-media.i686                               2.8.12-1.el6
>>                    epel
>> wxGTK-media.x86_64                             2.8.12-1.el6
>>                    epel
>> [root at Cdesk Wx-Scintilla-0.36-a2Q6br]#
>>
>>
>>
>>
>> On Sun, Feb 26, 2012 at 6:25 AM, Claudio Ramirez
>> <padre.claudio at apt-get.be> wrote:
>>> On Sun, Feb 26, 2012 at 12:22 PM, James H <jameshofo at gmail.com> wrote:
>>>> Hello all I've run into some problems trying to build Padre .94 on my
>>>> CentOS 6.2 64 install
>>>>
>>>
>>> Hi James,
>>>
>>> It looks like a problem we had a while ago on Ubuntu (I think 11.04).
>>> The solution was to re-build Wx.pm (cpan Wx). Can you try that?
>>>
>>> C.
>>> _______________________________________________
>>> Padre-dev mailing list
>>> Padre-dev at perlide.org
>>> http://mail.perlide.org/mailman/listinfo/padre-dev
>> _______________________________________________
>> Padre-dev mailing list
>> Padre-dev at perlide.org
>> http://mail.perlide.org/mailman/listinfo/padre-dev
> _______________________________________________
> Padre-dev mailing list
> Padre-dev at perlide.org
> http://mail.perlide.org/mailman/listinfo/padre-dev


More information about the Padre-dev mailing list