antiX / MX LinuxThis forum is for the discussion of antiX and MX Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
configure: error: C compiler cannot create executables
Since, as with your previous threads, you provide *NO INFORMATION OR RELEVANT DETAILS*, there is nothing we can tell you. You tell us nothing about version/distro of Linux, what you're doing to get that error, what you're typing in, etc. We aren't going to continue to guess or pry information out of you. Either provide relevant details or there isn't much point in posting.
If you want a basic description, then put that error into a search engine, because unless you actually tell us anything, that's all the information you can get.
TB0ne is wrong. The message means: the C compiler cannot create executables.
The reason is: no compiler, wrong compiler, damaged compiler, corrupted filesystem, disk full, permission denied, out of memory or something else.
TB0ne is wrong. The message means: the C compiler cannot create executables. The reason is: no compiler, wrong compiler, damaged compiler, corrupted filesystem, disk full, permission denied, out of memory or something else.
Sorry to disagree, with a caveat. Yes, all you said is exactly true...but what, exactly, can we tell the OP without knowing anything about what they're doing, on what system??? We can't guess, and they don't tell us anything past a generic error message.
And while you've provided things it COULD be, we have no idea what it is, past whatever they can find on a search engine for that exact error...which is what you posted.
TB0ne is wrong. The message means: the C compiler cannot create executables.
The reason is: no compiler, wrong compiler, damaged compiler, corrupted filesystem, disk full, permission denied, out of memory or something else.
Yes, you got it.
I`ve posted in antiX/MX Linux forum. That error is clearly a lacks in the OS, which we presume someone would understand...
the gcc is up to date, no clue... anyway...
Thanks for replying.
Yes, you got it.
I`ve posted in antiX/MX Linux forum. That error is clearly a lacks in the OS, which we presume someone would understand... anyway...
Right, except folks post in the wrong forums routinely...and you *STILL* don't tell us the version, or which (antiX or MX?) that you're using, do you?? And you STILL don't actually tell us what you're doing to get this error, where you got the code you're trying to compile, etc.
AGAIN: you need to provide details, pay attention, and ask clear questions. Having us play guessing games over and over isn't good, and not sure how many times we have to tell you this.
configure: error: C compiler cannot create executables
apt-get install g++
Great; and you *STILL* don't actually tell us what you were trying to do, on what version/distro of Linux, or answer any of the questions asked of you. Chances are VERY good that you downloaded a source package of something (again, we have no idea), didn't read the instructions/README that came with it or was on their website, telling you the prerequisites, and instead just posted a generic error message here.
Reposting the same error tells no one anything; your error could have one of MANY causes.
As TBOne stated many times more info is needed on questions when creating posts on LQ,
such as the output of "inxi -Fxz" and a basic description of what are doing.
That said --- on Debian based distros, the development tools are not installed by
default. The meta package to install for compiling is "build-essential" to be able to build
most anything from source. Sorry to respond to a thread marked solved, just wanted other
users of antiX also to know this in order to build downloaded software.
sudo apt install build-essential
Last edited by linuxdaddy; 08-10-2022 at 11:02 PM.
Yes, you got it.
I`ve posted in antiX/MX Linux forum. That error is clearly a lacks in the OS, which we presume someone would understand...
Sorry, no. It is definitely not an issue with the OS.
In general you tried to execute a command called configure. This app is used to check and collect all the tools required to build a software. The error message means this configure could not find a c compiler to make an executable.
Unfortunately we don't know what do you want to build, but (again, in general) you must read the documentation of that software and install the required packages (called dependencies). The error message means [usually] not all the dependencies were installed properly. It is not a problem with the OS, but the environment you prepared.
The command itself (configure) is part of the software you want to build therefore we have no any idea how should it work and what should it do, but usually it has a --help or similar flag to explain its usage. Also it creates log files where you can find more info about the executed steps (actually how did it try to find a compiler and why did it fail).
So again, without knowing anything about your goals we can only say: read the documentation of that software and follow that guide line by line. Installing a package (like g++) on the fly is pointless. http://www.catb.org/~esr/faqs/smart-...html#beprecise
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.