[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Extension packaging
From: |
Eli Zaretskii |
Subject: |
Re: Extension packaging |
Date: |
Tue, 10 May 2022 16:37:07 +0300 |
> Date: Tue, 10 May 2022 08:45:24 -0400
> From: "Andrew J. Schorr" <aschorr@telemetry-investments.com>
> Cc: pjfarley3@earthlink.net, bug-gawk@gnu.org
>
> With gawkextlib, you say:
>
> wget
> https://sourceforge.net/projects/gawkextlib/files/gawk-mpfr-1.1.0.tar.gz
> tar xf gawk-mpfr-1.1.0.tar.gz
> cd gawk-mpfr-1.1.0
> ./configure && make && make check && make install
With MinGW, I get:
checking for libintl.h... yes
checking for inline... inline
checking gawkextlib.h usability... no
checking gawkextlib.h presence... no
checking for gawkextlib.h... no
configure: error: Cannot find gawkextlib.h. Please use --with-gawkextlib to
supply a location for your gawkextlib build.
And after I overcome that obstacle, I get this from "make":
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-DLOCALEDIR='"d:/usr/share/locale"' -Id:/usr/include -g -O2 -Wall -Wextra
-Wpointer-arith -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wshadow -MT
mpfr.lo -MD -MP -MF .deps/mpfr.Tpo -c -o mpfr.lo mpfr.c
libtool: compile: gcc -DHAVE_CONFIG_H -I.
-DLOCALEDIR=\"d:/usr/share/locale\" -Id:/usr/include -g -O2 -Wall -Wextra
-Wpointer-arith -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wshadow -MT
mpfr.lo -MD -MP -MF .deps/mpfr.Tpo -c mpfr.c -DDLL_EXPORT -DPIC -o .libs/mpfr.o
mv -f .deps/mpfr.Tpo .deps/mpfr.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -Wall -Wextra
-Wpointer-arith -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wshadow
-module -avoid-version -no-undefined -o mpfr.la -rpath d:/usr/lib/gawk mpfr.lo
-lmpfr -lgmp -lgawkextlib -Ld:/usr/lib -lintl -Ld:/usr/lib -liconv -Rd:/usr/lib
libtool: warning: '/d/usr/lib/libgmp.la' seems to be moved
*** Warning: linker path does not have real file for library -lgawkextlib.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libgawkextlib but no candidates were found. (...for file magic test)
*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module mpfr. Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
libtool: link: ar cru .libs/mpfr.a .libs/mpfr.o
libtool: link: ranlib .libs/mpfr.a
libtool: link: ( cd ".libs" && rm -f "mpfr.la" && cp -pR "../mpfr.la"
"mpfr.la" )
make[2]: Leaving directory `/d/gnu/gawkextlib/gawk-mpfr-1.1.0'
make[1]: Leaving directory `/d/gnu/gawkextlib/gawk-mpfr-1.1.0'
That sounds like trouble, right?
Thanks.
- Re: [gawk-devel] MPFR thoughts, (continued)
- Re: [gawk-devel] MPFR thoughts, arnold, 2022/05/07
- Re: [gawk-devel] MPFR thoughts, Eric Pruitt, 2022/05/07
- Re: [gawk-devel] MPFR thoughts, Eric Pruitt, 2022/05/07
- Re: [gawk-devel] MPFR thoughts, Andrew J. Schorr, 2022/05/07
- Re: [gawk-devel] MPFR thoughts, Eric Pruitt, 2022/05/07
- RE: [gawk-devel] MPFR thoughts, pjfarley3, 2022/05/08
- Extension packaging, arnold, 2022/05/08
- RE: Extension packaging, pjfarley3, 2022/05/10
- Re: Extension packaging, Manuel Collado, 2022/05/10
- Re: Extension packaging, Andrew J. Schorr, 2022/05/10
- Re: Extension packaging,
Eli Zaretskii <=
- Re: Extension packaging, Andrew J. Schorr, 2022/05/10
- Re: Extension packaging, Eli Zaretskii, 2022/05/10
- Re: Extension packaging, Andrew J. Schorr, 2022/05/10
- Re: Extension packaging, Eli Zaretskii, 2022/05/10
- Re: Extension packaging, Andrew J. Schorr, 2022/05/10
- Re: Extension packaging, Eli Zaretskii, 2022/05/10
- Re: Extension packaging, Eli Zaretskii, 2022/05/10
- Re: Extension packaging, Andrew J. Schorr, 2022/05/10
- Re: Extension packaging, Andrew J. Schorr, 2022/05/10
- Re: Extension packaging, Eli Zaretskii, 2022/05/11