Bill Allombert on Thu, 19 Jan 2017 12:25:46 +0100


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

Re: gp2c installation: missing file lang.c


On Thu, Jan 19, 2017 at 10:34:03AM +0100, emmanuel.royer@math.univ-bpclermont.fr wrote:
> > Yes, you need flex. (released tarballs already include lang.c)
> > 
> 
> Thanks Bill! The problem is that flex is already installed.
> 
> Here is my log:

What give configure ?

> config.h:80:27: warning: too many arguments for format [-Wformat-extra-args]
> #define PARI_MODULE_BUILD "/home/royer/gp2c/./config/missing "
> ^
> gencode.c:311:16: note: in expansion of macro ‘PARI_MODULE_BUILD’
> fprintf(fout,PARI_MODULE_BUILD,file,file,file,file);
> ^

You are not running configure with the --with-paricfg option

> mv -f .deps/gencode.Tpo .deps/gencode.Po
> gcc -DHAVE_CONFIG_H -I.
> /bin/bash ../config/ylwrap lang.l .c lang.c -- /bin/bash
> /home/royer/gp2c/config/missing flex
> lex.yylang.c is unchanged

It seems configure did not detect flex.

Please send the full ./configure output.

Cheers,
Bill