1

I'm using Solus Linux with G++ and whenever I build the default console project in CodeLite I get the following output

/bin/sh -c '/usr/bin/make -j4 -e -f Makefile'
/bin/sh: /usr/bin/make: No such file or directory
====0 errors, 0 warnings====

I checked and make does not exist in /usr/bin in-fact, the most promising thing I found in this directory was a file called codelite-make

Here are the options I selected at project creation

Category: Console Type: Simple executable (g++) Compiler: GCC Debugger: GNU gdb debugger Build System: CodeLite Make Generator

Any help is greatly appreciated

SuperSim135
  • 135
  • 1
  • 10
  • @drescherjm I did check and make is not in the directory "/usr/bin/" my question is why hasn't codelite created this file? – SuperSim135 Mar 14 '20 at 21:13
  • 1
    `/usr/bin/make` is soemthing you install via your package manager for your OS. codelite should not provide it. – drescherjm Mar 14 '20 at 21:15
  • @drescherjm **sudo eopkg install make** seems to have fixed the issue, now I'm getting an error stating that stdio.h can't be found, but I know how to solve this. Can you add your amazingly simple comment as an answer, so that I can mark the question as answered? – SuperSim135 Mar 14 '20 at 21:19
  • You seem to be missing `glibc` for the new problem. – drescherjm Mar 14 '20 at 21:29
  • @drescherjm The solution to the second problem is similar to the first. I just had to run **sudo eopkg it -c system.devel** which is similar to installing **build-essientials** on ubuntu and everything was found. – SuperSim135 Mar 14 '20 at 21:31
  • 1
    You may need gdb and / or gcc also. – drescherjm Mar 14 '20 at 21:32

1 Answers1

2

You need to use your package manager for your linux OS to install make and now glibc and possibly other parts of your toolchain. CodeLite does not provide these.

drescherjm
  • 10,365
  • 5
  • 44
  • 64
  • I don't know if mentioning the equivalence of ubuntu's build-essentials is a good edit (even though ubuntu has become the most popular linux distro). I have never used ubuntu for software development however I can guess what it means. You assume everyone has ubuntu development experience first. – drescherjm Mar 14 '20 at 21:44