Onion-Docs icon indicating copy to clipboard operation
Onion-Docs copied to clipboard

GCC is no longer available in package repositories

Open nicolapalavecino opened this issue 6 years ago • 4 comments

https://docs.onion.io/omega2-docs/c-compiler-on-omega.html says that if two lines are uncommented in the file /etc/opkg/distfeeds.conf you can add some package repositories for you to be able to compile C and C++ programs in the Omega. I found out that the gcc compilers are not available in any repository. The following error message appears when I try to install gcc with opkg install gcc:

Unknown package 'gcc'.
Collected errors:
 * opkg_install_cmd: Cannot install package gcc.

@greenbreakfast any idea what happened?

nicolapalavecino avatar Apr 30 '18 00:04 nicolapalavecino

Hmm looks like the LEDE people took it out of their repo. We'll look into it and get back to you!

greenbreakfast avatar May 01 '18 00:05 greenbreakfast

Please fix! The Onion Omega2+ is pretty much useless to me without C++ and C.

corndog2000 avatar May 19 '18 01:05 corndog2000

@corndog2000 you can still cross-compile C and C++ programs in a linux environment. You can see c-cross-compile-example to know how to do it.

But I agree with you, Omega2+ is useless if you can't compile within the Omega OS. @greenbreakfast could you see what happened?

nicolapalavecino avatar May 19 '18 15:05 nicolapalavecino

I would do that except the LEDE Build System always fails to build.

corndog2000 avatar May 19 '18 16:05 corndog2000