[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MinGw port of gawkextlib
From: |
Andrew J. Schorr |
Subject: |
Re: MinGw port of gawkextlib |
Date: |
Mon, 16 May 2022 13:34:55 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi,
Thanks for this concise summary.
On Mon, May 16, 2022 at 08:08:42PM +0300, Eli Zaretskii wrote:
> Here's the list of all the issues I discovered in my original build
> attempt:
>
> . it would be nice to have in gawk-mpfr's README (and that of other
> extensions) something to the effect that gawkextlib should be
> built and installed first (or maybe the configure script should be
> more explicit about that when it doesn't find gawkextlib
> installed);
This is already discussed in the top-level project README. You are the
first to complain about this.
https://sourceforge.net/projects/gawkextlib/files/
"Please download gawkextlib plus one or more individual extensions. You should
build and install gawkextlib first."
In any case, it seems that not many people install these packages at all.
The hope is that a new front-end script may make it easier for people
to install and use, in which case the installation instructions will become
even less important.
> . "make install" in gawk-mpfr installs the shared library in the
> wrong place;
For your definition of "wrong". As previously discussed, the hope is that
"gawkext" will do the right thing, so nobody will need to worry about
this issue unless they want to do development.
> . GAWKPROG in test/Makefile didn't pick up the value of --with-gawk=
> command-line arguments to the configure script;
I don't understand this issue; the configure script should set GAWKPROG
as needed. The logic is in gawkext.m4:
AC_SUBST([GAWKPROG],"gawk${EXEEXT}")
AC_ARG_WITH(gawk,
[AS_HELP_STRING([--with-gawk=PATH],[Use gawk in PATH])],
[
if test -d "$withval/lib"; then
LDFLAGS="-L${withval}/lib ${LDFLAGS}"
else
LDFLAGS="-L${withval} ${LDFLAGS}"
fi
if test -d "$withval/include"; then
CPPFLAGS="-I${withval}/include ${CPPFLAGS}"
else
CPPFLAGS="-I${withval} ${CPPFLAGS}"
fi
if test -x "$withval/gawk${EXEEXT}"; then
AC_SUBST([GAWKPROG],"$withval/gawk${EXEEXT}")
elif test -x "$withval/bin/gawk${EXEEXT}"; then
AC_SUBST([GAWKPROG],"$withval/bin/gawk${EXEEXT}")
elif test -x "$withval/usr/bin/gawk${EXEEXT}"; then
AC_SUBST([GAWKPROG],"$withval/usr/bin/gawk${EXEEXT}")
fi
]
)
To test this, I just installed gawk from the master branch under prefix
/extra_disk/tmp/gawk-test. I then installed gawkextlib with this configure
command:
./configure --prefix=/tmp/gelib --with-gawk=/extra_disk/tmp/gawk-test
And then gawk-MPFR with this configure command:
./configure --prefix=/tmp/gelib --with-gawk=/extra_disk/tmp/gawk-test
--with-gawkextlib=/tmp/gelib
Looking in <path to gawk-mpfr>/test/Makefile, I see this:
GAWKPROG = /extra_disk/tmp/gawk-test/bin/gawk
which is exactly as it should be. What's in your config.log file?
On my system:
bash-4.2$ grep GAWKPROG config.log
GAWKPROG='/extra_disk/tmp/gawk-test/bin/gawk'
> . problems with running the test suite due to values of CMP and AWK
> in test/Makefile.
>
> I believe that the last issue is now solved.
Good.
Regards,
Andy
- Re: MinGw port of gawkextlib, (continued)
- Re: MinGw port of gawkextlib, Andrew J. Schorr, 2022/05/12
- Re: MinGw port of gawkextlib, Eli Zaretskii, 2022/05/12
- Re: MinGw port of gawkextlib, Andrew J. Schorr, 2022/05/13
- Re: MinGw port of gawkextlib, Eli Zaretskii, 2022/05/13
- Re: MinGw port of gawkextlib, Andrew J. Schorr, 2022/05/13
- Re: MinGw port of gawkextlib, Eli Zaretskii, 2022/05/14
- Re: MinGw port of gawkextlib, Andrew J. Schorr, 2022/05/16
- Re: MinGw port of gawkextlib, Eli Zaretskii, 2022/05/16
- Re: MinGw port of gawkextlib, Andrew J. Schorr, 2022/05/16
- Re: MinGw port of gawkextlib, Eli Zaretskii, 2022/05/16
- Re: MinGw port of gawkextlib,
Andrew J. Schorr <=
- Re: MinGw port of gawkextlib, Eli Zaretskii, 2022/05/16
- Re: MinGw port of gawkextlib, Andrew J. Schorr, 2022/05/16
- Re: MinGw port of gawkextlib, Manuel Collado, 2022/05/17
- Re: MinGw port of gawkextlib, Eli Zaretskii, 2022/05/17
- Re: MinGw port of gawkextlib, Andrew J. Schorr, 2022/05/17
- Re: MinGw port of gawkextlib, Eli Zaretskii, 2022/05/17
- Re: MinGw port of gawkextlib, Andrew J. Schorr, 2022/05/17
- Re: MinGw port of gawkextlib, Eli Zaretskii, 2022/05/17
- Re: MinGw port of gawkextlib, Manuel Collado, 2022/05/18
- Re: MinGw port of gawkextlib, Eli Zaretskii, 2022/05/18