Hongyi Zhao on Wed, 18 Jan 2023 01:31:33 +0100


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

Re: The Configure script of pari doesn't support Tab key completion of the supported options.


On Tue, Jan 17, 2023 at 9:31 AM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> On Tue, Jan 17, 2023 at 3:34 AM Bill Allombert
> <Bill.Allombert@math.u-bordeaux.fr> wrote:
> >
> > On Mon, Jan 16, 2023 at 06:53:28PM +0000, Remigiusz Suwalski wrote:
> > > Hi Zhao,
> > > please provide remotes of repositories that you work with. (git remote -v).
> > > Inside http://pari.math.u-bordeaux.fr/git/gp2c.git there are no files names
> > > Configure.
>
> $ git remote -v
> origin    https://pari.math.u-bordeaux.fr/git/pari.git (fetch)
> origin    https://pari.math.u-bordeaux.fr/git/pari.git (push)
> $ git log -1
> commit 0ef87a4a505ec6d3dd41842557ae504f9009f16a (HEAD -> master,
> origin/master, origin/HEAD)
> Author: Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>
> Date:   Mon Jan 16 18:32:43 2023 +0100
>
>     makecycgen: use precomputed value if SNF generator is the same as HNF one
>
> $ git clean -xdf
> $ ls -l Configure
> -rwxrwxr-x 1 werner werner 6200 Jan 14 21:02 Configure
>
> > If you run autoconf, you obtain a file configure.
>
> I made the following attempts, but failed to generate this file:
>
> $ autoconf Configure
> /usr/share/autoconf/autoconf/trailer.m4:4: warning: AC_INIT was never used
> /usr/share/autoconf/autoconf/trailer.m4:4: warning: AC_OUTPUT was never used
>
> $ autoreconf -vfi
> autoreconf: export WARNINGS=
> autoreconf: error: 'configure.ac' is required

In fact, there are no autoconf input files [1] in the source repository:

werner@X10DAi:~/Public/repo/pari.math.u-bordeaux.fr/git/pari.git$ find
. -type f -name 'configure.ac' -or -name 'configure.in' -or -name
'*.m4' |wc -l
0

[1] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Making-configure-Scripts.html

Best,
Zhao

> > > Regards,
> > > Remigiusz
> > >
> > > ------- Original Message -------
> > > On Sunday, January 15th, 2023 at 02:51, Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
> > >
> > >
> > > > Hi here,
> > > >
> > > > I noticed the following strange thing: The Configure script of pari
> > > > doesn't support Tab key completion of the supported options, as shown
> > > > below:
> > > >
> > > > werner@X10DAi:~/Public/repo/pari.math.u-bordeaux.fr/git/pari.git$
> > > > ./Configure --<Tab><Tab>
> > > >
> > > >
> > > > Any tips for this strange behavior?
> >
> > Yes, your shell completion system does not understand Configure.
> > This has nothing to do with PARI/GP.
> >
> > Cheers,
> > Bill.
> >