Subject: erlang package, Solaris
To: None <tech-pkg@NetBSD.org>
From: Hal Snyder <firstname.lastname@example.org>
Date: 12/01/2003 19:00:18
I'm trying to build the package for Erlang R9C-0 in
pkgsrc/lang/erlang, CVS of a couple weeks ago, on
i386 Solaris 8,which is
The Ericsson source kit has dependencies on
jdk (version >= 1.2)
openssl (version >= 0.9.7)
tcl (version >= 8.2)
The server in quesion has Sun's jdk (1.3.1_07) in /usr/java.
I have verified that the source kit builds correctly on this platform
outside pkgsrc, but would prefer integration with pkgsrc.
I think there is a bug in pkgsrc/mk/java-vm.mk, because, despite
in /etc/mk.conf, pkgsrc wants to build wonka. But, I could be
wrong. One work-around is to edit /usr/pkgsrc/mk/java-vm.mk thus:
--- java-vm.mk.orig 2003-10-03 11:38:22.000000000 -0500
+++ java-vm.mk 2003-12-01 15:30:01.849334000 -0600
@@ -90,7 +90,7 @@
- NetBSD-*-i386 Linux-*-i[3-6]86 Darwin-*-*
+ NetBSD-*-i386 Linux-*-i[3-6]86 Darwin-*-* SunOS-*-*
NetBSD-1.5Z[A-Z]-i386 NetBSD-1.[6-9]*-i386 Linux-*-i[3-6]86
After this, bmake complains about no jre package, but that seems
harmless (build does not abort).
There are other issues with this package, of course (including the
version of openssl). It may seem crazy to try this hard to fit pkgsrc
+ erlang + Solaris - but the utopian dream is unified package
management on all our Unix platforms using NetBSD pkgsrc. We are there
on many packages already.