in reply to Error installing Inline::C 0.75

What can I do to fix this?

Thats weird, it should install File::ShareDir::Install before trying Inline::C

You can always  cpan File::ShareDir::Install and then install Inline::C

Other options is upgrade cpan, install the latest cpan, run cpan CPAN , then afterwards cpan Inline::C

Or install App::cpanminus, then use cpanm Inline::C

There is no need Khen1950fx nonsense