Open jwmh opened 1 year ago
_At some point I'd also had to install
(either automatically as a dependency, or directly as one of the following in the list)..._
- bash (slitaz uses `ash` by default, as it's lighter-weight)
- cacerts
- curl
- git
- unzip
- libdb
- gdbm
- perl
- readline
- rust
- tcl
- rust-cargo
- tk
- py3k
- weechat
- giflib
- icedtea6
- java-jre
- android-sdk
- android-build-tools
- m4
- bison
- flex
- glibc-locale
- glibc-dev
- glibc
- binutils
- linux-api-headers
- libgomp
- libobjc
- mpfr
- mpc-library
- gcc
- make
- elfkickers
- slitaz-toolchain
- libssh
- pkg-config
- libssh-dev
- libssh2
- libssh2-dev
- bc
- ncursesw-dev
- ncurses-dev
- ncurses-extra
- patch
- python
- lz4-lib
- xxhash-lib
- zstd
- rsync
- xz
- tar
- wget
- libQtcore, ...Gui,..Network,..Xml,..Svg,..Script,..Designer,..
- QtDesigner
- libpthread-stubs
- mesa
- libglu-mesa
- libunixODBC
- freetds
- libmysqlclient
- libboost-system,..-chrono,..-date-time
- libpostgresqlclient
- libQtSql,..3Support,..Clucene,..DBus,..Webkit,..OpenGL,..ScriptTools,..Test,..Help,..Plugins
- qtconfig
- Qt4-dev
- buildroot
- nspr
- spidermonkey
- gpm
- elinks
- pkg-config
- libcrypto-dev
- openssl-dev
- llvm
- util-linux-whereis
For those of you who don't know, Slitaz is a Tiny Autonomous Zone linux distro (I don't remember what the Sli is for, but iirc the company's german). The LiveCD/LiveUSB .iso file is ~80mB. (yes, megabytes.) Mind you, this is without firefox -- which easily doubles the iso size. (And firefox, and many items like gcc+, aren't up to date... ) Still, I love it.
Oh... ... it comes with an older version of WEECHAT in its pkg repo:
.
The earlier errors in the build were due to missing libraries / *.so files.
Through some
cargo -v build
troubleshooting, I managed to fix these.$ tazpkg -sp [filename that cargo says is missing]
$ sudo tazpkg --get --install [a package containing that .so file]
find several additional slitaz-native packages to install (from the slitaz repo);
copy/link the .so / library files, as needed, to
/usr/local/
(so that cargo build can see+use them easily)This got me up to nearly 100% compiling... ... (390 / 394 total!)
But it's alas now failing with
libclang.so
andlibLLVM
Searching for those (libclang, and libllvm) in here finds me two issues:
The latter (#19) seems more relevant in outright technical detail.
I guess there are issues with the versions of libclang and libllvm?
(BTW, libclang is downloaded for slitaz solely in the
android-build-tools
pkg, v19.0.3, path:and libLLVM returns it in the same path:
after I copied the latter into /usr/local/, i no longer had the 'libLLVM.so' NOT FOUND error, but instead now have: