Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
I'm new to linux having just installed slackware on this computer, I have everything working that I realise anyway, besides for one thing.
I am trying to install a file and every time I type in make I get the error.
-bash: make: command not found
now I think I'm just missing a simple file, could anyone help?
It's attually a game, but I found it odd that the command make doesn't seem to work at all. If I am trying to install this or something else, or even nothing. Here is the prompt if it helps.
root@linux:~/Desktop/BFM/bfm-0.06.1# ls
COPYING README.fi Rules.make.in configure* doc/ src/
Makefile RELASE-NOTES config.log configure.in doc-bfm/ tools/
README Rules.make config.status* data/ etlib/
root@linux:~/Desktop/BFM/bfm-0.06.1# make
-bash: make: command not found
root@linux:~/Desktop/BFM/bfm-0.06.1#
Heres what it gives me
root@linux:~/Desktop/BFM/bfm-0.06.1# ./configure
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
root@linux:~/Desktop/BFM/bfm-0.06.1# make
-bash: make: command not found
root@linux:~/Desktop/BFM/bfm-0.06.1# su
root@linux:~/Desktop/BFM/bfm-0.06.1# make install
bash: make: command not found
root@linux:~/Desktop/BFM/bfm-0.06.1#
I know I have gcc though, and I believe it's 10.1 I have.
Trying to ./configure another program I downloaded (a compiler because I didn't think I had one) it does this
root@linux:~/Desktop/Compiler/tcc-0.9.22# ./configure
big/little test failed
Binary directory /usr/local/bin
Library directory /usr/local/lib
Include directory /usr/local/include
Manual directory /usr/local/man
Doc directory /usr/local/share/doc/tcc
Source path /root/Desktop/Compiler/tcc-0.9.22
C compiler gcc
make make
CPU x86
Big Endian no
gprof enabled no
Creating config.mak and config.h
root@linux:~/Desktop/Compiler/tcc-0.9.22#
but make still doesn't work which is what I don't understand
Well one thing that won't help matters is it looks like you are creating some unnessesary directorys <
root@linux:~/Desktop/Compiler/tcc-0.9.22#> Just download stuff to your home dir then untar it then READ the readme/install file that came with it then if it says to do the
./configure
make
su <password>
make install
now lets see about that gcc as root
gcc -v
jason@linux:~/bfm-0.06.1$ ./configure
mchecking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
jason@linux:~/bfm-0.06.1$ mmake
-bash: mmake: command not found
jason@linux:~/bfm-0.06.1$ make
-bash: make: command not found
jason@linux:~/bfm-0.06.1$ ./configure
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
jason@linux:~/bfm-0.06.1$ make
-bash: make: command not found
jason@linux:~/bfm-0.06.1$ gcc -v
-bash: gcc: command not found
jason@linux:~/bfm-0.06.1$ cd ../tcc-0.9.22/
jason@linux:~/tcc-0.9.22$ ./configure
big/little test failed
Binary directory /usr/local/bin
Library directory /usr/local/lib
Include directory /usr/local/include
Manual directory /usr/local/man
Doc directory /usr/local/share/doc/tcc
Source path /home/jason/tcc-0.9.22
C compiler gcc
make make
CPU x86
Big Endian no
gprof enabled no
Creating config.mak and config.h
jason@linux:~/tcc-0.9.22$ make
-bash: make: command not found
jason@linux:~/tcc-0.9.22$ gcc-v
-bash: gcc-v: command not found
jason@linux:~/tcc-0.9.22$ su
Password:
root@linux:/home/jason/tcc-0.9.22# make install
bash: make: command not found
root@linux:/home/jason/tcc-0.9.22# gcc -v
bash: gcc: command not found
root@linux:/home/jason/tcc-0.9.22#
the part that the make command not found bothers me a bit, I've used it before, and I don't know how to install things without it. Also the gcc -v bothers me a bit because some can find it but oth ers can't
Look at the PATH environment variable for whomever you're trying to run the commands as.
echo $PATH
gcc & make are installed in /usr/bin with the default Slackware packages. So make sure /usr/bin is in the user's PATH. If it's not, then modify the PATH.
Empty? You sure you ran "echo $PATH" and not "echo PATH"? Anyway, doesn't look like gcc and freinds are installed. At least not via the default Slackware packages. Have a look in "/var/log/packages". The Slackware package system records everything it installs there. For gcc to work, you'll need at the very minimum binutils & gcc. But I'd install at least these:
But I don't have make, and don't know how to install without make.
Yea, and I messed up the echo $PATH, it has /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/opt/kde/bin:/usr/lib/qt-3.2.1/bin:
Arg, this is getting difficult, I need to install make, but can't do that without gcc, I try to install gcc, but can't do that without bison. Then I try to install bison, and I need, gcc, and make... Anyone have an idea
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.