You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the instructions at http://pkgin.net/. The Git fetch is OK, and the Configure is OK. Make is causing trouble:
$ make
Warning: Object directory not changed from original /root/pkgin
gcc -O -pipe -std=gnu99 -c main.c
In file included from pkgin.h:45:0,
from main.c:33:
/usr/include/fetch.h:44:14: error: 'MAXHOSTNAMELEN' undeclared here (not in a function)
char host[MAXHOSTNAMELEN+1];
^
/usr/include/fetch.h:59:14: error: 'PATH_MAX' undeclared here (not in a function)
char name[PATH_MAX];
^
In file included from pkgin.h:48:0,
from main.c:33:
pkgindb.h:37:28: fatal error: pkgindb_create.h: No such file or directory
compilation terminated.
$ uname -a
DragonFly dragonfly 4.6-RELEASE DragonFly v4.6.1-RELEASE #3: Sun Oct 16 21:13:25 EDT 2016 root@www.shiningsilence.com:/usr/obj/home/justin/release/4_6/sys/X86_64_GENERIC x86_64
$ uname -m
x86_64
$ uname -s
DragonFly
The text was updated successfully, but these errors were encountered:
FWIW, pkgin 20.8.0 builds fine for me on DragonFly 5.6.2, when built via pkgsrc (pkgtools/pkgin), which pulls in its own version of libfetch. (I realize your point was there's a separate issue natively on DragonFly, which seems to still be there, from a glance at /usr/include/fetch.h.)
Thanks. Yeh, the eventual goal would probably be to support the FreeBSD-based libfetch too, as part of making pkgin more portable outside of a pkgsrc environment (something I've initiated with the recent move to full autotools), but that's quite a long way down the priority list and is unlikely to be fixed any time soon.
Following the instructions at http://pkgin.net/. The Git fetch is OK, and the Configure is OK. Make is causing trouble:
The text was updated successfully, but these errors were encountered: