Skip to content
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

os161-toolchain : Depends: gcc-mips-linux-os161 but it is not going to be installed on Ubuntu 18.04 #16

Open
yasht01 opened this issue Aug 31, 2021 · 2 comments

Comments

@yasht01
Copy link

yasht01 commented Aug 31, 2021

Hey os161 team 👋🏼
I am not able to install the os161-toolchain using apt on my Ubuntu 18.04 system. I have manually added the launchpad PPA links to my sources.list.d.
I am getting this error

Terminal Output

sources.list.d
sources.list.d

@jared-barnak
Copy link

@yasht01 git clone https://gist.github.com/9825913.git then run the script :)

@YehezkelShB
Copy link

Trying to install gcc-mips-linux-os161 directly shows the issue is due to the dependency on libmpfr4, but only libmpfr6 is available. Instead of compiling everything from source, as the script suggested above does, a simpler option is to compile from source only gcc ad then install the rest as usual. I used the following:

sudo apt build-dep gcc-mips-linux-os161
sudo apt install binutils dpkg-dev devscripts
apt source gcc-mips-linux-os161
cd gcc-mips-linux-os161-4.8.3~os161~2.1~xenial0
debuild
cd ..
sudo dpkg -i gcc-mips-linux-os161_4.8.3~os161~2.1~xenial0_amd64.deb
sudo apt install os161-toolchain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants