delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/10/28/17:54:19

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=irHxXa18mynBACHGTkkeYL4P/Wkk05
WLUHhtV+sEZuXeIVOZtQx16QoptcXnydY/cKDt5dYj8ze/+s1GzQc+SqUBohfigb
R1qFXgWzmbCrIxw9SNCZGOXvo2BkZPsekZ5DfvLN1YpVmSWi/VN5HhL1LWRMiqLo
6Awxz3VwL6oQg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; s=default; bh=utMByj6WcvKDpZDyGmrnI6+LT4k=; b=gOfw
NZBUts6WubDqaTMTpCqed4fOvq09sdMxvG7gUZPeIGdP377cszEVHytrrkIfsDaO
NQ1vnvhEmWxgNHa2Dmpaf3kZVd1sZ2uXHsOhxkqOJwRjJtddfSuaE152GlUkluJQ
3mmMxgiARrmqaP8WU+bY97yS4AR6qbiG4SZUDT8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=4.1 required=5.0 tests=BAYES_50,FORGED_MUA_MOZILLA,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=winfsp, fuse, UD:www.secfs.net, UD:secfs.net
X-HELO: blaine.gmane.org
To: cygwin AT cygwin DOT com
From: =?UTF-8?Q?Ren=c3=a9_Berber?= <rene DOT berber AT gmail DOT com>
Subject: Re: cygwin: how to mount linux FS from cygwin
Date: Sun, 28 Oct 2018 15:53:53 -0600
Lines: 37
Message-ID: <pr5b1f$6m7$1@blaine.gmane.org>
References: <4FEDAE50 DOT 7090509 AT gmail DOT com> <4FFD8C61 DOT 7050605 AT gmail DOT com> <20120711143028 DOT GA14112 AT ednor DOT casa DOT cgf DOT cx> <1540553280760-0 DOT post AT n5 DOT nabble DOT com> <181249ee-f584-5e85-83fb-0c8a9e6a4672 AT gmail DOT com> <1540569794858-0 DOT post AT n5 DOT nabble DOT com> <7e2bad7d-0882-900e-2074-90996eaf38b1 AT gmail DOT com> <1540594543547-0 DOT post AT n5 DOT nabble DOT com> <1540598043835-0 DOT post AT n5 DOT nabble DOT com> <0a215d39-7f53-17ce-5c79-f03bed884cbe AT SystematicSw DOT ab DOT ca> <1540690355151-0 DOT post AT n5 DOT nabble DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
Openpgp: preference=signencrypt
In-Reply-To: <1540690355151-0.post@n5.nabble.com>
X-IsSubscribed: yes

On 10/27/2018 8:32 PM, hauck.adrian451 wrote:

> - Created the file fuse.pc indicated the location the dll:
> 
> user AT cliente~/winfsp-master/opt/cygfuse/fuse
> $ more fuse.pc
> arch=x64
> prefix=${pcfiledir}/..
> incdir=C:\Program Files (x86)\WinFsp
> implib=C:\Program Files (x86)\WinFsp\winfsp-${arch}.dll
> 
> Name: fuse
> Description: WinFsp FUSE compatible API
> Version: 2.8
> URL: http://www.secfs.net/winfsp/
> Libs: "${implib}"
> Cflags: -I"${incdir}"

This is wrong, in several ways.

1st: fuse.pc, and pkg-config, are only used for building purposes (i.e.
compiling, creating the Makefile, usually as part of the configure
script, or in Qt projects, could be part of the qmake step).

2nd: The path used (C:\Program Files (x86)\) is written wrong, in
Windows mode, and its the location of 32-bit installations, which
contradicts the "arch=x64".  For Cygwin's version of pkg-config it is
just wrong (I would suggest to take a look at 'man pkg-config').

I don't know, or use winfsp, but... do they really put headers in there?
 That's what that .pc file says in Cflags.  Same goes for libraries, but
that could be the case, weird, but not entirely invalid.

3rd: The location of fuse.pc is not a standard location.  So unless you
also specify PKG_CONFIG_LIBDIR, its not going to be used.
-- 
R. Berber


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019