LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   devel packeges install. but all my source headers are missing !!! (https://www.linuxquestions.org/questions/linux-software-2/devel-packeges-install-but-all-my-source-headers-are-missing-183508/)

qwijibow 05-19-2004 08:28 PM

devel packeges install. but all my source headers are missing !!!
 
here are the first few error messages reported by gcc.

Quote:

scripts/basic/fixdep.c:97:23: sys/types.h: No such file or directory
scripts/basic/fixdep.c:98:22: sys/stat.h: No such file or directory
scripts/basic/fixdep.c:99:22: sys/mman.h: No such file or directory
scripts/basic/fixdep.c:100:20: unistd.h: No such file or directory
scripts/basic/fixdep.c:101:19: fcntl.h: No such file or directory
scripts/basic/fixdep.c:102:20: string.h: No such file or directory
scripts/basic/fixdep.c:103:20: stdlib.h: No such file or directory
scripts/basic/fixdep.c:104:19: stdio.h: No such file or directory
i have done a "find / | grep string.h"
and no file is found.

i have a compiler installed. along with development tools.
but all my headers are missing !!!! what went wrong ?

what do i have to do to get them back ?

even stdlib.h and string.h are missing..... !!!

qwijibow 05-19-2004 08:59 PM

fixed !

and i think ive discovered a major fedora core 2 final bug.

i found that the missing headers belong to glibc-devel.
rpm -q shoqed that the glibc-devel package was installed.

so to re-install it i did a "rpm -e glibc-devel --nodeps"
then, "rpm -ivh glibc-devel"

that should have fixed the dependency's i frobe by forcing the remove.
instead, it failed on anouther package dependency glibc-headers.

and on attempting to install glibc-headers, i found anouther dependency.
kernel-headers.

the kernel source was installed, so this couldnt be it.
and no kernel-headers package exists on the fedora install disks.
which i believe is what begun this chain of faileddependency's.

a download of theis 4 meg package seems to fix everythng.

am i missing somthing ? or should i submit a bug report ???

qwijibow 05-19-2004 09:05 PM

oops, wrong again....

it seems the file glibc-kernheaders solves the kernel-headers dependency, which IS present on the fedora disks.

but still, the system-config-packeges made a seriouse cockup.

haimeltjnfg 05-26-2004 12:21 AM

happens in debian sarge too. installing libc6-dev did the trick though.


All times are GMT -5. The time now is 05:32 PM.