-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error compiling on Arm64 linux #3232
Comments
Hey @amirseyedian This builds without error on an arm64 vps. apt update
apt install git libopenjp2-tools make cmake build-essential # libopenjp2-tools needed for yarn build-release step
git clone https://github.com/oxen-io/session-desktop/
cd session-desktop/
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
nvm install
nvm use
npm install -g yarn
yarn install --frozen-lockfile
yarn build-everything
vim package.json # change "deb" in line 264 to "AppImage"
yarn build-release Could you give those a try, confirm that you do not have any errors and try to run the built binaries? Thanks |
Hey @Bilb I appreciate you taking the time to respond. The instructions you provided is exactly the build process I followed in the first place. the first issue I encounter was this after some tweaking I was able to fix the build issues so build-everything and build-release runs Ok. and an AppImage is generated but when I try to execute the appimage i get the following error
Im interested to know if you were successful on building the binary why not just add it to the repository releases? |
Hey @amirseyedian The first step I've mentioned is cloning the git repository with I'll try to find an arm64 to debug this further |
Is there an existing issue for this?
#1635
Current Behavior
Im facing an error while trying to compile on linux ARM64 architecture.
yarn install --frozen-lockfile
results in the following error asking for .git directory by huskyI was able to mitigate this issue by copying the contents of .github directory to .git
yarn install --frozen-lockfile
runs successfully but when I try to build a release I get the following error asking for a app.asar fileyarn build-release
:An executeable will get compiled into the /release directory but will not run due to the following error.
./session-desktop
Expected Behavior
successful build
Steps To Reproduce
yarn install --frozen-lockfile
yarn build-release
The text was updated successfully, but these errors were encountered: