From owner-freebsd-ports@FreeBSD.ORG Wed Apr 20 18:15:39 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18ABA10656A5 for ; Wed, 20 Apr 2011 18:15:39 +0000 (UTC) (envelope-from gnixua@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9B8518FC14 for ; Wed, 20 Apr 2011 18:15:38 +0000 (UTC) Received: by fxm11 with SMTP id 11so836711fxm.13 for ; Wed, 20 Apr 2011 11:15:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=LCzDb5A0pMTkTrfAPLSQgvs7NkxbnkN/4LUQ+vXeoWI=; b=h+UAOCFdr5TvYMAYxrY4umPM2av0Wm9utAN8oOMXPvsharScY2i+fAqpo6bYWGZGFs fC3LH2DdVcupFOUyCLnfh9Fwx3N9zgMwz6Lmk94l4MCKwo8+mmS5FvBNoLQcmAS+GwK8 E988m0X3eCsrt6o3HALEoWD5xa6xJtxAUtCLc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=XiTMsLqM9ocjhpd01bzkCClcUUlmECwc+75977nOJMlQh5lFcHPeCUO8eeyPC846JU Gw8PtCkurD/BoHgLPsvRCzC2skcyMPX2VBpcIE4ccfpEd3C+09j37FkvgBHd5Hn5R5ts djHvY3Cv3uOCQxhl3st28mBrHj2adYxhAvyuw= Received: by 10.223.134.75 with SMTP id i11mr1890113fat.39.1303323337432; Wed, 20 Apr 2011 11:15:37 -0700 (PDT) Received: from gx.laptop.net (pptp-dm2010060102.domashka.kiev.ua [94.45.36.125]) by mx.google.com with ESMTPS id k5sm362298faa.15.2011.04.20.11.15.35 (version=SSLv3 cipher=OTHER); Wed, 20 Apr 2011 11:15:36 -0700 (PDT) Message-ID: <4DAF22C8.9050705@gmail.com> Date: Wed, 20 Apr 2011 21:15:36 +0300 From: Gritsuk Anton User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.15) Gecko/20110305 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Larry Rosenman References: <4DAF1C96.1070907@gmail.com> <000301cbff83$b821e9a0$2865bce0$@org> In-Reply-To: <000301cbff83$b821e9a0$2865bce0$@org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 'freebsd-ports' Subject: Re: lsof doesn't install from ports [FreeBSD 8.2-STABLE] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gnixua@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2011 18:15:39 -0000 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