[Freewx-maint] Bug#602436: libwxgtk2.8-dev: Cannot compile with WX_UNICODE = 0

Liam Healy lnp at healy.washington.dc.us
Thu Nov 4 20:27:54 UTC 2010


Package: libwxgtk2.8-dev
Version: 2.8.10.1-3+b1
Severity: normal

This is a report against the source package, not the compiled package (I
cannot figure out if filing against the source package is possible).

I need to compile an application that is not unicode-enabled.
Therefore, I need a version of this library compiled without unicode.
I did the following:

apt-get source libwxgtk2.8-dev
sudo aptitude build-dep libwxgtk2.8-dev
Edit debian/rules to set WX_UNICODE ?= 0
cd wxwidgets2.8-2.8.10.1/
dpkg-buildpackage -rfakeroot -uc -us

After a long time and lots of output, this failed.  The only error I can
find in the output is the following:

make[2]: Entering directory
`/tmp/wxwidgets2.8-2.8.10.1/objs_gtk_sh/contrib/src/mmedia'
/tmp/wxwidgets2.8-2.8.10.1/objs_gtk_sh/bk-deps g++ -c -o
mmediadll_vidxanm.o -I./.pch/wxprec_mmediadll -D__WXGTK__
-I../../../../contrib/src/mmedia/../../include -DWXUSINGDLL
-DWXMAKINGDLL_MMEDIA -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/tmp/wxwidgets2.8-2.8.10.1/objs_gtk_sh/lib/wx/include/gtk2-ansi-release-2.8
-I../../../../include -pthread -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DWX_PRECOMP -pthread -Wall -Wundef
-Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -pthread
-I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomeprint-2.2
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -I/usr/include/pango-1.0
-I/usr/include/gail-1.0 -I/usr/include/gtk-2.0
-I/usr/include/freetype2 -I/usr/include/atk-1.0
-I/usr/lib/gtk-2.0/include -I/usr/include/cairo
-I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1
-I/usr/include/libpng12 -g -O2
../../../../contrib/src/mmedia/vidxanm.cpp
../../../../contrib/src/mmedia/vidxanm.cpp:23:27: warning:
X11/Intrinsic.h: No such file or directory
In file included from ../../../../contrib/src/mmedia/vidxanm.cpp:38:
../../../../contrib/src/mmedia/../../include/wx/mmedia/vidbase.h:19:23:
error: ./.pch/wxprec_mmediadll/wx/wxprec.h: No such file or directory
make[2]: *** [mmediadll_vidxanm.o] Error 1

...

make[2]: Leaving directory
`/tmp/wxwidgets2.8-2.8.10.1/objs_gtk_sh/contrib/src/svg'
make[1]: Leaving directory `/tmp/wxwidgets2.8-2.8.10.1/objs_gtk_sh/contrib/src'
touch install-gtk-shared-stamp
dh_testdir
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
dh_install objs_gtk_install/lib/libwx_base*.so.*	usr/lib
dh_installdirs usr/share/lintian/overrides
grep ^libwxbase2.8-0-ansi: debian/lintian-override >
debian/libwxbase2.8-0-ansi/usr/share/lintian/overrides/libwxbase2.8-0-ansi
make: *** [install-wxbase-lib] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2


Is there a fix/workaround for this?
Thank you.

Liam





More information about the Freewx-maint mailing list