dslm4515 / CMLFS

Clang-Built Musl Linux From Scratch
MIT License
99 stars 18 forks source link

utmps utmpx.h already includes utmps/utmpx.h #101

Closed firasuke closed 2 months ago

firasuke commented 4 months ago

This symlink is not needed as utmps's utmpx.h already includes utmps/utmpx.h. https://github.com/dslm4515/CMLFS/blob/171f4ef4511578139416fdef1348b8dd3b1e4809/4-Final_System/013-utmps#L30

dslm4515 commented 2 months ago

I can't remember what package it was, but it was looking for /usr/include/utmpx.h.

When I install utmps, this is what is installed:

└── usr
    ├── bin
    │   ├── utmps-utmpd
    │   ├── utmps-write
    │   └── utmps-wtmpd
    ├── include
    │   └── utmps
    │       ├── config.h
    │       ├── utmps.h
    │       └── utmpx.h
    └── lib
        ├── libutmps.a
        ├── libutmps.so -> libutmps.so.0.1
        ├── libutmps.so.0.1 -> libutmps.so.0.1.2.2
        └── libutmps.so.0.1.2.2

For now, I'll omit the link and see what package requires it

firasuke commented 2 months ago

When I install utmps, this is what is installed:

I think you need to pass --enable-libc-includes to utmps configure in order to get usr/include/utmpx.h.

dslm4515 commented 2 months ago

Thanks!

utmps build updated with commit fd8dffc891143757c941a9b5e0ef4b60068eef95

firasuke commented 2 months ago

You are welcome!