Re: Error starting an installation

Matthias Andree via leafnode-list <[email protected]> Thu, 20 Jan 2022 20:55:27 +0100
Newsgroups gmane.network.leafnode
Message-ID <[email protected]>
Am 20.01.22 um 20:49 schrieb Ken Robinson via leafnode-list:
> 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
>
> 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
>
...
> 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':

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

Ken,

this pretty much looks like a /tmp directory mounted with the "noexec"
option, or equivalent security constraints.

Try unpacking and building in a directory where you can actually execute
compiled programs. If permitted, see the output of "mount" and look for
directory hierarchies without "noexec" flag (assuming Linux).

HTH

Regards,
Matthias