This procedure describes how to install the ha-cluster/developer/api IPS package and set the compiler and linker options for data service development.
# pkg publisher PUBLISHER TYPE STATUS URI solaris origin online solaris-repository ha-cluster origin online ha-cluster-repository
For information about setting the solaris publisher, see Checking and Setting Repository Properties in Copying and Creating Package Repositories in Oracle Solaris 11.3 .
# pkg install ha-cluster/developer/api
phys-schost% pkg info ha-cluster/developer/api
Installation is successful if output shows that State is Installed.
Specify the –I option to identify the Oracle Solaris Cluster header files, the –L option to specify the compile-time library search path on the development system, and the –R option to specify the library search path to the runtime linker in the cluster.
# Makefile for sample data service ... –I /usr/cluster/include –L /usr/cluster/lib –R /usr/cluster/lib ...