lsof doesn't install from ports [FreeBSD 8.2-STABLE]

Gritsuk Anton gnixua at gmail.com
Fri Apr 22 06:41:28 UTC 2011


On 20.04.2011 23:36, Sergey V. Dyatko wrote:
> On Wed, 20 Apr 2011 21:15:36 +0300
> Gritsuk Anton<gnixua at 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 at 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



More information about the freebsd-ports mailing list