• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved C++ compiler cannot create executables

Shadowman321

Member
Joined
Mar 27, 2010
Messages
205
Reaction score
22
E: Unable to locate package libluajit-5.1-dev
E: Couldn't find any package by regex 'libluajit-5.1-dev'
How to get libluajit-5.1-dev if its needed?

Anyway. I tried to compile.
PHP:
root@nexot:/source# ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:112: error: possibly undefined macro: AC_CHECK_HEADERS
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:136: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:141: error: possibly undefined macro: AC_CHECK_LIB
autoreconf: /usr/bin/autoconf failed with exit status: 1
And... i have no idea what to do with this.
 
PHP:
root@nexot:/source# ./configure --enable-mysql
checking for a BSD-compatible install... /usr/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 g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether the C++ compiler works... no
configure: error: in `/source':
configure: error: C++ compiler cannot create executables
See `config.log' for more details

How the hell can i solve this? And where is config.log?
 
Last edited:
J.Dre Obligatory: What version of TFS are you using?

You will find /source/config.log exists I do believe.

More important questions: What Linux are you using?

Nevermind, I see that from the other thread you have a broken installation of your compiler. You need to fix that first.
 
All three threads you've made are inter-related problems. Please stop that. Lets keep it to one thread, k? I've merged two of them since they were sparse, I'll leave the other, as it's related but these two are tool chain, and that one is packaging.

Let's start with the basics, what is the output of
sudo apt-get install gcc
 
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package build-essential is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'build-essential' has no installation candidate
...
 
Well I hope your satisfied with the help I provided over Teamviewer.

- - - Updated - - -

I have resolved all of the OPs outstanding issues, got their server up, and even got them started using OTClient via Teamviewer. Solved.
 
Back
Top