Hi all,

Someone on irc brought to my attention he could not install wxPerl on Kubuntu. Since I've done so recently on Ubuntu I did some tests and found out that Wx 0.85 does not play well with libwxgtk2.8-dev.

Installing Wx 0.84 works fine.

I recently build Wx 0.85 on another linux distro where I had to build wxWidgets myself and there it worked fine so I'm pretty sure it's a combo with the prebuild binaries from *buntu/debian.

Here's a bit of the error output:

(BTW: the output on all builds is filled with these messages:
  "Unrecognized argument in LIBS ignored: '-Wl,-Bsymbolic-functions'"
"RichText.c:12098: warning: deprecated conversion from string constant to 'char*'
)


Writing 'cpp/ovl_const.h'.
Writing 'cpp/ovl_const.cpp'.
touch overload
make[1]: Entering directory `/root/.cpan/build/Wx-0.85/ext'
make[2]: Entering directory `/root/.cpan/build/Wx-0.85/ext/richtext'
cp lib/Wx/RichText.pm ../../blib/lib/Wx/RichText.pm
/usr/bin/perl /usr/share/perl/5.8.8/ExtUtils/xsubpp -noprototypes -nolinenumbers -typemap /usr/share/perl/5.8/ExtUtils/typemap -typemap ../../typemap -typemap typemap RichText.xs > RichText.xsc && mv RichText.xsc RichText.c g++ -c -I. -I../.. -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -pthread -O2 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib/perl/5.8/CORE" -DWXPL_EXT -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ RichText.c
In file included from RichText.c:81:
cpp/richtextctrl.h: In function `double richtextctrl_constant(const char*, int)`: cpp/richtextctrl.h:69: error: `wxRICHTEXT_HANDLER_CONVERT_FACENAMES` was not declared in this scope cpp/richtextctrl.h:181: error: `wxTEXT_ATTR_KEEP_FIRST_PARA_STYLE` was not declared in this scope
RichText.c: In function `void boot_Wx__RichText(PerlInterpreter*, CV*)`:
RichText.c:12098: warning: deprecated conversion from string constant to `char*`

[snip]

make[2]: *** [RichText.o] Error 1
make[2]: Leaving directory `/root/.cpan/build/Wx-0.85/ext/richtext'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/root/.cpan/build/Wx-0.85/ext'
make: *** [subdirs] Error 2
 /usr/bin/make  -- NOT OK
Running make test
 Can't test without successful make
Running make install
 make had returned bad status, install seems impossible

If more input is needed please ask...

Cheers,
Huub Peters

Reply via email to