Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (27 sloc) 1.04 KB
On my homebuilt Python on an older version of Opensolaris, one must edit /usr/site/include/python2.5/pyconfig.h:
--- pyconfig.h.orig Tue Jul 8 20:50:29 2008
+++ pyconfig.h Tue Jul 8 20:48:49 2008
@@ -938,10 +938,10 @@
#define _REENTRANT 1
/* Define to the level of X/Open that your system supports */
-#define _XOPEN_SOURCE 600
+#define _XOPEN_SOURCE 500
/* Define to activate Unix95-and-earlier features */
/* Define on FreeBSD to activate all library features */
#define __BSD_VISIBLE 1
Steps to install pyzfs on vanilla b134
pfexec pkg install versioning/subversion cmake gnu-make gcc-43 swig
svn co
export PATH=$PATH:/usr/gcc/4.3/bin
cd pyzfs/trunk
(fix an apparent bug I found: there's no in /usr/lib, only in /lib)
pfexec ln -s /lib/ /usr/lib/
pfexec ln -s /lib/ /usr/lib/
cmake .
(to test things)
pfexec zfs create rpool/tiny
pfexec zfs snapshot rpool/tiny@now
pfexec python