mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Add CLN library


From: Paul Buxton
Subject: Re: [Mingw-cross-env-list] Add CLN library
Date: Tue, 22 Oct 2019 12:31:53 +0100

I am not an expert, so likely someone else can answer better, but I
think it is probably the specification for the github branch that is
incorrect.
As you are tracking a branch you need to specify it like

$(PKG)_GH_CONF  := owner/repo/branches/<branch name>

See the branch tracking example from
https://github.com/mxe/mxe/blob/master/src/vmime.mk

So I think yours should look like
$(PKG)_GH_CONF  := jrheinlaender/cln/branches/win64


On Mon, Oct 21, 2019 at 4:47 PM Richard Crozier via
Mingw-cross-env-list <address@hidden> wrote:
>
> I would like to add the CLN library to MXE
>
> https://www.ginac.de/CLN/
>
> The intention is ultimately to add the Ginac library which depends on it.
>
> https://www.ginac.de/
>
> The CLN library is mirrored in a github repo with patched for a win64
> build here:
>
> https://github.com/jrheinlaender/cln/tree/w64
>
> specifically I want the "w84" branch. My first attempt at a libcln.mk
> file is attached. I don't have a checksum for this, so I put libcln.mk
> in the mxe/src directory and tried to make one using:
>
> make update-checksum-libcln
>
> but this gives the error:
>
> $ make update-checksum-libcln
> mkdir -p '/opt/mxe/pkg' && ( (wget --user-agent='Wget/1.19.4' -t 2
> --timeout=6 -T 30 -t 3 -O '/opt/mxe/pkg/.tmp-' '' && true)   ) && cat
> '/opt/mxe/pkg/.tmp-'   > '/opt/mxe/pkg/' &&  rm '/opt/mxe/pkg/.tmp-' ||
> ( echo; echo 'Download failed!'; echo; rm -f '/opt/mxe/pkg/'
> '/opt/mxe/pkg/.tmp-'; )  && sed -i 's/^\([^ ]*_CHECKSUM *:=\).*/\1
> '"`openssl dgst -sha256 '/opt/mxe/pkg/' 2>/dev/null | sed -n
> 's,^.*\([0-9a-f]\{64\}\)$,\1,p'`"'/' '/opt/mxe/src/libcln.mk'
> http://: Invalid host name.
>
> Download failed!
>
> rm: cannot remove '/opt/mxe/pkg/': Is a directory
> mxe.updates.mk:76: recipe for target 'update-checksum-libcln' failed
> make: *** [update-checksum-libcln] Error 1
>
>
> I then tried  make libcln to see what would happen but I get
>
> $ make libcln
> [disabled]    libcln                 x86_64-w64-mingw32.static
> [disabled]    libcln                 x86_64-w64-mingw32.shared
>
>
> Could I get some tips on creating the package please?
>
> I have tested that the cln library can be build manually using mxe with
> ./configure --host=x86_64-w64-mingw32.static.
>
> Regards,
>
> Richard



reply via email to

[Prev in Thread] Current Thread [Next in Thread]