Jeffrey Walton on Thu, 31 Dec 2020 18:19:52 +0100


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

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


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.

Here's the configure recipe:

    PKG_CONFIG_PATH="${INSTX_PKGCONFIG[*]}" \
    CPPFLAGS="${INSTX_CPPFLAGS[*]}" \
    ASFLAGS="${INSTX_ASFLAGS[*]}" \
    CFLAGS="${INSTX_CFLAGS[*]}" \
    CXXFLAGS="${INSTX_CXXFLAGS[*]}" \
    LDFLAGS="${INSTX_LDFLAGS[*]}" \
    LIBS="${INSTX_LIBS[*]}" \
./Configure \
    --host="$AUTOCONF_BUILD" \
    --prefix="$INSTX_PREFIX" \
    --libdir="$INSTX_LIBDIR" \
    --with-readline="$INSTX_PREFIX" \
    --with-gmp="$INSTX_PREFIX" \
    --with-qt

Here are the variables used in the recipe:

   INSTX_PREFIX: /usr/local
   INSTX_LIBDIR: /usr/local/lib
    INSTX_OPATH: '$ORIGIN/../lib'
    INSTX_RPATH: /usr/local/lib

 AUTOCONF_BUILD: x86_64-pc-linux-gnu
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig
       CPPFLAGS: -I/usr/local/include -DNDEBUG
        ASFLAGS: -Wa,--noexecstack
         CFLAGS: -g2 -O2 -march=native -fPIC -pthread
       CXXFLAGS: -g2 -O2 -march=native -fPIC -pthread
        LDFLAGS: -L/usr/local/lib -Wl,-R,'$ORIGIN/../lib'
-Wl,-R,/usr/local/lib -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now
-Wl,-z,noexecstack -Wl,-z,origin
         LDLIBS: -ldl -lpthread

Here's the head of config.log:

$ cat pari-2.13.0/Ognu-x86_64-pc-linux/config.log
This file contains messages produced while configuring
  pari-2.13.0
to aid debugging if Configure makes a mistake. Command line was
  > ./Configure --host=x86_64-pc-linux-gnu --prefix=/usr/local
--libdir=/usr/local/lib --with-readline=/usr/local
--with-gmp=/usr/local --with-qt

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?

Jeff

Attachment: config.log.zip
Description: Zip archive