Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2011 09:41:26 +0300
From:      Gritsuk Anton <gnixua@gmail.com>
To:        "Sergey V. Dyatko" <sergey.dyatko@gmail.com>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: lsof doesn't install from ports [FreeBSD 8.2-STABLE]
Message-ID:  <4DB12316.30501@gmail.com>
In-Reply-To: <20110420233628.664b8341@gmail.com>
References:  <4DAF1C96.1070907@gmail.com>	<000301cbff83$b821e9a0$2865bce0$@org>	<4DAF22C8.9050705@gmail.com> <20110420233628.664b8341@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 20.04.2011 23:36, Sergey V. Dyatko wrote:
> On Wed, 20 Apr 2011 21:15:36 +0300
> Gritsuk Anton<gnixua@gmail.com>  wrote:
>
>> 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.
>>
> `svn info` shows the same revision (219049)?
>
>

show same revision.

# svn info
Path: .
URL: http://svn.freebsd.org/base/stable/8
Repository Root: http://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 219049
Node Kind: directory
Schedule: normal
Last Changed Author: brucec
Last Changed Rev: 219049
Last Changed Date: 2011-02-26 12:29:53 +0200 (??, 26 ??? 2011)


Instead ports I used pkg_add. It solved my problem.


-- 
best regards,
Anton




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DB12316.30501>