Doubts about whether I can install locally built packages using setup-x86_64.exe

brian.inglis@systematicsw.ab.ca brian.inglis@systematicsw.ab.ca
Tue Jul 29 19:56:01 GMT 2025


On 2025-07-29 11:27, Soren via Cygwin wrote:
> Hello again good folk,
> 
> This week my general confusion has focussed in on installing the
> giflib build I did using cygport (I finally found, understood and
> followed the instructions for using cygport! Hurray!).

Most packages already have their cygports and patches available under:

	https://cygwin.com/cgit/cygwin-packages/giflib/tree/giflib.cygport

which you can retrieve with a git clone from the repo:

	https://cygwin.com/git/cygwin-packages/giflib

> I then tried to use Setup to install the various packages created in
> /inst/ ( under  giflib-5.2.2-1.x86_64/inst/ )  by selecting "Install
> from Local Directory" and then entering the full pathname ending in
> inst/ for the packages files. I just couldn't get it to work. Setup
> seemed to be unable to find the giflib packages ("packages plural"
> because I wanted not only the runtime binaries but also the devel
> files for compiling further software against giflib).
> 
> Is there any known issue with setup-x86_64.exe release v2.932
> installing local pkgs?
> 
> Thanks, and sorry if this is an uninspiring report ;-)

Cygwin Setup installs from tar files, produced under .../dist/, so try
... -a x86_64 -L -X -l `cygpath -am $PWD/giflib-5.2.2-1.x86_64/dist/` ...
but that may not work as the structure expected is normally:

	.../{x86_64,noarch}/release/PACKAGE.../

so you may have to cp -[rR] .../dist/gitflib under .../x86_64/release/ and 
specify that as your local archive directory.

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


More information about the Cygwin mailing list