Problem compiling a project on ChromeBook in the Linux Environment

If you can, try with the same project.

2021r3.1 does the same.

Every projects, even the examples.

Make sure that VM has all of the Debian prerequisites for Xojo installed.

Yep there’s a missing dependency as 2021r3.1 runs OK.

Just to make sure I was understood correctly: v2021-3.1 does NOT work.

And when I mean not work, it can’t compile, and it can’t even « Analyse this project ».

I have followed these instructions:

sudo apt-get install libc6
sudo apt-get install libncurses5
sudo apt-get install libstdc++6
sudo apt-get install libglib2.0-dev
sudo apt-get install libglib2.0-0
sudo apt-get install libsoup2.4-1
sudo apt-get install libgtk2.0-0
sudo apt-get install weston
sudo apt-get install rpm

How can I find what dependancies are missing?

Regards,
Antoine

I have installed a lot of programs, and they all work well.

Xojo runs until I ask to « Analyse this project ».

How can I find the Debian prerequisites for Xojo that are missing?

Regards,
Antoine

I have also installed llvm, even if I didn’t think it was the direct problem.

Please note that both versions I tried (v2022-4.1 and v2021-3.1) work to edit the code.

A.

Start here:

https://documentation.xojo.com/resources/system_requirements_for_current_release.html#system-requirements

About half way down the page, it talks about Linux and shows commands for the different platforms to get all the necessary parts.

Thanks. I hadn’t seen that part of the page.

So, I’ve also installed this, but didn’t help.

sudo dpkg --add-architecture i386
sudo apt update

ldd doesn’t seems to give missing librairies…

antoine$ ldd Xojo
	linux-vdso.so.1 (0x00007ffc601cd000)
	XojoGUIFramework64.so => /opt/xojo/xojo2022r4.1/./Xojo Libs/XojoGUIFramework64.so (0x00007e19a9191000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007e19a8fac000)
	libgtk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 (0x00007e19a87fa000)
	libgdk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 (0x00007e19a86f5000)
	libpangocairo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007e19a86e4000)
	libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007e19a8692000)
	libatk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 (0x00007e19a8666000)
	libcairo-gobject.so.2 => /usr/lib/x86_64-linux-gnu/libcairo-gobject.so.2 (0x00007e19a865a000)
	libcairo.so.2 => /usr/lib/x86_64-linux-gnu/libcairo.so.2 (0x00007e19a8535000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007e19a850f000)
	libgio-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007e19a8331000)
	libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007e19a82d7000)
	libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007e19a81a6000)
	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007e19a8063000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007e19a7f1f000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007e19a7f15000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007e19a7f0f000)
	libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007e19a7f0a000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007e19a7ee6000)
	libunwind.so.8 => /usr/lib/x86_64-linux-gnu/libunwind.so.8 (0x00007e19a7ecb000)
	libunwind-x86_64.so.8 => /usr/lib/x86_64-linux-gnu/libunwind-x86_64.so.8 (0x00007e19a7eae000)
	libc++.so.1 => /opt/xojo/xojo2022r4.1/./Xojo Libs/libc++.so.1 (0x00007e19a7afd000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007e19a7ae3000)
	/lib64/ld-linux-x86-64.so.2 (0x00007e19aba2f000)
	libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007e19a7adb000)
	libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007e19a7ac9000)
	libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007e19a7ac1000)
	libatk-bridge-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0 (0x00007e19a7a8a000)
	libepoxy.so.0 => /usr/lib/x86_64-linux-gnu/libepoxy.so.0 (0x00007e19a795b000)
	libfribidi.so.0 => /usr/lib/x86_64-linux-gnu/libfribidi.so.0 (0x00007e19a793f000)
	libpangoft2-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007e19a7926000)
	libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007e19a783c000)
	libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007e19a77f6000)
	libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007e19a7733000)
	libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007e19a772e000)
	libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007e19a7523000)
	libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007e19a7514000)
	libXcomposite.so.1 => /usr/lib/x86_64-linux-gnu/libXcomposite.so.1 (0x00007e19a750f000)
	libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007e19a750a000)
	libxkbcommon.so.0 => /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007e19a74c7000)
	libwayland-cursor.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0 (0x00007e19a74be000)
	libwayland-egl.so.1 => /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007e19a74b9000)
	libwayland-client.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007e19a74a8000)
	libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007e19a7491000)
	libthai.so.0 => /usr/lib/x86_64-linux-gnu/libthai.so.0 (0x00007e19a7486000)
	libpixman-1.so.0 => /usr/lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007e19a73db000)
	libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007e19a73a1000)
	libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007e19a739c000)
	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007e19a736f000)
	libxcb-render.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007e19a7360000)
	libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007e19a7156000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007e19a7139000)
	libmount.so.1 => /usr/lib/x86_64-linux-gnu/libmount.so.1 (0x00007e19a70dc000)
	libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007e19a70b0000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007e19a7094000)
	libffi.so.7 => /usr/lib/x86_64-linux-gnu/libffi.so.7 (0x00007e19a7088000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007e19a7015000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007e19a6fed000)
	libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007e19a6f98000)
	libatspi.so.0 => /usr/lib/x86_64-linux-gnu/libatspi.so.0 (0x00007e19a6f5f000)
	libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007e19a6f33000)
	libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007e19a6f04000)
	libuuid.so.1 => /usr/lib/x86_64-linux-gnu/libuuid.so.1 (0x00007e19a6efb000)
	libbrotlidec.so.1 => /usr/lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007e19a6eed000)
	libdatrie.so.1 => /usr/lib/x86_64-linux-gnu/libdatrie.so.1 (0x00007e19a6ee1000)
	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007e19a6edc000)
	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007e19a6cd6000)
	libblkid.so.1 => /usr/lib/x86_64-linux-gnu/libblkid.so.1 (0x00007e19a6c85000)
	libpcre2-8.so.0 => /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007e19a6bed000)
	libsystemd.so.0 => /usr/lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007e19a6b36000)
	libbrotlicommon.so.1 => /usr/lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007e19a6b13000)
	libbsd.so.0 => /usr/lib/x86_64-linux-gnu/libbsd.so.0 (0x00007e19a6afc000)
	libzstd.so.1 => /usr/lib/x86_64-linux-gnu/libzstd.so.1 (0x00007e19a6a21000)
	liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007e19a69fe000)
	libgcrypt.so.20 => /usr/lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007e19a68dc000)
	libmd.so.0 => /usr/lib/x86_64-linux-gnu/libmd.so.0 (0x00007e19a68cf000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007e19a68a9000)

This is my machine info. I seem to fill in the criterias.

antoine$ uname -a
Linux penguin 5.10.153-20432-gaa06ea936644 #1 SMP PREEMPT Tue Jan 10 19:07:58 PST 2023 x86_64 GNU/Linux
antoine$ hostnamectl
   Static hostname: penguin
         Icon name: computer-container
           Chassis: container
        Machine ID: 22c77650e7daeb44b74872c75febe8c3
           Boot ID: ec562481493948d79789614f904dbc78
    Virtualization: lxc
  Operating System: Debian GNU/Linux 11 (bullseye)
            Kernel: Linux 5.10.153-20432-gaa06ea936644
      Architecture: x86-64
antoine$ lsb_release -a 
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye
antoine$

Did you also do the line below that that says:

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 libglib2.0-0:i386 libsoup2.4-1:i386 libgtk-3-0:i386 libwebkitgtk-3.0-0:i386

1 Like

Yes, this line is not clear. But I did install them. I had a problem with:

sudo apt install libwebkitgtk-3.0-0:i386

So I added a source, and then, I could install it.

nano /etc/apt/source.list
deb http://ftp.us.debian.org/debian stretch main

But, I still get the same error message from Xojo.

Any suggestions?

Regards,
Antoine

Contact @Jason_Parsley, I’m out of ideas.

I’ve created a Debian 11 VM

Downloaded the DEB install

Started the install and …

For my part, I install from the command line:

dpkg -i xojo2022r41.deb

With all the other installation as stated in previous comments.

My problem was VM too small. Need to build another one.

I don’t do Chromebook, can you tell me what software is used to virtualize Linux?

From what I understand, it’s Crostini which is build on Linux-KVM.

https://chromium.googlesource.com/chromiumos/docs/+/master/containers_and_vms.md

Also:

Regards,
Antoine

Now that I’ve done some reading about this, it’s entirely possible that the problem is the Crostini sandbox. It looks like the container itself is read-only and that may be preventing the compiler from creating temp files.

I’m going to suggest that you download the tgz file and decompress it into a folder other than /opt, perhaps somewhere in your user space and that you redirect temp to another (known writable) location as well by changing the environment variable for this process.

1 Like

So I did what you suggested, create a tmp folder with 777 permissions,
changed some local environment variables

export TEMP=/usr/local/tmp
export TMPDIR=/usr/local/tmp

I downloaded the .tgz, did a tar -xvzf on it.

I made sure I had at least 5 Gb of disk space free.

But, when running Xojo, still same error.

Regards,
Antoine