View previous topic :: View next topic |
Author |
Message |
micaldas n00b
Joined: 12 Mar 2018 Posts: 37
|
Posted: Thu Mar 15, 2018 3:35 pm Post subject: SOLVED - Problems installing kernel sources |
|
|
Hi,
I am trying to install install-amd64-minimal-20180313T214502Z, in a Virtualbox vm, on a Debian9 host.
When I got to installing the kernel sources with the command:
emerge --ask sys-kernel/gentoo-sources
I get the following error message (I am sorry for linking to a image, but I wasn't able to make guest additions work on this install):
https://imgur.com/a/vlDL3
I followed the suggestion given in the error message (further down than what image shows), of running "FEATURES=sandbox...", but it didn't help.
Any help would be greatly appreciated.
Mod edit: Broken URL repaired. — JRG
Last edited by micaldas on Thu Mar 15, 2018 9:47 pm; edited 1 time in total |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54236 Location: 56N 3W
|
Posted: Thu Mar 15, 2018 4:10 pm Post subject: |
|
|
micaldas,
Wild guess, its your CFLAGS in make.conf.
You have an option there that gcc does not recognise. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
micaldas n00b
Joined: 12 Mar 2018 Posts: 37
|
Posted: Thu Mar 15, 2018 4:19 pm Post subject: |
|
|
Hi Jalover,
Thank you for taking the time to reply, but I am unsure of what to do next. Should I had exported CFLAGS before where I am right now? If so, when should I have done it?
Can this have anything to having defined CFLAGS in /make.conf as
CFLAGS="-march=native -O2 -pipe"
and not specifying the architecture?
Thanks in advance for all the help |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30909 Location: here
|
Posted: Thu Mar 15, 2018 4:26 pm Post subject: |
|
|
With -march=native gcc in a linux system sets automatically properly cpu flags automatically.
Anyway cflag seems be ok.
You can post emerge --info?
You are sure that -O2 is a letter and not number '0'? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
micaldas n00b
Joined: 12 Mar 2018 Posts: 37
|
Posted: Thu Mar 15, 2018 9:47 pm Post subject: |
|
|
Thank you fedeliallalinea, I had a zero where it should be an O.
Everything's fine now.
Thank you all for the help |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21631
|
Posted: Fri Mar 16, 2018 1:30 am Post subject: |
|
|
micaldas wrote: | Thank you fedeliallalinea, I had a zero where it should be an O. | The fragment you posted here had an O, not a 0. Did you retype this rather than copying it from the affected machine? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30909 Location: here
|
Posted: Fri Mar 16, 2018 6:40 am Post subject: |
|
|
Hu wrote: | micaldas wrote: | Thank you fedeliallalinea, I had a zero where it should be an O. | The fragment you posted here had an O, not a 0. Did you retype this rather than copying it from the affected machine? |
Hu is right, next time is best practice to copy and paste make.conf or emerge --info output _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
micaldas n00b
Joined: 12 Mar 2018 Posts: 37
|
Posted: Fri Mar 16, 2018 10:14 am Post subject: |
|
|
I retyped it.
I can't copy or paste for the gentoo vm. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30909 Location: here
|
Posted: Fri Mar 16, 2018 10:34 am Post subject: |
|
|
micaldas wrote: | I retyped it.
I can't copy or paste for the gentoo vm. |
You can use wgetpaste next time (if you have a connection) _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
micaldas n00b
Joined: 12 Mar 2018 Posts: 37
|
Posted: Fri Mar 16, 2018 10:44 am Post subject: |
|
|
Thanks! I will. |
|
Back to top |
|
|
|