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

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

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


From: Richard Crozier
Subject: [Mingw-cross-env-list] Add CLN library
Date: Mon, 21 Oct 2019 16:46:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

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

Attachment: libcln.mk
Description: Text Data


reply via email to

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