Howdy,
I have some source that was originally targeted to SuSE 10.0-10.2 as well as Fedora/RH,
A prerequisite was “libc headers”
I’ve found RPMs for Fedora/RH, but I cannot find anything related to SuSE. Are these development headers to access libc embedded in the development versions of SuSE libraries so aren’t required separately?
>
> Howdy,
> I have some source that was originally targeted to SuSE 10.0-10.2 as
> well as Fedora/RH,
>
> A prerequisite was “libc headers”
>
> I’ve found RPMs for Fedora/RH, but I cannot find anything related to
> SuSE. Are these development headers to access libc embedded in the
> development versions of SuSE libraries so aren’t required separately?
>
> TIA.
>
>
The headers you’re looking for are in the glibc-devel package.
the ‘glibc’ (for example) package install the libraries to USE the libc
functions, while the ‘-devel’ package installs the headers to CREATE
something that uses those functions.
HINT: To save yourself grief in the future, do what the designers of
this system intended: Go into ‘Install Software’, choose PATTERNS,
and click on ‘Base Development’, which will install everything that
you should need. [That’ll minimize the head-scratching
needed the next time you try to compile something.]
>
> Thx!
> Good advice on the use of “Patterns”
>
> Still, I wonder for instance in this case whether the glibc-devel
> package should state it includes headers.
>
>
Well, I suppose it (and all the REST of the -devel packages) should mention
that…
This is an example of what I call “Tribal Knowledge”. If you’re not a member
of the tribe, you likely wouldn’t know it. Hey! Welcome to the tribe!
Essentially, if you have a package ‘foo’, then that package will contain the
libraries to use ‘foo’. ‘foo-devel’ will contain the headers needed to write
and compile programs to USE ‘foo’. Since most users (users!) will never need
to write or compile programs, this saves quite a bit of drive space and
install time.
It makes sense, really… honest!
Just means if you want the spell-checker, you install ‘aspell’… if you want
to write a program that accesses the spell-checker through the libraries…
you install ‘aspell-devel’ too. and so on.