Date: Wed, 20 Apr 2011 21:15:36 +0300 From: Gritsuk Anton <gnixua@gmail.com> To: Larry Rosenman <ler@lerctr.org> Cc: 'freebsd-ports' <freebsd-ports@freebsd.org> Subject: Re: lsof doesn't install from ports [FreeBSD 8.2-STABLE] Message-ID: <4DAF22C8.9050705@gmail.com> In-Reply-To: <000301cbff83$b821e9a0$2865bce0$@org> References: <4DAF1C96.1070907@gmail.com> <000301cbff83$b821e9a0$2865bce0$@org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 20.04.2011 20:52, Larry Rosenman wrote: > What flavor machine is this? Does the kernel and world match the running > system? > > This is troubling, from a system header: > In file included from ../dlsof.h:412, > from ../lsof.h:195, > from ckkv.c:43: > /usr/src/sys/sys/user.h:92:2: error: #error "Unknown architecture" > > What is in /etc/make.conf? > > What is on line 92 of your /usr/src/sys/sys/user.h? > > Detail info: # uname -a FreeBSD gx.laptop.net 8.2-STABLE FreeBSD 8.2-STABLE #0 r219049: Sat Feb 26 14:29:39 EET 2011 root@gx.laptop.net:/usr/obj/usr/src/sys/GENERIC i386 # grep -A 1 REVISION= /usr/src/sys/conf/newvers.sh REVISION="8.2" BRANCH="STABLE" In past I upgraded my system from 8.0-STABLE to 8.2-STABLE. Kernel was compiled with GENERIC config. # egrep -v ^$ /etc/make.conf | grep -v "^#" MASTER_SITE_OVERRIDE?= \ ftp://ftp6.ua.FreeBSD.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ \ ftp://ftp.univ.kiev.ua/FreeBSD/distfiles/${DIST_SUBDIR}/ \ ftp://ftp6.ru.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ \ ftp://ftp.linux.kiev.ua/pub/Linux/Gentoo/distfiles/${DIST_SUBDIR}/ \ OVERRIDE_LINUX_BASE_PORT=f10 OVERRIDE_LINUX_NONBASE_PORTS=f10 PORTSDIR?= /usr/ports .if ${.CURDIR} == ${PORTSDIR}/net/mtr WITHOUT_X11=yes .endif DEFAULT_MYSQL_VER=51 .if ${.CURDIR} == ${PORTSDIR}/databases/mysql51-client WITH_CHARSET=cp1251 WITH_COLLATION=cp1251_bin BUILD_OPTIMIZED=yes .endif .if ${.CURDIR} == ${PORTSDIR}/databases/mysql51-server WITH_CHARSET=cp1251 WITH_XCHARSET=all WITH_COLLATION=cp1251_bin WITHOUT_OPENSSL=yes WITHOUT_LINUXTHREADS=yes BUILD_OPTIMIZED=yes BUILD_STATIC=yes WITH_INNODB=yes WITHOUT_NDB=yes .endif PERL_VERSION=5.10.1 # vim +92 /usr/src/sys/sys/user.h 90 #ifndef _KERNEL 91 #ifndef KINFO_PROC_SIZE 92 #error "Unknown architecture" 93 #endif 94 #endif /* !_KERNEL */ I noticed that when i use pkg_add installation will be finished successful. Thanks for response. -- best regards, Anton
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DAF22C8.9050705>