Some (negative) Information:
I have installed Virtualbox on my PC (Fedora) and managed to build a slitaz64-current-VM.But the installation of guest additions failed.
Presumable the directory/file ./scripts/Makefile.build is not built in the installation process (/var/log/vboxadd-setup.log). Internet-search (https://itsfoss.community/t/virtualbox-7-fails-on-installation-process-at-ubuntu-desktop-22-04/11854/16) shows a dependency of the installation process at least from gcc-version. The link says Upgrade gcc-11 to gcc-12 solved the problem (for ubuntu).
The gcc-Version for slitaz64-current is 10.2.0. Of course it is not sure wether an (heavy) upgrade of gcc would solve my installation problem.
virtualbox
(17 posts) (4 voices)-
Posted 1 month ago #
-
Hi HDS,
Sad, in other topics report virtuabox-ose on rolling is broken :/.
I need to check how to fix it, and same time check how to build virtualbox-ose for 'current'.On my side try to build virtualbox-ose 7.0.26, build failed complain about "xml2" not found, but libxml2-dev, libxml2-tools installed on cook chroot
Extracting source archive "VirtualBox-7.0.26.tar.bz2"
Executing: compile_rules
CFLAGS : -march=nocona -Os -pipe -fomit-frame-pointer -fPIC
Checking for environment: Determined build machine: linux.x86, target machine: linux.x86, OK.
Checking for kBuild: found, OK.
Checking for gcc: found version 10.2.0, OK.
Checking for Open Watcom:
** Open Watcom was not found, using alternative BIOS sources!
Checking for iasl: found version 20211217, OK.
Checking for yasm: found version 1.3.0, OK.
Checking for xslt: found, OK.
Checking for pthread: found, OK.
./configure: line 254: /home/slitaz/wok/virtualbox-ose/source/virtualbox-ose-7.0.26/kBuild/bin/linux.x86/kmk_sed: not found
Checking for libxml2: ./configure: line 278: /home/slitaz/wok/virtualbox-ose/source/virtualbox-ose-7.0.26/kBuild/bin/linux.x86/kmk_sed: not foundxml2 not found at -lxml2 -lpthread or xml2 headers not found
Check the file /home/slitaz/wok/virtualbox-ose/source/virtualbox-ose-7.0.26/configure.log for detailed error information.
Check /home/slitaz/wok/virtualbox-ose/source/virtualbox-ose-7.0.26/configure.log for detailsPosted 1 month ago # -
Thanks Shann for the quick response.
I think building virtualbox-ose for Slitaz (for getting a Slitaz virtualbox host) is much more complicated than installation of the guest additions in a Slitaz-guest.
But its interesting to see that you get
Checking for gcc: found version 10.2.0, OK.
for VBox Version 7.0.26 while the link I mentioned has had the installation problem for VBox Version 7.0_7.0.14 which was solved bei change from gcc-11 to gcc-12. Perhaps Ubuntus-specific.
By the way: I have tried to find the file makefile.build in the sources of vbox additions. But this is hopeless since the code is unintelligable for me especially due to the plenty of makefile.kmk.
Good luck for Your tries.Posted 1 month ago # -
Thanks,
Build in progress, but i fight with gsoap issue about undefined reference :/
kBuild: Installing VBoxNetDHCP => /home/slitaz/wok/virtualbox-ose/source/virtualbox-ose-7.0.26/out/linux.amd64/release/bin/VBoxNetDHCP.so
The failing command:
@g++ '-Wl,-rpath,/usr/lib/virtualbox' -Wl,-z,noexecstack,-z,relro -Wl,--as-needed -m64 -o /home/slitaz/wok/virtualbox-ose/source/virtualbox-ose-7.0.26/out/linux.amd64/release/obj/webtest/webtest /home/slitaz/wok/virtualbox-ose/source/virtualbox-ose-7.0.26/out/linux.amd64/release/obj/webtest/webtest.o /home/slitaz/wok/virtualbox-ose/source/virtualbox-ose-7.0.26/out/linux.amd64/release/obj/webtest/gen/webservice/soapClient.o /home/slitaz/wok/virtualbox-ose/source/virtualbox-ose-7.0.26/out/linux.amd64/release/lib/vboxsoap.a -lgsoapssl++ /home/slitaz/wok/virtualbox-ose/source/virtualbox-ose-7.0.26/out/linux.amd64/release/bin/VBoxRT.so -lpthread -lm -lrt -ldl -lssl -lcrypto
kBuild: Linking webtest
/usr/bin/ld: /usr/lib/gcc/x86_64-slitaz-linux/10.2.0/../../../../lib64/libgsoapssl++.a(libgsoapssl___a-stdsoap2_ssl_cpp.o): undefined reference to symbol 'inflateEnd'
/usr/bin/ld: /usr/lib/libz.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
kmk: *** [/home/slitaz/wok/virtualbox-ose/source/virtualbox-ose-7.0.26/kBuild/footer-pass2-compiling-targets.kmk:776: /home/slitaz/wok/virtualbox-ose/source/virtualbox-ose-7.0.26/out/linux.amd64/release/obj/webtest/webtest] Error 1
kmk: *** Waiting for unfinished jobs....Posted 1 month ago # -
/usr/bin/ld: /usr/lib/libz.so.1: error adding symbols: DSO missing from command line
make sure you are linking against zlib (pass -lz during compilation) and make sure you have zlib in LD_LIBRARY_PATH?
Posted 4 weeks ago # -
Hi alanyih, HDS
Thanks, after debug found that gsoap not build as shared, only static, with gentoo patch to build it as shared, build webservice successfully :)
Below VirtualBox running on SliTaz current64, but issue, need to start vm without display, need to understand why i have this bug :(
I build virtualbox-ose and virtualbox-ose-modules64 (need tweak receipt to build it), need do same for guestutils (aka additions).
Posted 4 weeks ago # -
Not sure if related, if i run VBoxTestOGL :
tux@slitaz:~$ /usr/lib/virtualbox/VBoxTestOGL --test 2D --log-to-stdout
00:00:00.000061 VBoxTestGL 7.0.26_SliTaz r168464 linux.amd64 (Nov 11 2025 19:42:39) release log
00:00:00.000064 Log opened 2025-11-11T20:31:28.202751000Z
00:00:00.000087 OS Product: Linux
00:00:00.000093 OS Release: 5.10.238-slitaz64
00:00:00.000100 OS Version: #2 SMP Thu Jul 31 08:52:32 Europe 2025
00:00:00.000106 Executable: /usr/lib/virtualbox/VBoxTestOGL
00:00:00.000108 Process ID: 4308
00:00:00.000111 Package type: LINUX_64BITS_GENERIC (OSE)
00:00:00.000118 Testing 2D Support:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-tux'
00:00:00.008908 Failed to create gl context
00:00:00.008918 Testing 2D Failed
tux@slitaz:~$ /usr/lib/virtualbox/VBoxTestOGL --test 3D --log-to-stdout
00:00:00.000061 VBoxTestGL 7.0.26_SliTaz r168464 linux.amd64 (Nov 11 2025 19:42:39) release log
00:00:00.000064 Log opened 2025-11-11T20:31:32.033931000Z
00:00:00.000086 OS Product: Linux
00:00:00.000092 OS Release: 5.10.238-slitaz64
00:00:00.000098 OS Version: #2 SMP Thu Jul 31 08:52:32 Europe 2025
00:00:00.000105 Executable: /usr/lib/virtualbox/VBoxTestOGL
00:00:00.000107 Process ID: 4312
00:00:00.000110 Package type: LINUX_64BITS_GENERIC (OSE)
00:00:00.000117 Testing 3D Support:
00:00:00.000226 Testing 3D Succeeded!I also fix miss build of VBoxSDL, if i try to run VBoxSDL, sometime issue "SegFault", or if try debug with gdb
tux@slitaz:~$ VBoxSDL --startvm SliTaz_current
VBoxSDL: Error -10 in SUPR3HardenedMain!
VBoxSDL: Effective UID is not root (euid=1000 egid=100 uid=1000 gid=100)Need to check if build with
--disable-hardeningto debug it's better or notPosted 4 weeks ago # -
After few tests and debug, seem fix issue with VBoxSDL, think clash with libsdl12-compat / libsdl2, need libsdl12-compat-dev and libsdl2-dev to build but only libsdl2 for runtime.
VirtualBox continue to failed for run VM with GUI but with VBoxSDL it's work now.
Posted 4 weeks ago # -
Hi,
Ref:
PKGBUILD - Arch Linux 7.0.20-1
https://gitlab.archlinux.org/archlinux/packaging/packages/virtualbox/-/blob/90ad0cf873e88874265533b5ca586087b0378ea2/PKGBUILDMxlinux - 7.0.10
https://mxrepo.com/mx/repo/pool/main/v/virtualbox/virtualbox_7.0.10-dfsg-2~mx23+1.debian.tar.xzPosted 4 weeks ago # -
Hi,
the details of Your activities are beyond my comprehension. But I feel very happy about your progress.
I keep my fingers crossed for you.Posted 4 weeks ago # -
Hi,
Found why vm not running with Virtualbox GUI but ok with VBoxSDL, seem miss VirtualBoxVM binary
Thanks search and found gentoo topic https://bugs.gentoo.org/671354
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be4b63a80148cc9f6c1d4f305ef3a1a28f52d676I copy VirtualBoxVM inside /usr/lib/virtualbox, and work \o/
Posted 4 weeks ago # -
Posted 4 weeks ago #
-
Thats marvellous!!! ???? ???? ????
Congratulations!!! ???? ???? ????Posted 4 weeks ago # -
Hi HDS,
Thanks :)
If you would have virtualbox-ose, you need to change mirror to
https://people.slitaz.org/~shann/slitaz-current64-stuff/packages-ng/(i don't move to /packages for moment, maybe time to do it ?)Infact i rework tazpkg to use compress tarball (tar.xz) instead cpio.lzma.
Now package not copy twice (/var/cache and /tmp), directly extract to rootfs, implied config_files should be managed, use same process that slackware with dotnew file.From the tests I've done, I haven't seen any regression.
Only requirement it's to ugrade tazpkg first, but when you dotazpkg up -r, it's purpoese automatically (you can't upgrade packages if tazpkg not upgrade himself if required)Posted 3 weeks ago # -
Hi Shann,
thanks a lot and apologize for using emojis unknown to the forum SW.
Your instructions for installing guest-utils worked like a charm!
I now have (2) Slitaz-VMs with working guest-additions. Realy a great help for developing and testing of additional modules and configuartions for the Slitaz-office-PC.
Thanks again for you efforts.Posted 3 weeks ago #
Reply »
You must log in to post.