Results 1 to 5 of 5

Thread: SuSE 11 - Are libc headers hidden somewhere?

  1. #1
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,296
    Blog Entries
    2

    Default SuSE 11 - Are libc headers hidden somewhere?

    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.

  2. #2
    Join Date
    Jun 2008
    Location
    Oklahoma, US
    Posts
    822

    Default Re: SuSE 11 - Are libc headers hidden somewhere?

    tsu2 wrote:

    >
    > 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.

    Loni
    --
    L R Nix
    lornix@lornix.com

  3. #3
    Join Date
    Jun 2008
    Location
    Sarasota
    Posts
    301

    Default Re: SuSE 11 - Are libc headers hidden somewhere?

    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.]

    Hope this helps...

    Dave

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,296
    Blog Entries
    2

    Default Re: SuSE 11 - Are libc headers hidden somewhere?

    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.

  5. #5
    Join Date
    Jun 2008
    Location
    Oklahoma, US
    Posts
    822

    Default Re: SuSE 11 - Are libc headers hidden somewhere?

    tsu2 wrote:

    >
    > 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.

    Loni

    --
    L R Nix
    lornix@lornix.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •