Compiling wxWidgets 3.1.1 in Termux

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
igavronski
Knows some wx things
Knows some wx things
Posts: 30
Joined: Mon Jul 15, 2019 12:52 pm

Re: Compiling wxWidgets 3.1.1 in Termux

Post by igavronski » Mon Jul 15, 2019 7:53 pm

DavidHart wrote:
Mon Jul 15, 2019 7:44 pm
BTW, debian have official aarch64 builds that includes wx3.0.4. Even if you can't use that direct, it might be worth looking at how they build it (see the source package's debian/rules). The build process for wx3.1.1 won't be much different.
Hi Dave,
I believe arm64 and aarch64 are different. At least, I tried downloading a .deb for arm64 in the past and dpkg didn't like it.
Thanks anyway.

igavronski
Knows some wx things
Knows some wx things
Posts: 30
Joined: Mon Jul 15, 2019 12:52 pm

Re: Compiling wxWidgets 3.1.1 in Termux

Post by igavronski » Mon Jul 15, 2019 8:11 pm

doublemax wrote:
Mon Jul 15, 2019 7:47 pm
As the errors seem to be xlocale related, you could also try to disable that during configure.
--disable-xlocale
Now with ../configure --with-gtk=2 --enable-cmdline --enable-monolithic --with-expat=builtin --enable-stl --with-sdl --enable-utf8 --enable-utf8only --disable-unsafe_conv_in_wxstring --enable-gui --enable-universal --disable-xlocale

Code: Select all

Configured wxWidgets 3.1.1 for `aarch64-unknown-linux-gnu'

  Which GUI toolkit should wxWidgets use?                 GTK+ 2 with support for GTK+ printing libnotify
  Should wxWidgets be compiled into single library?       yes
  Should wxWidgets be linked as a shared library?         yes
  Should wxWidgets support Unicode?                       yes (using UTF-8)
  What level of wxWidgets compatibility should be enabled?
                                       wxWidgets 2.8      no
                                       wxWidgets 3.0      yes
  Which libraries should wxWidgets use?
                                       STL                yes
                                       jpeg               sys
                                       png                sys
                                       regex              builtin
                                       tiff               sys
                                       zlib               sys
                                       expat              builtin
                                       libmspack          no
                                       sdl                yes

I get the following errors:

Code: Select all

../src/gtk/window.cpp:4381:26: error: cannot initialize a parameter of type 'wxWindow *' with an lvalue of type 'wxWindowGTK *'
    eventFocus.SetWindow(gs_lastFocus);
                         ^~~~~~~~~~~~
../include/wx/event.h:2429:30: note: passing argument to parameter 'win' here
    void SetWindow(wxWindow *win) { m_win = win; }
                             ^
Please find the complete output here:

User avatar
doublemax
Moderator
Moderator
Posts: 14196
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Compiling wxWidgets 3.1.1 in Termux

Post by doublemax » Mon Jul 15, 2019 8:24 pm

I don't know if it's related to the last error, but "--enable-universal" is most likely not what you want.
Use the source, Luke!

igavronski
Knows some wx things
Knows some wx things
Posts: 30
Joined: Mon Jul 15, 2019 12:52 pm

Re: Compiling wxWidgets 3.1.1 in Termux

Post by igavronski » Mon Jul 15, 2019 8:33 pm

While it "makes", what does it mean:
configure: WARNING: backtrace() is not available, wxStackWalker will not be available

configure:31078: checking for backtrace()
configure:31106: g++ -c conftest.cpp >&5
conftest.cpp:97:10: fatal error: 'execinfo.h' file not found
#include <execinfo.h>
^~~~~~~~~~~~
1 error generated.

User avatar
doublemax
Moderator
Moderator
Posts: 14196
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Compiling wxWidgets 3.1.1 in Termux

Post by doublemax » Mon Jul 15, 2019 8:50 pm

Code: Select all

configure: WARNING: backtrace() is not available, wxStackWalker will not be available
It means exactly what it says. The wxWidgets classs "wxStackWalker" will not be available, because your compiler / linux headers do not support the function "backtrace". But this is not a fatal error. Configure just checks if certain features are available or not.
Use the source, Luke!

DavidHart
Site Admin
Site Admin
Posts: 3905
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: Compiling wxWidgets 3.1.1 in Termux

Post by DavidHart » Mon Jul 15, 2019 8:51 pm

I believe arm64 and aarch64 are different. At least, I tried downloading a .deb for arm64 in the past and dpkg didn't like it.
I've no experience of either myself, but the debian link starts with the line:
"This page contains details about the port of Debian to the 64-bit Arm platform (arm64), known in some other places as AArch64"
and your posts mention:
"Configured wxWidgets 3.1.1 for `aarch64-unknown-linux-gnu'"

On a more general note, I suggest you try a far simpler 'configure' line e.g.
../configure --with-gtk=2
In particular monolithic builds are rarely used for wxGTK and so are rarely tested...

igavronski
Knows some wx things
Knows some wx things
Posts: 30
Joined: Mon Jul 15, 2019 12:52 pm

Re: Compiling wxWidgets 3.1.1 in Termux

Post by igavronski » Mon Jul 15, 2019 8:55 pm

DavidHart wrote:
Mon Jul 15, 2019 8:51 pm

On a more general note, I suggest you try a far simpler 'configure' line e.g.
../configure --with-gtk=2
In particular monolithic builds are rarely used for wxGTK and so are rarely tested...
Believe me... I tried this line a week ago. I am struggling since then trying to make it work...
Let me see if @doublemax 's suggestion works out and, if not, I will remove the monolithic thing.

igavronski
Knows some wx things
Knows some wx things
Posts: 30
Joined: Mon Jul 15, 2019 12:52 pm

Re: Compiling wxWidgets 3.1.1 in Termux

Post by igavronski » Mon Jul 15, 2019 9:00 pm

doublemax wrote:
Mon Jul 15, 2019 8:24 pm
I don't know if it's related to the last error, but "--enable-universal" is most likely not what you want.
So, your last suggestion seemed to work now. I will post some of my stuff here, such as the command, env, etc., for future reference.

Thanks so far!

igavronski
Knows some wx things
Knows some wx things
Posts: 30
Joined: Mon Jul 15, 2019 12:52 pm

Re: Compiling wxWidgets 3.1.1 in Termux

Post by igavronski » Mon Jul 15, 2019 9:04 pm

Final configuration command:

../configure --with-gtk=2 --enable-cmdline --enable-monolithic --with-expat=builtin --enable-stl --with-sdl --enable-utf8 --enable-utf8only --disable-unsafe_conv_in_wxstring --enable-gui --disable-xlocale

Code: Select all

$ env
SHELL=/data/data/com.termux/files/usr/bin/bash                                   
WINDOWID=2621442
COLORTERM=rxvt
PREFIX=/data/data/com.termux/files/usr
PWD=/data/data/com.termux/files/home/wxWidgets/gtk/samples/calendar
SDL_CONFIG=sld-config
EXTERNAL_STORAGE=/sdcard
p=/data/data/com.termux/files/usr
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
i=/data/data/com.termux/files/usr/include
LDFLAGS=-llog -v --system-header-prefix=/data/data/com.termux/files/usr
HOME=/data/data/com.termux/files/home
LANG=en_US.UTF-8
TMPDIR=/data/data/com.termux/files/usr/tmp
ANDROID_DATA=/data
TERM=rxvt
COLORFGBG=15;0
DISPLAY=10.0.0.105:0
SHLVL=2
ANDROID_ROOT=/system
LD_LIBRARY_PATH=/data/data/com.termux/files/usr/lib:/data/data/com.termux/files/usr/lib/cairo:/data/data/com.termux/files/usr/lib/engines-1.1:/data/data/com.termux/files/usr/lib/gawk:/data/data/com.termux/files/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders:/data/data/com.termux/files/usr/lib/gtk-2.0/2.10.0/engines:/data/data/com.termux/files/usr/lib/gtk-2.0/2.10.0/immodules:/data/data/com.termux/files/usr/lib/gtk-2.0/2.10.0/printbackends:/data/data/com.termux/files/usr/lib/gtk-2.0/modules:/data/data/com.termux/files/usr/lib/gtk-3.0/3.0.0/immodules:/data/data/com.termux/files/usr/lib/gtk-3.0/3.0.0/printbackends:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/CORE:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/B:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Compress/Raw/Bzip2:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Compress/Raw/Zlib:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Cwd:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Data/Dumper:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Devel/Peek:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Digest/MD5:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Digest/SHA:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Encode/Byte:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Encode/CN:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Encode/EBCDIC:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Encode:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Encode/JP:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Encode/KR:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Encode/Symbol:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Encode/TW:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Encode/Unicode:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Fcntl:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/File/DosGlob:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/File/Glob:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Filter/Util/Call:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Hash/Util/FieldHash:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Hash/Util:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/IO:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/List/Util:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/MIME/Base64:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Math/BigInt/FastCalc:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Opcode:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/POSIX:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/PerlIO/encoding:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/PerlIO/mmap:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/PerlIO/scalar:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/PerlIO/via:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/SDBM_File:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Socket:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Storable:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Sys/Hostname:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Sys/Syslog:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Tie/Hash/NamedCapture:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Time/HiRes:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Time/Piece:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Unicode/Collate:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/Unicode/Normalize:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/attributes:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/mro:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/re:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/threads/shared:/data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android/auto/threads:/data/data/com.termux/files/usr/lib/pulse-12.2/modules:/data/data/com.termux/files/usr/lib/pulseaudio:/data/data/com.termux/files/usr/lib/python3.7/lib-dynload:/data/data/com.termux/files/usr/libexec/coreutils
PATH=/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/applets
CFLAGS=-I/data/data/com.termux/files/usr/include/glib-2.0 -I/data/data/com.termux/files/usr/lib/glib-2.0/include -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/usr/include/cairo -I/data/data/com.termux/files/usr/include/pango-1.0 -I/data/data/com.termux/files/usr/lib/gtk-2.0/include -I/data/data/com.termux/files/usr/include/gdk-pixbuf-2.0 -I/data/data/com.termux/files/usr/include/atk-1.0 -I/data/data/com.termux/files/usr/include/gtk-2.0 -I/data/data/com.termux/files/usr/include/X11/dri -I/data/data/com.termux/files/usr/include/X11/extensions -I/data/data/com.termux/files/usr/include/xcb -I/data/data/com.termux/files/usr/include/SDL2 -I/data/data/com.termux/files/usr/include/gstreamer-1.0 -I/data/data/com.termux/files/usr/include/gstreamer-1.0/gst -I/data/data/com.termux/files/usr/include/gstreamer-1.0/gst/gl/glprototypes
OLDPWD=/data/data/com.termux/files/home/wxWidgets/gtk
_=/data/data/com.termux/files/usr/bin/env

And packages:

Code: Select all

$ apt list --installed
Listing... Done
adwaita-icon-theme/x11,now 3.32.0-1 all [installed,automatic]
apt/now 1.4.9-10 aarch64 [installed,upgradable to: 1.4.9-11]
argp/stable,now 1.3 aarch64 [installed]
aterm/x11,now 1.0.1-10 aarch64 [installed]
atk/x11,now 2.32.0-1 aarch64 [installed,automatic]
atk-dev/x11,now 2.32.0-1 aarch64 [installed]
autoconf/stable,now 2.69 all [installed]
automake/stable,now 1.16.1 all [installed,automatic]
bash/stable,now 5.0.7-2 aarch64 [installed]
bc/stable,now 1.07.1-1 aarch64 [installed,automatic]
binutils/stable,now 2.32-4 aarch64 [installed,automatic]
bison/stable,now 3.4.1 aarch64 [installed,automatic]
build-essential/stable,now 3.1 all [installed]
busybox/stable,now 1.30.1-2 aarch64 [installed]
bzip2/stable,now 1.0.7 aarch64 [installed,automatic]
ca-certificates/stable,now 20190515 all [installed]
clang/stable,now 8.0.0-6 aarch64 [installed,automatic]
cmake/stable,now 3.14.5-2 aarch64 [installed]
command-not-found/stable,now 1.38 aarch64 [installed]
coreutils/stable,now 8.31-3 aarch64 [installed,automatic]
curl/now 7.65.1 aarch64 [installed,upgradable to: 7.65.1-1]
dash/stable,now 0.5.10.2-1 aarch64 [installed]
desktop-file-utils/x11,now 0.23-11 aarch64 [installed,automatic]
diffutils/stable,now 3.7-1 aarch64 [installed,automatic]
dpkg/stable,now 1.19.7 aarch64 [installed]
ed/stable,now 1.15 aarch64 [installed,automatic]
ffmpeg/stable,now 4.1.4 aarch64 [installed,automatic]
ffmpeg-dev/stable,now 4.1.4 aarch64 [installed]
findutils/stable,now 4.6.0-3 aarch64 [installed,automatic]
flex/stable,now 2.6.4 aarch64 [installed,automatic]
fontconfig/stable,now 2.13.1-3 aarch64 [installed,automatic]
fontconfig-dev/stable,now 2.13.1-3 aarch64 [installed]
fontconfig-utils/stable,now 2.13.1-3 aarch64 [installed,automatic]
freeglut/x11,now 3.0.0 aarch64 [installed,automatic]
freeglut-dev/x11,now 3.0.0 aarch64 [installed]
freetype/stable,now 2.10.1 aarch64 [installed,automatic]
freetype-dev/stable,now 2.10.1 aarch64 [installed,automatic]
fribidi/stable,now 1.0.5 aarch64 [installed,automatic]
fribidi-dev/stable,now 1.0.5 aarch64 [installed]
game-repo/stable,now 1.1 all [installed]
gawk/stable,now 5.0.1 aarch64 [installed,automatic]
gdbm/stable,now 1.18.1-1 aarch64 [installed,automatic]
gdk-pixbuf/stable,now 2.38.1-1 aarch64 [installed,automatic]
gdk-pixbuf-dev/stable,now 2.38.1-1 aarch64 [installed]
git/stable,now 2.22.0 aarch64 [installed]
glib/stable,now 2.60.5 aarch64 [installed,automatic]
glib-bin/stable,now 2.60.5 aarch64 [installed,automatic]
glib-dev/stable,now 2.60.5 aarch64 [installed]
glu/x11,now 9.0.0-6 aarch64 [installed]
glu-dev/x11,now 9.0.0-6 aarch64 [installed]
gperf/stable,now 3.1-4 aarch64 [installed,automatic]
gpgv/stable,now 2.2.17 aarch64 [installed]
grep/stable,now 3.3-1 aarch64 [installed,automatic]
gst-plugins-base/stable,now 1.16.0 aarch64 [installed]
gst-plugins-base-dev/stable,now 1.16.0 aarch64 [installed]
gst-plugins-good/stable,now 1.16.0 aarch64 [installed]
gstreamer/stable,now 1.16.0 aarch64 [installed,automatic]
gstreamer-dev/stable,now 1.16.0 aarch64 [installed]
gtk-update-icon-cache/x11,now 3.24.8-2 aarch64 [installed,automatic]
gtk2/x11,now 2.24.32-10 aarch64 [installed,automatic]
gtk2-dev/x11,now 2.24.32-10 aarch64 [installed]
gtk3/x11,now 3.24.8-2 aarch64 [installed,automatic]
gzip/stable,now 1.10-1 aarch64 [installed,automatic]
harfbuzz/stable,now 2.5.3 aarch64 [installed,automatic]
harfbuzz-dev/stable,now 2.5.3 aarch64 [installed,automatic]
hicolor-icon-theme/x11,now 0.17-8 all [installed,automatic]
inotify-tools/stable,now 3.20.1 aarch64 [installed,automatic]
inotify-tools-dev/stable,now 3.20.1 aarch64 [installed]
jbig2dec/unstable,now 0.16 aarch64 [installed,automatic]
jbig2dec-dev/unstable,now 0.16 aarch64 [installed]
jsoncpp/stable,now 1.9.1 aarch64 [installed,automatic]
krb5/stable,now 1.16.3-1 aarch64 [installed,automatic]
ldns/stable,now 1.7.0-5 aarch64 [installed,automatic]
less/stable,now 551 aarch64 [installed,automatic]
libandroid-glob/stable,now 0.4 aarch64 [installed,automatic]
libandroid-shmem/stable,now 0.2 aarch64 [installed,automatic]
libandroid-support/stable,now 25 aarch64 [installed]
libarchive/stable,now 3.4.0 aarch64 [installed,automatic]
libass/stable,now 0.14.0 aarch64 [installed,automatic]
libbz2/stable,now 1.0.7 aarch64 [installed]
libc++/stable,now 20 aarch64 [installed]
libcaca/stable,now 0.99.beta19-5 aarch64 [installed,automatic]
libcairo-x/x11,now 1.16.0-4 aarch64 [installed,automatic]
libcairo-x-dev/x11,now 1.16.0-4 aarch64 [installed,automatic]
libclang-dev/stable,now 8.0.0-6 aarch64 [installed]
libcroco/stable,now 0.6.13-1 aarch64 [installed,automatic]
libcrypt/stable,now 0.2-1 aarch64 [installed,automatic]
libcurl/now 7.65.1 aarch64 [installed,upgradable to: 7.65.1-1]
libdb/stable,now 18.1.32-1 aarch64 [installed,automatic]
libdrm/x11,now 2.4.98-1 aarch64 [installed,automatic]
libedit/stable,now 20190324-3.1-0 aarch64 [installed,automatic]
libelf/stable,now 0.176 aarch64 [installed,automatic]
libelf-dev/stable,now 0.176 aarch64 [installed]
libepoxy/x11,now 1.5.3-1 aarch64 [installed,automatic]
libexpat/stable,now 2.2.7 aarch64 [installed,automatic]
libexpat-dev/stable,now 2.2.7 aarch64 [installed]
libffi/stable,now 3.2.1-3 aarch64 [installed]
libffi-dev/stable,now 3.2.1-3 aarch64 [installed]
libflac/stable,now 1.3.2-9 aarch64 [installed,automatic]
libfontenc/x11,now 1.1.4-1 aarch64 [installed,automatic]
libgc/stable,now 8.0.4 aarch64 [installed,automatic]
libgcrypt/stable,now 1.8.4 aarch64 [installed]
libgfshare/unstable,now 2.0.0-4 aarch64 [installed,automatic]
libgfshare-dev/unstable,now 2.0.0-4 aarch64 [installed]
libgmp/stable,now 6.1.2-2 aarch64 [installed,automatic]
libgnutls/stable,now 3.6.8-1 aarch64 [installed,automatic]
libgpg-error/stable,now 1.36 aarch64 [installed]
libgraphite/stable,now 1.3.13-2 aarch64 [installed,automatic]
libgraphite-dev/stable,now 1.3.13-2 aarch64 [installed,automatic]
libice/x11,now 1.0.9-4 aarch64 [installed,automatic]
libice-dev/x11,now 1.0.9-4 aarch64 [installed]
libiconv/stable,now 1.16-1 aarch64 [installed]
libiconv-dev/stable,now 1.16-1 aarch64 [installed]
libidn/stable,now 1.35-1 aarch64 [installed,automatic]
libidn2/stable,now 2.2.0 aarch64 [installed,automatic]
libjpeg-turbo/stable,now 2.0.2-2 aarch64 [installed,automatic]
libjpeg-turbo-dev/stable,now 2.0.2-2 aarch64 [installed]
libllvm/stable,now 8.0.0-6 aarch64 [installed,automatic]
libltdl/stable,now 2.4.6-6 aarch64 [installed,automatic]
liblua/stable,now 5.3.5-3 aarch64 [installed,automatic]
liblzma/stable,now 5.2.4-2 aarch64 [installed]
liblzo/stable,now 2.10 aarch64 [installed,automatic]
libmp3lame/stable,now 3.100 aarch64 [installed,automatic]
libmp3lame-dev/stable,now 3.100 aarch64 [installed]
libmpfr/stable,now 4.0.2-1 aarch64 [installed,automatic]
libmsgpack/stable,now 3.2.0 aarch64 [installed,automatic]
libmsgpack-dev/stable,now 3.2.0 aarch64 [installed]
libnettle/stable,now 3.5.1-1 aarch64 [installed,automatic]
libnghttp2/stable,now 1.39.1 aarch64 [installed]
libnotify/x11,now 0.7.8-1 aarch64 [installed,automatic]
libnotify-dev/x11,now 0.7.8-1 aarch64 [installed]
libnpth/stable,now 1.6 aarch64 [installed,automatic]
libnpth-dev/stable,now 1.6 aarch64 [installed]
libogg/stable,now 1.3.3 aarch64 [installed,automatic]
libopus/stable,now 1.3.1-1 aarch64 [installed,automatic]
libpixman/stable,now 0.38.4-1 aarch64 [installed,automatic]
libpixman-dev/stable,now 0.38.4-1 aarch64 [installed,automatic]
libpng/stable,now 1.6.37-1 aarch64 [installed,automatic]
libpng-dev/stable,now 1.6.37-1 aarch64 [installed,automatic]
libpulseaudio/stable,now 12.2-19 aarch64 [installed]
libpulseaudio-dev/stable,now 12.2-19 aarch64 [installed]
librsvg/stable,now 2.45.7 aarch64 [installed,automatic]
libsm/x11,now 1.2.3-3 aarch64 [installed,automatic]
libsm-dev/x11,now 1.2.3-3 aarch64 [installed]
libsndfile/stable,now 1.0.29~pre1-2 aarch64 [installed,automatic]
libsoup/stable,now 2.62.3 aarch64 [installed,automatic]
libsoxr/stable,now 0.1.3-1 aarch64 [installed,automatic]
libsqlite/stable,now 3.29.0 aarch64 [installed,automatic]
libtiff/stable,now 4.0.10-7 aarch64 [installed,automatic]
libtiff-dev/stable,now 4.0.10-7 aarch64 [installed]
libtool/stable,now 2.4.6-6 aarch64 [installed,automatic]
libunistring/stable,now 0.9.10-2 aarch64 [installed,automatic]
libuuid/stable,now 1.0.3-2 aarch64 [installed,automatic]
libuuid-dev/stable,now 1.0.3-2 aarch64 [installed]
libuv/stable,now 1.30.1 aarch64 [installed,automatic]
libvorbis/stable,now 1.3.6-1 aarch64 [installed,automatic]
libvpx/stable,now 1.8.0-2 aarch64 [installed,automatic]
libwebp/stable,now 1.0.3 aarch64 [installed,automatic]
libwebp-dev/stable,now 1.0.3 aarch64 [installed]
libx11/x11,now 1.6.8 aarch64 [installed,automatic]
libx11-dev/x11,now 1.6.8 aarch64 [installed]
libx264/stable,now 20190215 aarch64 [installed,automatic]
libx265/stable,now 3.0-3 aarch64 [installed,automatic]
libxau/x11,now 1.0.9-2 aarch64 [installed,automatic]
libxau-dev/x11,now 1.0.9-2 aarch64 [installed]
libxaw/x11,now 1.0.13-10 aarch64 [installed,automatic]
libxcb/x11,now 1.13.1-3 aarch64 [installed,automatic]
libxcb-dev/x11,now 1.13.1-3 aarch64 [installed]
libxcomposite/x11,now 0.4.5-1 aarch64 [installed,automatic]
libxcursor/x11,now 1.2.0-1 aarch64 [installed,automatic]
libxdamage/x11,now 1.1.5-1 aarch64 [installed,automatic]
libxdmcp/x11,now 1.1.3-2 aarch64 [installed,automatic]
libxdmcp-dev/x11,now 1.1.3-2 aarch64 [installed]
libxext/x11,now 1.3.4-1 aarch64 [installed,automatic]
libxext-dev/x11,now 1.3.4-1 aarch64 [installed]
libxfixes/x11,now 5.0.3-5 aarch64 [installed,automatic]
libxft/x11,now 2.3.3-1 aarch64 [installed,automatic]
libxi/x11,now 1.7.10 aarch64 [installed,automatic]
libxinerama/x11,now 1.1.4-4 aarch64 [installed,automatic]
libxkbfile/x11,now 1.1.0-1 aarch64 [installed,automatic]
libxml2/stable,now 2.9.9-5 aarch64 [installed,automatic]
libxml2-dev/stable,now 2.9.9-5 aarch64 [installed,automatic]
libxmu/x11,now 1.1.3-1 aarch64 [installed,automatic]
libxpm/x11,now 3.5.12-8 aarch64 [installed,automatic]
libxrandr/x11,now 1.5.2-1 aarch64 [installed,automatic]
libxrender/x11,now 0.9.10-6 aarch64 [installed,automatic]
libxrender-dev/x11,now 0.9.10-6 aarch64 [installed]
libxshmfence/x11,now 1.3-5 aarch64 [installed,automatic]
libxss/x11,now 1.2.3-4 aarch64 [installed,automatic]
libxt/x11,now 1.2.0 aarch64 [installed,automatic]
libxt-dev/x11,now 1.2.0 aarch64 [installed]
libxxf86dga/x11,now 1.1.5-1 aarch64 [installed,automatic]
libxxf86dga-dev/x11,now 1.1.5-1 aarch64 [installed]
libxxf86vm/x11,now 1.1.4-7 aarch64 [installed,automatic]
libxxf86vm-dev/x11,now 1.1.4-7 aarch64 [installed]
libzopfli/stable,now 1.0.2-4 aarch64 [installed,automatic]
libzopfli-dev/stable,now 1.0.2-4 aarch64 [installed]
littlecms/stable,now 2.9-1 aarch64 [installed,automatic]
littlecms-dev/stable,now 2.9-1 aarch64 [installed]
lynx/stable,now 2.8.9rel.1-4 aarch64 [installed]
lzip/stable,now 1.21-2 aarch64 [installed,automatic]
lzop/stable,now 1.04 aarch64 [installed,automatic]
m4/stable,now 1.4.18-1 aarch64 [installed,automatic]
make/stable,now 4.2.1-2 aarch64 [installed,automatic]
man/stable,now 1.14.5-1 aarch64 [installed]
mesa/x11,now 17.3.9-10 aarch64 [installed,automatic]
mesa-dev/x11,now 17.3.9-10 aarch64 [installed]
mlocate/stable,now 0.26-4 aarch64 [installed]
mtdev/x11,now 1.1.5-1 aarch64 [installed,automatic]
mtdev-dev/x11,now 1.1.5-1 aarch64 [installed]
ncurses/stable,now 6.1.20190511-2 aarch64 [installed]
ncurses-ui-libs/stable,now 6.1.20190511-2 aarch64 [installed,automatic]
ndk-multilib/stable,now 20 all [installed]
ndk-sysroot/stable,now 20 aarch64 [installed,automatic]
ninja/stable,now 1.9.0-2 aarch64 [installed,automatic]
openjpeg/stable,now 2.3.1-1 aarch64 [installed,automatic]
openssh/stable,now 8.0p1-1 aarch64 [installed]
openssl/stable,now 1.1.1c-1 aarch64 [installed]
pango-x/x11,now 1.42.4-4 aarch64 [installed,automatic]
pango-x-dev/x11,now 1.42.4-4 aarch64 [installed]
patch/stable,now 2.7.6-3 aarch64 [installed,automatic]
pcre/stable,now 8.43-3 aarch64 [installed,automatic]
pcre-dev/stable,now 8.43-3 aarch64 [installed,automatic]
pcre2/stable,now 10.33 aarch64 [installed,automatic]
perl/stable,now 5.30.0 aarch64 [installed,automatic]
pkg-config/stable,now 0.29.2 aarch64 [installed,automatic]
poppler/stable,now 0.76.1-2 aarch64 [installed,automatic]
procps/stable,now 3.3.15-2 aarch64 [installed,automatic]
psmisc/stable,now 23.2 aarch64 [installed,automatic]
pulseaudio/stable,now 12.2-19 aarch64 [installed]
python/stable,now 3.7.4 aarch64 [installed,automatic]
qpdf/stable,now 8.4.2-1 aarch64 [installed]
readline/stable,now 8.0-2 aarch64 [installed]
rhash/stable,now 1.3.8-1 aarch64 [installed,automatic]
science-repo/stable,now 1.0 all [installed]
sdl/x11,now 1.2.15-15 aarch64 [installed,automatic]
sdl-dev/x11,now 1.2.15-15 aarch64 [installed]
sdl2/x11,now 2.0.9-3 aarch64 [installed,automatic]
sdl2-dev/x11,now 2.0.9-3 aarch64 [installed]
sdl2-image/x11,now 2.0.4-4 aarch64 [installed,automatic]
sdl2-image-dev/x11,now 2.0.4-4 aarch64 [installed]
sdl2-ttf/x11,now 2.0.15-1 aarch64 [installed,automatic]
sdl2-ttf-dev/x11,now 2.0.15-1 aarch64 [installed]
sed/stable,now 4.7 aarch64 [installed,automatic]
shared-mime-info/x11,now 1.12-1 aarch64 [installed,automatic]
speexdsp/stable,now 1.2.0 aarch64 [installed,automatic]
taglib/unstable,now 1.11.1-5 aarch64 [installed,automatic]
taglib-dev/unstable,now 1.11.1-5 aarch64 [installed]
tar/stable,now 1.32-2 aarch64 [installed,automatic]
termux-am/stable,now 0.2 all [installed]
termux-auth/stable,now 1.1 aarch64 [installed,automatic]
termux-elf-cleaner/stable,now 1.6-1 aarch64 [installed]
termux-exec/stable,now 0.4 aarch64 [installed]
termux-keyring/stable,now 1.2 all [installed]
termux-licenses/stable,now 1.0 all [installed]
termux-tools/stable,now 0.68 all [installed]
unstable-repo/stable,now 2.0 all [installed]
util-linux/stable,now 2.33.2 aarch64 [installed,automatic]
vim-gtk/x11,now 8.1.1450 aarch64 [installed]
w3m/stable,now 0.5.3.20190105-1 aarch64 [installed]
wget/stable,now 1.20.3-2 aarch64 [installed]
x11-repo/stable,now 2.0 all [installed]
xcb-proto/x11,now 1.13-5 all [installed,automatic]
xcb-util/x11,now 0.4.0-5 aarch64 [installed,automatic]
xcb-util-image/x11,now 0.4.0-3 aarch64 [installed]
xorg-font-util/x11,now 1.3.1-6 aarch64 [installed,automatic]
xorg-fonts-75dpi/x11,now 1.0.3-5 all [installed,automatic]
xorg-fonts-alias/x11,now 1.0.3-3 all [installed,automatic]
xorg-fonts-encodings/x11,now 1.0.5 all [installed,automatic]
xorg-mkfontscale/x11,now 1.2.1-3 aarch64 [installed,automatic]
xorg-util-macros/x11,now 1.19.2-1 all [installed,automatic]
xorg-xauth/x11,now 1.0.10-9 aarch64 [installed,automatic]
xorg-xclock/x11,now 1.0.8-1 aarch64 [installed]
xorgproto/x11,now 2019.1 all [installed,automatic]
xtrans/x11,now 1.4.0-1 all [installed,automatic]
xvidcore/stable,now 1.3.5 aarch64 [installed,automatic]
xz-utils/stable,now 5.2.4-2 aarch64 [installed,automatic]
zlib/stable,now 1.2.11-3 aarch64 [installed]
zlib-dev/stable,now 1.2.11-3 aarch64 [installed]
$ 

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 3527
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Compiling wxWidgets 3.1.1 in Termux

Post by ONEEYEMAN » Mon Jul 15, 2019 9:20 pm

Hi,
Keep in mind that monolithic builds does not gain you anything. And in some environment/configuration it might give you headache.
Moreover, it is very rarely, if ever tested by wx core developers, especially on *nix side. And while it still supported, I wpouldn't be surprised if at one point it will be dropped.

Now in order to test you build try to make and run minimal sample, If that works - great. You can start writing some code.

Thank you.

igavronski
Knows some wx things
Knows some wx things
Posts: 30
Joined: Mon Jul 15, 2019 12:52 pm

Re: Compiling wxWidgets 3.1.1 in Termux

Post by igavronski » Mon Jul 15, 2019 10:33 pm

ONEEYEMAN wrote:
Mon Jul 15, 2019 9:20 pm
Hi,
Keep in mind that monolithic builds does not gain you anything. And in some environment/configuration it might give you headache.
Moreover, it is very rarely, if ever tested by wx core developers, especially on *nix side. And while it still supported, I wpouldn't be surprised if at one point it will be dropped.

Now in order to test you build try to make and run minimal sample, If that works - great. You can start writing some code.

Thank you.
Hi,
I built the samples/calendar and it seemed to work.
As I mentioned earlier, my end goal is to compile Audacity. If it works with Audacity for now, I would be happy.
I thank you guys very much for your support so far.
Best.
-i

igavronski
Knows some wx things
Knows some wx things
Posts: 30
Joined: Mon Jul 15, 2019 12:52 pm

Re: Compiling wxWidgets 3.1.1 in Termux

Post by igavronski » Tue Jul 16, 2019 6:46 pm

doublemax wrote:
Mon Jul 15, 2019 7:47 pm
As the errors seem to be xlocale related, you could also try to disable that during configure.
--disable-xlocale
I really need to make wxLocale work because Audacity needs it.

Any suggestions?

User avatar
doublemax
Moderator
Moderator
Posts: 14196
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Compiling wxWidgets 3.1.1 in Termux

Post by doublemax » Tue Jul 16, 2019 6:51 pm

What errors are you getting? wxLocale support should still be there, it's not the same as wxXLocale.
Use the source, Luke!

igavronski
Knows some wx things
Knows some wx things
Posts: 30
Joined: Mon Jul 15, 2019 12:52 pm

Re: Compiling wxWidgets 3.1.1 in Termux

Post by igavronski » Tue Jul 16, 2019 7:48 pm

doublemax wrote:
Tue Jul 16, 2019 6:51 pm
What errors are you getting? wxLocale support should still be there, it's not the same as wxXLocale.
Give some minutes... I'm building again and lost the messages...

igavronski
Knows some wx things
Knows some wx things
Posts: 30
Joined: Mon Jul 15, 2019 12:52 pm

Re: Compiling wxWidgets 3.1.1 in Termux

Post by igavronski » Tue Jul 16, 2019 8:06 pm

doublemax wrote:
Tue Jul 16, 2019 6:51 pm
What errors are you getting? wxLocale support should still be there, it's not the same as wxXLocale.
This is the output of the make:
make.out.txt
(93.07 KiB) Downloaded 10 times

Post Reply