问题
The Ubuntu equivalent would be libc6-dev
, but I can't seem to find it for Solaris?
How can I get types.h and related files for building packages on Solaris or Illumos?
回答1:
You need the system/header package.
I found this via http://pkg.oracle.com/solaris/release/en/search.shtml?token=types.h&action=Search
回答2:
Assuming you use IPS 'pkg search 'types.h''
The Oracle Solaris 11 Cheat Sheet for Image Packaging System could be useful, too.
来源:https://stackoverflow.com/questions/41841143/trouble-installing-compiled-perl-module-on-omnios-illumos-types-h-is-missing