These instructions currently assume you have a reasonable IPS build environment set up including sunstudio, java and ant and access to, and compiled, onnv sources if you're building a set of consolidations higher than version 136.
You may only need to install a few of the IPS packages listed above. For example, if you've built other consolidations in this same BE, you may only need to install: library/java/java-gnome library/java/javahelp .
To clone the source now, you need:
Note that if you are using the original ld, you will need to correct three mapfiles: lib/libadr/common/mapfile-vers lib/libradproto/common/mapfile-vers cmd/rad/daemon/mapfile-vers . Just remove the STUB_OBJECT and ASSERT keywords, along with their associated punctuation.
For the build in cmd/rad/daemon, you may need to modify cmd/rad/daemon/Makefile to compile the source files with -D_LARGEFILE64_SOURCE . You will also need to modify rad_module.c to add these missing headers:
For the build in cmd/rad/mod/xport_unix, you will need to modify cmd/rad/daemon/rad_modapi.h to add this missing definition:
For the build in cmd/rad/mod/smf, you will need to add the static function scf_instance_is_complete() . If you encounter an undefined symbol error for SCF_PROPERTY_COMPLETE, replace it with SCF_PROPERTY_ENABLED in the file cmd/rad/mod/smf/mod_smf.c . You will likely have many undefined functions in cmd/rad/mod/smf/common.c . Add dummy static functions to replace them.
For the build in cmd/rad/mod/time, you may encounter another undefined symbol SCF_INSTANCE_ENV in cmd/rad/mod/time/mod_time.c . Just modify the functions that use this symbol to return this error code instead:
For the build in cmd/rad/mod/usermgr, you will find a missing header nssec.h as well as many undefined symbols. Just remove usermgr from the module list by editing cmd/rad/mod/Makefile .
To complete the build in doc/manpage, you will need to obtain docbook-xsl-1.75.2.tar.gz from sourceforge, and unpack it in /usr/share/sgml/docbook . Then, modify /etc/xml/catalog to redirect docbook URLs to the newly-created directory.
To complete the build in pkg, you will need to copy libadr.so.1 from proto/usr/lib and install it manually like this: