Fedora 32 gcc or clang
#1
I installed Fedora 32 KDE Plasma today (Nov 29, 2020) from the Pine website. 
Used dnf to so some 424 updates and rebooted (so system was current).
Then tried to do:  
  dnf install gcc
  dnf install clang
Both failed due to missing kernel headers being filtered out.

I am now doing an upgrade from Fedora 32 to 33 as per
  https://docs.fedoraproject.org/en-US/qui...m-upgrade/
The 3172 actions are taking a while.  Once done, I will see if I can 
install either gcc or clang C compilers.

This system is running on a 64 GB uSD card.
#2
The update to Fedora 33 went fine. After reboots, still can not install either gcc or clang.
Both still fail on missing kernel headers.
#3
I am not using fedora now,  but seem to remember that you need to install the kernel-devel and kernel-headers packages  It seems that now you might only need to install  kernel-devel .  See:  https://docs.fedoraproject.org/en-US/Fed...07s08.html
#4
Doing the command:
dnf install --disableexcludes=all gcc clang
worked and installed the two C compilers (along with their prereqs).

I see that there are "exclude=kernel*" in /etc/yum.repos.d/* (in three files).
Why? Will I cause problems by installing the kernel headers?
#5
Just my guess. Kernel headers should match kernel version but there's no official kernel for pbp on fedora repos.
I think the one who did the pbp img did that to prevent people installing a generic kernel.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Fedora 37 installation gswatkins 16 8,872 03-16-2024, 03:09 PM
Last Post: michel_luc
  Fedora 36 -> 37 upgrade kills system tydeman 0 795 10-28-2023, 09:53 AM
Last Post: tydeman
  Upgrade Fedora from 37 to 38? acruhl 2 1,449 07-12-2023, 09:31 PM
Last Post: acruhl
  Fedora Workstation (36) on Pinebook Pro u974615 13 9,654 09-02-2022, 11:24 AM
Last Post: u974615
  No audio on Pinebook Pro with Fedora? foobar 1 1,805 08-22-2022, 12:12 PM
Last Post: snorwood
  Fedora 33 to 34 upgrade issues tydeman 2 3,008 12-02-2021, 02:43 AM
Last Post: linuxfreund
  setting up fedora from minimal install pine76 0 1,607 11-30-2021, 10:47 AM
Last Post: pine76
Question Can't boot any operating system other than Fedora after following the nullr0ute guide TDC_PBP 1 2,833 10-09-2021, 07:35 PM
Last Post: TangoZuluTango
  Some little things to help Fedora users ccunix 0 1,830 05-22-2021, 06:32 AM
Last Post: ccunix
Information [Development Release] Fedora 32/CentOS 8 Pinebook Pro Images wideawake 12 16,922 12-10-2020, 10:06 AM
Last Post: pieter085

Forum Jump:


Users browsing this thread: 3 Guest(s)