Wx is not installed for some reason

cpan Alien::wxWidgets  Wx Wx::Scintilla


2011/11/25 Bo Johansson <bo.johans...@lsn.se>

>   Hej!
>
> I am trying to install Padre.
>
> I have done:
>
> 1) Installed: strawberry-perl-5.14.2.0-32bit.msi
> =======================================
>
> 2) Run cpan> instal Padre
> ======================
>
> Got a number of errors. (Did not write the output to a file)
>
> End of output from the command window:
>
> Files=43, Tests=575, 16 wallclock secs ( 0.44 usr +  0.05 sys =  0.48 CPU)
> Result: FAIL
> Failed 22/43 test programs. 4/575 subtests failed.
> dmake.EXE:  Error code 130, while making 'test_dynamic'
>   PLAVEN/Padre-0.92.tar.gz
> 3 dependencies missing (Wx,Wx::Scintilla,Wx::Perl::ProcessStream);
> additionally
> test harness failed
>   C:\strawberry\c\bin\dmake.EXE test -- NOT OK
> //hint// to see the cpan-testers results for installing this module, try:
>   reports PLAVEN/Padre-0.92.tar.gz
> Running make install
>   make test had returned bad status, won't install without force
> Failed during this command:
> MDOOTSON/Wx-0.9903.tar.gz                    : make_test NO
> AZAWAWI/Wx-Scintilla-0.34.tar.gz             : make NO
> MDOOTSON/Wx-Perl-ProcessStream-0.30.tar.gz   : make_test NO one dependency
> not
> OK (Wx); additionally test harness failed
> PLAVEN/Padre-0.92.tar.gz                     : make_test NO 3 dependencies
> miss
> ing (Wx,Wx::Scintilla,Wx::Perl::ProcessStream); additionally test harness
> failed
>
> 3) Tried to solve the problem by running cpan> install Wx
> ================================================
>
> The test “strawberry/cpan/build/Wx-0.9903-gR1NlX/ext/dnd/t/04_threads.t”
> is failing!?
>
> End of output:
>
> C:\Strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
> "test_harness(0,
> '..\..\blib\lib', '..\..\blib\arch')" t/*.t
> t/01_load.t ......... ok
> t/02_inheritance.t .. ok
> t/03_pldatabject.t .. ok
> t/04_threads.t ...... 1/4 panic: del_backref during global destruction.
> t/04_threads.t ...... Dubious, test returned 9 (wstat 2304, 0x900)
> All 4 subtests passed
>
> Test Summary Report
> -------------------
> t/04_threads.t    (Wstat: 2304 Tests: 4 Failed: 0)
>   Non-zero exit status: 9
> Files=4, Tests=15,  1 wallclock secs ( 0.09 usr +  0.01 sys =  0.11 CPU)
> Result: FAIL
> Failed 1/4 test programs. 0/15 subtests failed.
> dmake:  Error code 137, while making 'test_dynamic'
> dmake:  Error code 255, while making 'subdirs-test'
> dmake.EXE:  Error code 255, while making 'subdirs-test'
>   MDOOTSON/Wx-0.9903.tar.gz
>   C:\strawberry\c\bin\dmake.EXE test -- NOT OK
> //hint// to see the cpan-testers results for installing this module, try:
>   reports MDOOTSON/Wx-0.9903.tar.gz
> Running make install
>   make test had returned bad status, won't install without force
> Failed during this command:
> MDOOTSON/Wx-0.9903.tar.gz                    : make_test NO
>
> (end of log)
>
>
> 4) Tried to see if it was possible to install  Wx::Scintilla and run cpan>
> install  Wx::Scintilla
> ===========================================================================
>
> Got some compilation erros, see below!
>
> End of output:
>
>   CPAN.pm: Building A/AZ/AZAWAWI/Wx-Scintilla-0.34.tar.gz
>
> Checking prerequisites...
>   build_requires:
>     !  Wx is not installed
>
> ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the
> versions
> of the modules indicated above before proceeding with this installation
>
> Created MYMETA.yml and MYMETA.json
> Creating new 'Build' script for 'Wx-Scintilla' version '0.34'
> ---- Unsatisfied dependencies detected during ----
> ----     AZAWAWI/Wx-Scintilla-0.34.tar.gz     ----
>     Wx [build_requires]
> Running Build test
>   Delayed until after prerequisites
> Running Build install
>   Delayed until after prerequisites
> Running install for module 'Wx'
> Running make install
>   make test had returned bad status, won't install without force
> Running Build for A/AZ/AZAWAWI/Wx-Scintilla-0.34.tar.gz
>   Has already been unwrapped into directory
> C:\strawberry\cpan\build\Wx-Scintill
> a-0.34-rqQMuL
>
>   CPAN.pm: Building A/AZ/AZAWAWI/Wx-Scintilla-0.34.tar.gz
>
> Tries to build Wx … and then   Wx-Scintilla
>
> Warning: Prerequisite 'Wx => 0' for 'AZAWAWI/Wx-Scintilla-0.34.tar.gz'
> failed wh
> en processing 'MDOOTSON/Wx-0.9903.tar.gz' with 'make_test => NO'.
> Continuing, bu
> t chances to succeed are limited.
>     CC -o scintilladll_Accessor.o
>     CC -o scintilladll_AutoComplete.o
>     CC -o scintilladll_CallTip.o
>     CC -o scintilladll_Catalogue.o
>     CC -o scintilladll_CellBuffer.o
>     CC -o scintilladll_CharacterSet.o
>     CC -o scintilladll_CharClassify.o
>     CC -o scintilladll_ContractionState.o
> wx-scintilla/src/scintilla/src/Partitioning.h: In member function 'int
> Contracti
> onState::LinesDisplayed() const':
> wx-scintilla/src/scintilla/src/Partitioning.h:151: warning: assuming
> signed over
> flow does not occur when assuming that (X - c) > X is always false
>     CC -o scintilladll_Decoration.o
>
> … some lines removed ...
>
>
>     CC -o scintilladll_scintilla.o
>     CC -o wxmsw28u_scintilla_gcc.dll
> Creating library file: libwxmsw28u_scintilla.a
>     Scintilla.xs -> Scintilla.c
>     CC -o Scintilla.o
> Scintilla.c:15:23: error: cpp/wxapi.h: No such file or directory
> Scintilla.c:1603:24: error: missing binary operator before token "("
> Scintilla.c:2738:24: error: missing binary operator before token "("
> Scintilla.c:6255:24: error: missing binary operator before token "("
> Scintilla.c:6545:24: error: missing binary operator before token "("
> Scintilla.c:6627:24: error: missing binary operator before token "("
> Scintilla.c:6736:24: error: missing binary operator before token "("
> Scintilla.c:6941:24: error: missing binary operator before token "("
> Scintilla.c:7512:24: error: missing binary operator before token "("
> Scintilla.c:7570:24: error: missing binary operator before token "("
> Scintilla.c:7783:24: error: missing binary operator before token "("
> Scintilla.c:7890:24: error: missing binary operator before token "("
> Scintilla.c:8036:24: error: missing binary operator before token "("
> Scintilla.c:9001:24: error: missing binary operator before token "("
> Scintilla.c:9421:24: error: missing binary operator before token "("
> Scintilla.c:9749:24: error: missing binary operator before token "("
> Scintilla.c:10153:24: error: missing binary operator before token "("
> In file included from Scintilla.c:11355:
> cpp/st_constants.cpp:12:27: error: cpp/constants.h: No such file or
> directory
> Scintilla.c:117: error: expected constructor, destructor, or type
> conversion bef
> ore 'void'
> Scintilla.c:120: error: expected constructor, destructor, or type
> conversion bef
> ore 'void'
> In file included from Scintilla.c:163:
>
> c:\strawberry\c\bin\../lib/gcc/i686-w64-mingw32/4.4.3/../../../../include/c++/4.
> 4.3/exception:35: error: expected declaration before end of line
> Failed with exit code 256
> g++  -c -o Scintilla.o -I. -I -IC:\strawberry\perl\lib/CORE
> -IC:\Strawberry\perl
> \site\lib\Alien\wxWidgets\msw_2_8_12_uni_gcc_3_4\lib
> -IC:\Strawberry\perl\site\l
> ib\Alien\wxWidgets\msw_2_8_12_uni_gcc_3_4\include  -m32  -O2 -mthreads
> -m32 -Os
> -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -DWXUSINGDLL -DNOPCH
> -DNO_GCC_P
> RAGMA   -s -O2 -DWIN32  -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE
> -DPERL_IMPLI
> CIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -s -O2
> -DWXP
> L_EXT -DVERSION=\"0.34\" -DXS_VERSION=\"0.34\" Scintilla.c
>   AZAWAWI/Wx-Scintilla-0.34.tar.gz
>   C:\Strawberry\perl\bin\perl.exe ./Build -- NOT OK
> Running Build test
>   Can't test without successful make
> Running Build install
>   Make had returned bad status, install seems impossible
> Failed during this command:
> MDOOTSON/Wx-0.9903.tar.gz                    : make_test NO
> AZAWAWI/Wx-Scintilla-0.34.tar.gz             : make NO
>
>
> I am using:
> =========
>
> Site configuration information for perl 5.14.2:
>
> Configured by 1 at Thu Oct 27 11:59:21 2011.
>
> Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
>
>   Platform:
>     osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
>     uname='Win32 strawberryperl 5.14.2.0 #1 Thu Oct 27 11:55:28 2011 i386'
>     config_args='undef'
>     hint=recommended, useposix=true, d_sigaction=undef
>     useithreads=define, usemultiplicity=define
>     useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
>     use64bitint=undef, use64bitall=undef, uselongdouble=undef
>     usemymalloc=n, bincompat5005=undef
>   Compiler:
>     cc='gcc', ccflags =' -s -O2 -DWIN32  -DPERL_TEXTMODE_SCRIPTS
> -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
> -fno-strict-aliasing -mms-bitfields',
>     optimize='-s -O2',
>     cppflags='-DWIN32'
>     ccversion='', gccversion='4.4.3', gccosandvers=''
>     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
>     d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12
>     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long',
> lseeksize=8
>     alignbytes=8, prototype=define
>   Linker and Libraries:
>     ld='g++', ldflags ='-s -L"C:\strawberry\perl\lib\CORE"
> -L"C:\strawberry\c\lib"'
>     libpth=C:\strawberry\c\lib C:\strawberry\c\i686-w64-mingw32\lib
>     libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32
> -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr
> -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
>     perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32
> -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr
> -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
>     libc=, so=dll, useshrplib=true, libperl=libperl514.a
>     gnulibc_version=''
>   Dynamic Linking:
>     dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
>     cccdlflags=' ', lddlflags='-mdll -s -L"C:\strawberry\perl\lib\CORE"
> -L"C:\strawberry\c\lib"'
>
>
> Hope this can help to find the problems. ( I konw that I can install
> Alien::wxWidgets and Wx as .par)
>
> Best regards
>
> Bo Johansson
>
> _______________________________________________
> Padre-dev mailing list
> Padre-dev@perlide.org
> http://mail.perlide.org/mailman/listinfo/padre-dev
>
>
_______________________________________________
Padre-dev mailing list
Padre-dev@perlide.org
http://mail.perlide.org/mailman/listinfo/padre-dev

Reply via email to