[leafnode-list] Error starting an installation

Ken Robinson kenrbnsn at gmail.com
Thu Jan 20 20:49:10 CET 2022


My hosting company moved my server to a new virtual machine and now I have
to re-install leafnode (I haven't done this in years)

Following the INSTALL file, I do:

$ sh ./configure

and get:
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) gawk
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in
`/tmp/leafnode-1.11.12':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

Here is the config.log file
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by leafnode configure 1.11.12, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = kishost2.serverpowered.net
uname -m = x86_64
uname -r = 3.10.0-1160.53.1.el7.x86_64
uname -s = Linux
uname -v = #1 SMP Fri Jan 14 13:59:45 UTC 2022

/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/cpanel/3rdparty/lib/path-bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /opt/cpanel/composer/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2570: checking for a BSD-compatible install
configure:2638: result: /bin/install -c
configure:2649: checking whether build environment is sane
configure:2699: result: yes
configure:2840: checking for a thread-safe mkdir -p
configure:2879: result: /bin/mkdir -p
configure:2892: checking for gawk
configure:2908: found /bin/gawk
configure:2919: result: gawk
configure:2930: checking whether make sets $(MAKE)
configure:2952: result: yes
configure:3039: checking for gawk
configure:3066: result: gawk
configure:3089: checking for style of include used by make
configure:3117: result: GNU
configure:3188: checking for gcc
configure:3204: found /bin/gcc
configure:3215: result: gcc
configure:3444: checking for C compiler version
configure:3453: gcc --version >&5
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3464: $? = 0
configure:3453: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-linker-hash-style=gnu
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto
--enable-plugin --enable-initfini-array --disable-libgcj
--with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install
--with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install
--enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
configure:3464: $? = 0
configure:3453: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3464: $? = 4
configure:3453: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3464: $? = 4
configure:3484: checking whether the C compiler works
configure:3506: gcc    conftest.c  >&5
configure:3510: $? = 0
configure:3558: result: yes
configure:3561: checking for C compiler default output file name
configure:3563: result: a.out
configure:3569: checking for suffix of executables
configure:3576: gcc -o conftest    conftest.c  >&5
configure:3580: $? = 0
configure:3602: result:
configure:3624: checking whether we are cross compiling
configure:3632: gcc -o conftest    conftest.c  >&5
configure:3636: $? = 0
configure:3643: ./conftest
./configure: line 3645: ./conftest: Permission denied
configure:3647: $? = 126
configure:3654: error: in `/tmp/leafnode-1.11.12':
configure:3656: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_ARGV0_set=
ac_cv_env_ARGV0_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PCRECONFIG_set=
ac_cv_env_PCRECONFIG_value=
ac_cv_env_TCPD_set=
ac_cv_env_TCPD_value=
ac_cv_env_TCPSERVER_set=
ac_cv_env_TCPSERVER_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /tmp/leafnode-1.11.12/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AR=''
ARGV0=''
AUTOCONF='${SHELL} /tmp/leafnode-1.11.12/missing --run autoconf'
AUTOHEADER='${SHELL} /tmp/leafnode-1.11.12/missing --run autoheader'
AUTOMAKE='${SHELL} /tmp/leafnode-1.11.12/missing --run automake-1.11'
AWK='gawk'
BINDIR=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GCC_FLAGS=''
GREP=''
ID=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LOCKFILE=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /tmp/leafnode-1.11.12/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
NEWS_GROUP=''
NEWS_USER=''
OBJEXT=''
PACKAGE='leafnode'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='leafnode'
PACKAGE_STRING='leafnode 1.11.12'
PACKAGE_TARNAME='leafnode'
PACKAGE_URL=''
PACKAGE_VERSION='1.11.12'
PATH_SEPARATOR=':'
PCRECONFIG=''
PCREDEP=''
PCRELIB=''
RANLIB=''
RPM=''
RPMSRC=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
SPOOLDIR=''
STRIP=''
SYSCONFDIR=''
TCPD=''
TCPSERVER=''
VERSION='1.11.12'
ac_ct_CC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /tmp/leafnode-1.11.12/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
msysconfdir=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "leafnode"
#define PACKAGE_TARNAME "leafnode"
#define PACKAGE_VERSION "1.11.12"
#define PACKAGE_STRING "leafnode 1.11.12"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "leafnode"
#define VERSION "1.11.12"

configure: exit 1

I'm stuck and don't know how to proceed.

Ken


More information about the leafnode-list mailing list