Bill Allombert on Thu, 31 Dec 2020 19:21:52 +0100


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

Re: 'make all' and "Please run Configure first!"


On Thu, Dec 31, 2020 at 12:19:37PM -0500, Jeffrey Walton wrote:
> Hi Everyone,
> 
> I'm building pari-2.13.0 release tarball on Ubuntu 18.05, x86_64,
> fully patched. I can't seem to avoid the message "Please run Configure
> first!" when building the package.
> 
> Here's my recipe:
> https://github.com/noloader/Build-Scripts/blob/master/build-parigp.sh.
> It is just like about 100 other recipes to build other packages.
> 
> After configure I run 'make all':
> 
> make[1]: Entering directory '/home/jwalton/Build-Scripts/pari-2.13.0'
> Making gp in Olinux-x86_64
> Please run Configure first!
> Makefile:34: recipe for target 'gp' failed
> make[1]: *** [gp] Error 1
> make[1]: Leaving directory '/home/jwalton/Build-Scripts/pari-2.13.0'
> Makefile:30: recipe for target 'all' failed
> make: *** [all] Error 2
> Failed to build PARI/GP
> 
> Attached is Ognu-x86_64-pc-linux/config.log.
> 
> What am I receiving the error message "Please run Configure first!"
> even though I have configured already?

You need to do
cd Ognu-x86_64-pc-linux 
before doing
make all
as explained by Configure, which print at the end.

"Ok. Type "cd Ognu-x86_64-pc-linux; make install" when you are ready

To avoid that, I suggest you pass --builddir=Obuild to Configure 
and do
make all -C Obuild

Cheers,
Bill