From owner-freebsd-questions@FreeBSD.ORG Fri Aug 17 20:34:43 2007 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94B3216A419 for ; Fri, 17 Aug 2007 20:34:43 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.freebsd.org (Postfix) with ESMTP id 04EC613C45E for ; Fri, 17 Aug 2007 20:34:42 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bsam.ru ([85.172.12.136]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id l7HKJv7q038694 for ; Sat, 18 Aug 2007 00:20:08 +0400 (MSD) Received: (from bsam@localhost) by bsam.ru (8.14.1/8.14.1/Submit) id l7HKKLkj001292; Sat, 18 Aug 2007 00:20:21 +0400 (MSD) (envelope-from bsam@ipt.ru) X-Authentication-Warning: bsam.ru: bsam set sender to bsam@ipt.ru using -f To: "Dave" References: <003001c7e0b9$0b4f0c90$0200a8c0@satellite> <97382633@serv3.int.kfs.ru> <00cb01c7e108$28a1aa60$0200a8c0@satellite> From: Boris Samorodov Date: Sat, 18 Aug 2007 00:20:21 +0400 In-Reply-To: <00cb01c7e108$28a1aa60$0200a8c0@satellite> (Dave's message of "Fri\, 17 Aug 2007 15\:52\:35 -0400") Message-ID: <45538154@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@FreeBSD.org Subject: Re: fusefs-sshfs compilation error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2007 20:34:43 -0000 (restoring original cc: freebsd-questions@ as it may help someone to find an answer with a feedback) On Fri, 17 Aug 2007 15:52:35 -0400 Dave wrote: > Thanks for your suggestion. That did it. Everything installed fine > now. Now i get to do usage. Great, I'm happy to be useful. > Thanks. > Dave. > ----- Original Message ----- > From: "Boris Samorodov" > To: "Dave" > Cc: > Sent: Friday, August 17, 2007 9:35 AM > Subject: Re: fusefs-sshfs compilation error > > On Fri, 17 Aug 2007 06:26:15 -0400 Dave wrote: > > > >> I'm running 6.2 with a ports tree cvsupped and kernel sources from > >> about half an hour ago. > > > > Do you keep base system and kernel in sync? It's always a good idea. > > Did you compile and install the kernel? It's not a good idea use a > > recent kernel sources to build modules but use an old kernel itself. > > > >> I'm trying to install the > >> sysutils/fusefs-sshfs port. During the compilation of the dependency > >> fusefs-kmod i am getting an error that opt_global.h file can not be > >> found and compilation stops. > > > > You didn't show the platform. The output of "uname -a" is OK. > > And it's always a good idea to show the error message. (BTW usually > > two or tree good lines are showed followed by a full error message.) > > Did you try to locate the file? May be at another computer? Here it is > > for me: > > ----- > > srv# locate opt_global.h > > /usr/obj/usr/src/sys/GENERIC/opt_global.h > > ----- > > > >> For the fusefs-kmod port i did select > >> create a global autofile setup. > > > > I just tried to compile fusefs-kmod with a global autofile setup. It > > succeeded at: > > ----- > > # uname -a > > FreeBSD srv.sem.ipt.ru 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Jul 24 > > 19:30:05 MSD 2007 > > bsam@srv.sem.ipt.ru:/usr/obj/usr/src/sys/GENERIC amd64 > > ----- > > > >> Any suggestions welcome. > > > > Since the file opt_global.h is found (at my system) only at /usr/obj > > directory I'd quess you dodn't have kernel sources and kernel binary > > at sinc (i.e. didn't compile the kernel after cvsupping). WBR -- bsam