mknod: not owner building stunnel on Solaris SPARC 10 zone

Hello,I've been building stunnel 4.52 on Solaris 10 SPARC zone. Configure and make went fine, make install failed in tools with error if uname | grep SunOS; then \ ../auto/install-sh -c -d -m 755 /tmp/stunnel/var/lib/stunnel/dev; \ mknod /tmp/stunnel/var/lib/stunnel/dev/zero c 13 12; \ chmod 666 /tmp/stunnel/var/lib/stunnel/dev/zero; \ fi SunOS mknod: Not owner -- mknod is not allowed in solaris zone, only in global. One of many notices of this error skayser's http://www.mail-archive.com/devel@lists.opencsw.org/msg03031.html asks if mknod is needed on solaris 10. So I tried after configure comment out the mknod section in tools/Makefile. -- install-data-local: ... ... if uname | grep SunOS; then \ ${INSTALL} -d -m 755 $(DESTDIR)$(localstatedir)/lib/stunnel/dev; \ mknod $(DESTDIR)$(localstatedir)/lib/stunnel/dev/zero c 13 12; \ chmod 666 $(DESTDIR)$(localstatedir)/lib/stunnel/dev/zero; \ fi -- Now make install ends OK and stunnel works fine (I use it as client only). Isn't creating ./dev/zero not needed anymore? Thanks Jiri Rohlicek jrohlicek@aplis.cz
participants (1)
-
Jiri ROHLICEK