Build from source error (Debian 11): configure: error: unicode/uchar.h header not found or not usable
Just installed Debian 11.
Build from source. I follow the instructions: https://github.com/meganz/MEGAsync/blob/master/README.linux.md
Have problems:
- Section "APT Libraries", package "qt5-default" doesn't exists.
- Section "Build everything", step "./configure -g -q -i". After "running: ./configure" I see error: .... checking for unicode/uchar.h... no configure: error: unicode/uchar.h header not found or not usable ERROR! Please check log files. Exiting..
What am I doing wrong?
Hi! Thanks for reporting this. You are not doing anything wrong, the instructions are out of date (sorry!). Please follow these instructions:
- install dependencies (except
qt5-default) - new dependency:
libicu-dev
sudo apt install libicu-dev
- get sources
- build:
cd <repo root>/src/MEGASync/mega/
./autogen.sh
./configure
cd ../..
qmake MEGASync/MEGASync.pro
lrelease MEGASync/MEGASync.pro
make
Grab a coffee, a tea, or whatever you want; the executable megasync will be created.
We will update the instructions soon! Have a good day.
Hi.
Is it possible to build on RasbOS 12 (bookworm) aarch64 ? I have an error: MEGASync/google_breakpad/common/memory.h:118:15: error: sys_mmap2 was not declared in this scope 118 | void *a = sys_mmap2(NULL, page_size_ * num_pages, PROT_READ | PROT_WRITE, | ^~~~~~~~~
Best regards.
Hi pasman1, I'm sorry to say building for this arch is currently broken... and I can't tell you when it will be fixed. Have a good day!