delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/08/28/22:36:00

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8A3F43858C74
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1693276558;
bh=jVy07B3DJwGaU+AUJs8RdGSqRj3OtpArilVPqgbhJLo=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=e7H7F59YS5n8zh4r0rb+h47wpd/LXzQ4duN3/BW+cAQs3G0bQ1gIgCgiIkryGtPWu
RVShJ6iaRA+0BU4uY1a5l9S3FJhktutlhJYyh27Vc6YwG1f0LN5eZkwl6n+rBVT9qW
WPVhy4PZgI6cSfS77yoKoeuhtNDkbmbLTeT6nMPA=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 04B913858D28
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20221208; t=1693276539; x=1693881339;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=/bxmgyP1Da+Pbue4dyCaGPine46kx4gh0mw9PRcdfk0=;
b=XtfBkBQDvlxl+mPBRBbRh8zlzYjg2IjX9Dn442kXSjHjyqi2e42E+sCZam1rAgz5ou
+6HuRaRYryHiN0FUtrVzFmGPoLMfJ2h02jXxTTjmYR20is80mbEGCG2zqsUoSfbVCT02
+gng8o/q8Ca63ij0CetRWjKt61VSXNbQqRftXKhYoai9RgfpJsH90nimBNAvszuAaAYQ
ZnRb5Gw/FAkk2uo+kX/izLFrpSKVj6K2U7gFIqt1kwEzQfY4aTa6xwT1A5Ucawwuv57b
gw606DdFDiyBJoly7er1y6xTb2hyoMQlR0RRb5Ed3FNYshr6ndphiR9bhKDjicwEo24X
dN8w==
X-Gm-Message-State: AOJu0Yzi0dMO0FLyDmLj7NXenBOwnjcWFsVPKwe4QUBmXoVFCiByXTKZ
byiepODUqAThaOM6BPWEvAFnAQtpp2wfdPSiP+SUHc6w5l0=
X-Google-Smtp-Source: AGHT+IFYGtZqqak8cVCnJOYo7Om0GNu/gb9odp+4LC/vdjXjJSvyMigLFtsbn3t7SD17v6KuXwccQN6IRi1EedtOpS8=
X-Received: by 2002:a05:6870:56ab:b0:1c0:937:455d with SMTP id
p43-20020a05687056ab00b001c00937455dmr14617580oao.47.1693276538894; Mon, 28
Aug 2023 19:35:38 -0700 (PDT)
MIME-Version: 1.0
Date: Tue, 29 Aug 2023 11:35:02 +0900
Message-ID: <CAA3frXRAxEYF4tN3vgaMyiqJRYdhi8DX4KCTjhTG9e5s9vu7Ng@mail.gmail.com>
Subject: json-c.pc seems incorrect in libjson-c-devel-0.16-1
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Daisuke Fujimura via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Daisuke Fujimura <booleanlabel AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

The variables appear to be set to the path of the compiled environment.

$ cygcheck -cd libjson-c-devel
Cygwin Package Information
Package              Version
libjson-c-devel      0.16-1

$ cat /usr/lib/pkgconfig/json-c.pc
prefix=/pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr
exec_prefix=/pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr
libdir=/pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr/lib
includedir=/pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr/include

Name: json-c
Description: A JSON implementation in C
Version: 0.16
Requires:
Libs.private:
Libs: -L${libdir} -ljson-c
Cflags: -I${includedir} -I${includedir}/json-c

$ pkg-config --libs json-c
-L/pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr/lib -ljson-c

$ ls /pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr/lib
ls: cannot access
'/pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr/lib': No such file or
directory

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

- Raw text -


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