From owner-freebsd-questions@FreeBSD.ORG Fri Aug 17 15:01:47 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 E276D16A419 for ; Fri, 17 Aug 2007 15:01:47 +0000 (UTC) (envelope-from greenwood.andy@gmail.com) Received: from agreenftp.no-ip.com (75-137-118-150.dhcp.gnvl.sc.charter.com [75.137.118.150]) by mx1.freebsd.org (Postfix) with ESMTP id AFE5813C459 for ; Fri, 17 Aug 2007 15:01:45 +0000 (UTC) (envelope-from greenwood.andy@gmail.com) Received: from localhost (localhost [127.0.0.1]) by agreenftp.no-ip.com (Postfix) with ESMTP id A1A0239848; Fri, 17 Aug 2007 11:01:44 -0400 (EDT) X-Virus-Scanned: amavisd-new at agreenftp.no-ip.com Received: from agreenftp.no-ip.com ([127.0.0.1]) by localhost (zeus.agreenftp.no-ip.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CrmGjPV3qzK1; Fri, 17 Aug 2007 11:01:34 -0400 (EDT) Received: from [10.212.3.94] (216.215.144.201.nw.nuvox.net [216.215.144.201]) (Authenticated sender: andy) by agreenftp.no-ip.com (Postfix) with ESMTPA id 6F3523982A; Fri, 17 Aug 2007 11:01:34 -0400 (EDT) Message-ID: <46C5B84B.4080801@gmail.com> Date: Fri, 17 Aug 2007 11:01:31 -0400 From: Andy Greenwood User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Boris Samorodov References: <003001c7e0b9$0b4f0c90$0200a8c0@satellite> <97382633@serv3.int.kfs.ru> In-Reply-To: <97382633@serv3.int.kfs.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Dave , 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 15:01:48 -0000 Boris Samorodov wrote: > 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). > > HTH, WBR > Just installed fine here. [andy@zeus fusefs-sshfs]$ uname -a FreeBSD zeus.agreenftp.no-ip.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Aug 9 17:11:53 EDT 2007 toor@zeus.agreenftp.no-ip.com:/usr/obj/usr/src/sys/ZEUS i386 [andy@zeus fusefs-sshfs]$ pkg_info | grep fusefs fusefs-kmod-0.3.9.p1 Kernel module for fuse fusefs-libs-2.7.0_1 FUSE allows filesystem implementation in userspace fusefs-sshfs-1.8 Mount remote directories over ssh