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
Question Can't boot any operating system other than Fedora after following the nullr0ute guide TDC_PBP 0 211 08-01-2021, 03:44 PM
Last Post: TDC_PBP
  Some little things to help Fedora users ccunix 0 395 05-22-2021, 06:32 AM
Last Post: ccunix
Information [Development Release] Fedora 32/CentOS 8 Pinebook Pro Images wideawake 12 6,680 12-10-2020, 10:06 AM
Last Post: pieter085
  An unofficial Fedora Installer for Pinebook Pro aptupdate 9 4,573 12-04-2020, 11:54 AM
Last Post: linuxfreund
  [Release] Fedora 32 Workstation, KDE, Xfce, and Cinnamon Images wideawake 20 8,429 11-28-2020, 02:14 PM
Last Post: Tharadash
  Fedora GNOME3 now available Luke 46 34,666 11-20-2020, 07:17 PM
Last Post: DarrowAtreides
  Fedora 33 Workstation Upgrade Upokupo 8 3,040 11-11-2020, 03:39 PM
Last Post: kendew
  Fedora 31 on Pinebook Pro? JCjr 7 4,884 03-25-2020, 08:17 PM
Last Post: rgab
  opensuse and fedora images smithmcgriff 5 3,058 02-04-2020, 02:49 PM
Last Post: wove
  Fedora on Pinebook Pro zeusz 3 2,622 12-19-2019, 06:23 PM
Last Post: zeusz

Forum Jump:


Users browsing this thread: 1 Guest(s)