fd00 / yacp

Yet Another Cygwin Ports
MIT License
109 stars 58 forks source link

How do I build and use the ports in this repo? #29

Closed dgonyier closed 3 years ago

dgonyier commented 3 years ago

I would like to install fapg (and required uriparser) to my local Cygwin install. I am not sure how to use this repository to do that.

The README files for the various ports in this repo say to use setup.exe to download the XYZ-src.tar.gz files to then build them locally. I don't see either of the packages I am interested in the package list of the default cygwin mirror I use.

Do I have to change setup.exe to use a certain mirror to find these non-standard packages for Cygwin?

Thanks.

fd00 commented 3 years ago

yacp provides recipes only. If you need a package, you will need to build it yourself.

$ git clone https://github.com/fd00/yacp.git
$ cd yacp/uriparser
$ cygport uriparser-X.Y.Z-1bl1.cygport all
$

If the build is successful, the package will be generated under dist.

For more information, please translate this website and check the instructions.

dgonyier commented 3 years ago

I did manage to get fapg.exe to build and run succesfully.

Trying cygport foo.cygport all didn't work so I performed the steps individually (fetch, prep, compile, install).

Also I discovered that uriparser has a build dependency on googletest, which is not mentioned in the README file

fd00 commented 3 years ago

Fixed https://github.com/fd00/yacp/commit/f30a0d454b7a90144e1462363904e69d77563ad3

fd00 commented 3 years ago

If there are no other problems, I would like to close it.

dgonyier commented 3 years ago

You can close. Thanks for your help.