I wanted to build /usr/lib/inet/inetd from source on a system running opensolaris build 130. Inetd is part of the ON consolidation. I've previously built this under SXCE, but never under opensolaris. I managed to find some documentation that seemed to apply to this situation:
http://hub.opensolaris.org/bin/view/Project+indiana/building_on http://hub.opensolaris.org/bin/view/Community+Group+on/devref_toc However, they generally included instructions for both SXCE and OS, and often didn't make it clear which was meant. I'm not sure I was doing parts of it correctly. Please let me know if there's a better or simpler way. The `nightly' script expects to find the Sun compiler at /opt/SUNWspro/bin/cc and the gcc compiler at /usr/sfw/bin/gcc. I had already installed the Sun compiler, but I had to create a symlink for /opt/SUNWspro. Gcc was not mentioned in the documents. I added the IPS package SUNWgcc for that. I obtained the ON source with: hg clone ssh://[email protected]/hg/onnv/onnv-gate Is this still correct? It created an unwanted `onnv-gate' directory, instead of putting the files in the current directory. How do I prevent that? I also downloaded the closed binaries as: on-closed-bins-latest.i386.tar.bz2 and extracted them. Is this still necessary for opensolaris? Then I copied opensolaris.sh from usr/src/tools/env and adjusted the variables: GATE CODEMGR_WS STAFFER. Is this still correct? Finally, I ran: nightly ./opensolaris.sh & Once I had the two compilers working, it compiled the parts I wanted, but did produce a large number of errors: dmake: Warning: Command failed for target `pics/common/comp/setlocale.o' dmake: Warning: Target `install' not remade because of errors The following command caused the error: dmake: Warning: Target `install' not remade because of errors The following command caused the error: dmake: Warning: Command failed for target `libast' /export/home/mills/Downloads/ws-os/usr/src/lib/libldap5/include/ldap/ldappr.h:192: error: syntax error before "PRFileDesc" /export/home/mills/Downloads/ws-os/usr/src/lib/libldap5/include/ldap/ldappr.h:194: error: syntax error before '}' token /export/home/mills/Downloads/ws-os/usr/src/lib/libldap5/include/ldap/ldappr.h:210: error: syntax error before "PRLDAPSocketInfo" ... I assume that something is incompatible between the ON source and Opensolaris 130, but what could that be? -- This message posted from opensolaris.org _______________________________________________ indiana-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
