tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkgin again...


I still can't build pkgin out of unchanged pkgsrc on Solaris 10. 
(tools.c:68 bla pointer bla int bla)

I have the impression that the nbcompat configure tests for strsep,
but the pkgin build does not? But it's mentioned in configure* ...
(I don't speak GNU autoconf, I'm afraid).

However, I've tracked it down to this workaround:


--- tools.h.orig        2010-01-23 16:10:54.000000000 +0000
+++ tools.h
@@ -70,7 +70,7 @@
 #include <sys/utsname.h>
-#if WANT_NBCOMPAT_H /* needed for strsep on SunOS < 5.11 */
+#if HAVE_NBCOMPAT_H /* needed for strsep on SunOS < 5.11 */
 #include <nbcompat.h>
 #include <nbcompat/string.h>

Don't know whether this is right or not, and I didn't test on non-
Solaris yet, but it makes pkgin build.

ignatios@einstein 25 % pkgin -v
pkgin 0.3.3 for SunOS-5.10 sparc
ignatios@einstein 26 % pkg_info pkgin | head
Information for pkgin-

Apt / yum like tool for managing pkgsrc binary packages



Home | Main Index | Thread Index | Old Index