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: Richard Crozier
Subject: Re: [Mingw-cross-env-list] Add CLN library
Date: Tue, 22 Oct 2019 11:15:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0



On 21/10/2019 22:10, Tony Theodore wrote:


On 22 Oct 2019, at 02:46, Richard Crozier via Mingw-cross-env-list <address@hidden <mailto:address@hidden>> wrote:


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.

Try using:

$(PKG)_GH_CONF := jrheinlaender/cln/branches/w64

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

Try:

PKG := libcln

Cheers,

Tony



I think the key was changing PKG := libcln, which aloows make libcln to start doing something.

with the attached libcln.mk, I get the attached log output. It has the following error:

This is perl 5, version 26, subversion 1 (v5.26.1) built for x86_64-linux-gnu-thread-multi
(with 67 registered patches, see perl -V for more detail)
rm -rf   '/opt/mxe/tmp-libcln-x86_64-w64-mingw32.static'
mkdir -p '/opt/mxe/tmp-libcln-x86_64-w64-mingw32.static'
mkdir -p '/opt/mxe/tmp-libcln-x86_64-w64-mingw32.static/jrheinlaender-cln-0023432' mkdir -p '/opt/mxe/tmp-libcln-x86_64-w64-mingw32.static/jrheinlaender-cln-0023432.build_'
# disable wine with readonly directory
# see https://github.com/mxe/mxe/issues/841
mkdir -p '/opt/mxe/tmp-libcln-x86_64-w64-mingw32.static/readonly'
chmod 0555 '/opt/mxe/tmp-libcln-x86_64-w64-mingw32.static/readonly'
cd '/opt/mxe/tmp-libcln-x86_64-w64-mingw32.static' && tar xzf '/opt/mxe/pkg/libcln-0023432.tar.gz' tar (child): /opt/mxe/pkg/libcln-0023432.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Makefile:817: recipe for target 'build-only-libcln_x86_64-w64-mingw32.static' failed


so it seems the libcln-0023432.tar.gz is not downloaded. I should explain that my intention with this libcln.mk is to build commit 0023432 on the w64 branch. There is no release of this commit of anything like this.

Just in case it is relevant I should also mention that I have previously manually installed the cln library in mxe, i.e. by configuring like:

./configure --host=x86_64-w64-mingw32.static CXXFLAGS="$CXXFLAGS -std=c++11" --prefix=/opt/mxe/usr/x86_64-w64-mingw32.static

and doing make, make install. Hopefully this hasn't broken anything.

Thanks,

Richard

Attachment: libcln.mk
Description: Text Data

Attachment: libcln_x86_64-w64-mingw32.static
Description: Text document


reply via email to

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